projects
/
c4m-jtag.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cocotb/c4m_jtag: support trst_n to be None.
[c4m-jtag.git]
/
sim
/
cocotb
/
c4m_jtag.py
diff --git
a/sim/cocotb/c4m_jtag.py
b/sim/cocotb/c4m_jtag.py
index fe014f381182feacf050b22dbd55cb6785ce305d..1dd13b1ee0d1a0c3e47859421735bc27db5dd0a5 100644
(file)
--- a/
sim/cocotb/c4m_jtag.py
+++ b/
sim/cocotb/c4m_jtag.py
@@
-44,7
+44,8
@@
class JTAG_Master(object):
tdi <= 0
self.tdo = tdo
self.trst_n = trst_n
- trst_n <= 1
+ if trst_n is not None:
+ trst_n <= 1
self.period = Timer(clk_period)
# Standard commands