From 0e2de29a50410138e3d8cedc01ff08fe82df9963 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 1 Apr 2021 17:01:21 +0100 Subject: [PATCH] match ir_width with experiment10 and do not overwrite IDCODE --- ls180/cocotb/test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)) -- 2.30.2