From: Luke Kenneth Casson Leighton Date: Fri, 16 Apr 2021 19:49:29 +0000 (+0100) Subject: jtag utils, send tms before tck X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0eb75ea62a5f20e1824f9a25daefda9ff0340e53;p=soc.git jtag utils, send tms before tck --- diff --git a/src/soc/debug/jtagutils.py b/src/soc/debug/jtagutils.py index 7f77558f..a642bd1f 100644 --- a/src/soc/debug/jtagutils.py +++ b/src/soc/debug/jtagutils.py @@ -22,9 +22,10 @@ def client_sync(dut): def tms_state_set(dut, bits): for bit in bits: - yield dut.cbus.tck.eq(1) yield dut.cbus.tms.eq(bit) yield from client_sync(dut) + yield dut.cbus.tck.eq(1) + yield from client_sync(dut) yield yield dut.cbus.tck.eq(0) yield from client_sync(dut)