From: Staf Verhaegen Date: Thu, 1 Apr 2021 14:26:28 +0000 (+0200) Subject: Use correct ir_width for libresoc JTAG TAP. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34bbc94c8dee148e71ba01824f08c08e3eec5159;p=libresoc-litex.git Use correct ir_width for libresoc JTAG TAP. No need to define IDCODE anymore as default will now be OK. --- diff --git a/cocotb/test.py b/cocotb/test.py index 1ad8f1d..c73790b 100644 --- a/cocotb/test.py +++ b/cocotb/test.py @@ -30,7 +30,8 @@ def setup_jtag(dut, *, tck_period): yield Timer(0) return JTAG_Master(dut.jtag_tck, dut.jtag_tms, dut.jtag_tdi, dut.jtag_tdo, - clk_period=tck_period) + clk_period=tck_period, + ir_width=4) def execute_svf(dut, *, jtag, svf_filename): jtag_svf = SVF_Executor(jtag) @@ -43,7 +44,6 @@ def execute_svf(dut, *, jtag, svf_filename): # def idcode(dut, *, jtag): - jtag.IDCODE = [0, 0, 0, 1] yield jtag.idcode() result1 = jtag.result dut._log.info("IDCODE1: {}".format(result1))