From: Luke Kenneth Casson Leighton Date: Tue, 22 Sep 2020 11:07:35 +0000 (+0100) Subject: split out dmi2jtag into own unit test X-Git-Tag: 24jan2021_ls180~358 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b976f605ec03364f756b73a72d0e443dd05d735a;p=soc.git split out dmi2jtag into own unit test --- diff --git a/src/soc/debug/dmi2jtag.py b/src/soc/debug/dmi2jtag.py index 24aa9d79..d178c14a 100644 --- a/src/soc/debug/dmi2jtag.py +++ b/src/soc/debug/dmi2jtag.py @@ -134,180 +134,6 @@ class DMITAP(TAP): ] -def tms_state_set(dut, bits): - for bit in bits: - yield dut.bus.tck.eq(1) - yield dut.bus.tms.eq(bit) - yield - yield dut.bus.tck.eq(0) - yield - yield dut.bus.tms.eq(0) - - -def tms_data_getset(dut, tms, d_len, d_in=0): - res = 0 - yield dut.bus.tms.eq(tms) - for i in range(d_len): - tdi = 1 if (d_in & (1<