projects
/
soc-cocotb-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0dab69
)
match ir_width with experiment10 and do not overwrite IDCODE
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 1 Apr 2021 16:01:21 +0000
(17:01 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 1 Apr 2021 16:01:21 +0000
(17:01 +0100)
ls180/cocotb/test.py
patch
|
blob
|
history
diff --git
a/ls180/cocotb/test.py
b/ls180/cocotb/test.py
index c01bad9e29aed74e7c8243e81e8aa520c51e2ff7..363e54fd9ed5f022853e7d97e7d5e9ec72f522b3 100644
(file)
--- a/
ls180/cocotb/test.py
+++ b/
ls180/cocotb/test.py
@@
-30,7
+30,8
@@
def setup_jtag(dut, *, tck_period):
yield Timer(0)
return JTAG_Master(dut.tck_from_pad, dut.tms_from_pad,
dut.tdi_from_pad, dut.tdo_to_pad,
- clk_period=tck_period)
+ clk_period=tck_period,
+ ir_width=3)
def execute_svf(dut, *, jtag, svf_filename):
jtag_svf = SVF_Executor(jtag)
@@
-43,7
+44,7
@@
def execute_svf(dut, *, jtag, svf_filename):
#
def idcode(dut, *, jtag):
- jtag.IDCODE = [0, 0, 0, 1]
+
#
jtag.IDCODE = [0, 0, 0, 1]
yield jtag.idcode()
result1 = jtag.result
dut._log.info("IDCODE1: {}".format(result1))