[Libre-soc-bugs] [Bug 511] Add a test of IO pins to debug/test/test_jtag_tap.py

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Oct 6 20:42:42 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=511

Luke Kenneth Casson Leighton <lkcl at lkcl.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lkcl at lkcl.net

--- Comment #1 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
needs to be a stand-alone test similar to debug/test/test_jtag_tap.py
except not like this:

    iotypes = (IOType.In, IOType.Out, IOType.TriOut, IOType.InTriOut)
    ios = [dut.add_io(iotype=iotype) for iotype in iotypes]

using class JTAG as the starting point with a pinset = dummy_pinset()
(see debug/jtag.py) the test needs to use jtag_read_write_reg() to
set the shift IR to 0 (SAMPLEPRELOAD) or 2 (EXTEST) as appropriate
and also set up the appropriate JTAG.io[0..3] records before doing
so.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list