From: Luke Kenneth Casson Leighton Date: Thu, 1 Apr 2021 16:01:21 +0000 (+0100) Subject: match ir_width with experiment10 and do not overwrite IDCODE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e2de29a50410138e3d8cedc01ff08fe82df9963;p=soc-cocotb-sim.git match ir_width with experiment10 and do not overwrite IDCODE --- diff --git a/ls180/cocotb/test.py b/ls180/cocotb/test.py index c01bad9..363e54f 100644 --- 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))