tdi = 1 if (d_in & (1<<i)) else 0
yield dut.cbus.tck.eq(1)
yield from client_sync(dut)
- res |= (1<<i) if (yield dut.bus.tdo) else 0
+ res |= (1<<i) if (yield dut.cbus.tdo) else 0
yield
yield from client_sync(dut)
yield dut.cbus.tdi.eq(tdi)
yield dut.bus.tms.eq(tms)
yield dut.bus.tdi.eq(tdi)
yield
-
+ print ("jtag srv stopping")
def get_data(s, length=1024, timeout=None):