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:
4941742
)
BinaryValue API change.
author
Staf Verhaegen
<staf@stafverhaegen.be>
Wed, 25 Dec 2019 14:21:35 +0000
(15:21 +0100)
committer
Staf Verhaegen
<staf@stafverhaegen.be>
Mon, 6 Jan 2020 17:06:14 +0000
(18:06 +0100)
c4m/cocotb/jtag/c4m_jtag.py
patch
|
blob
|
history
diff --git
a/c4m/cocotb/jtag/c4m_jtag.py
b/c4m/cocotb/jtag/c4m_jtag.py
index 7fc5ca77fd2491b8b329c1cb8b46ac9892ceb1ac..c4bb5af7ea7ccce9c3a437e66b6222453aa5e24f 100644
(file)
--- a/
c4m/cocotb/jtag/c4m_jtag.py
+++ b/
c4m/cocotb/jtag/c4m_jtag.py
@@
-122,7
+122,7
@@
class JTAG_Master(object):
cmd_copy = [int(c) for c in cmd.binstr]
else:
cmd_copy = list(cmd)
- result = BinaryValue(bits=len(cmd_copy))
+ result = BinaryValue(
n_
bits=len(cmd_copy))
l_result = list()
yield self.change_to_run()
@@
-149,7
+149,7
@@
class JTAG_Master(object):
result will contain the 32 bit IDCODE of the device
"""
- result = BinaryValue(bits=32)
+ result = BinaryValue(
n_
bits=32)
l_result = list()
# Keep tdi 0 for the whole run