Skip to content

Commit d24c651

Browse files
committed
[ot] python/qemu/jtag: bitbang.py: reset default TDI value to 0
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
1 parent 45c9d72 commit d24c651

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/qemu/jtag/bitbang.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ def write_tms(self, modesel: BitSequence) -> None:
9898
if self._last is not None:
9999
self._tdi = self._last
100100
self._last = None
101+
else:
102+
self._tdi = False
101103
if self._link_log:
102104
self._log.debug('write TMS [%d] %s', len(modesel), modesel)
103105
tck = self._tck

0 commit comments

Comments
 (0)