projects
/
c4m-jtag.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0c115f
)
cocotb/c4m_jtag: support trst_n to be None.
author
Staf Verhaegen
<staf@stafverhaegen.be>
Thu, 3 Oct 2019 14:47:47 +0000
(16:47 +0200)
committer
Staf Verhaegen
<staf@stafverhaegen.be>
Thu, 3 Oct 2019 15:10:12 +0000
(17:10 +0200)
sim/cocotb/c4m_jtag.py
patch
|
blob
|
history
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