From 8026e22d89673d81d463d9faea54a76f76522c47 Mon Sep 17 00:00:00 2001 From: Andrey Miroshnikov Date: Mon, 13 Dec 2021 22:04:04 +0000 Subject: [PATCH] Fixed mistake of double jtag writing --- src/spec/testing_stage1.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/spec/testing_stage1.py b/src/spec/testing_stage1.py index ed1e012..c05ed5e 100644 --- a/src/spec/testing_stage1.py +++ b/src/spec/testing_stage1.py @@ -684,7 +684,6 @@ def test_jtag_bs_chain(dut): print("All pad inputs/core outputs reset, bs data all set") print("Sending TDI data with core/pads disconnected") - yield from jtag_read_write_reg(dut.jtag, BS_EXTEST, bslen, bsdata) result = yield from jtag_read_write_reg(dut.jtag, BS_EXTEST, bslen, bsdata) print("TDI BS Data: {0:b}, Data Length (bits): {1}" @@ -692,7 +691,6 @@ def test_jtag_bs_chain(dut): print("TDO BS Data: {0:b}".format(result)) print("Sending TDI data with core/pads connected") - yield from jtag_read_write_reg(dut.jtag, BS_SAMPLE, bslen, bsdata) result = yield from jtag_read_write_reg(dut.jtag, BS_SAMPLE, bslen, bsdata) print("TDI BS Data: {0:b}, Data Length (bits): {1}" @@ -708,7 +706,6 @@ def test_jtag_bs_chain(dut): yield from test_i2c(dut) print("Sending TDI data with core/pads disconnected") - yield from jtag_read_write_reg(dut.jtag, BS_EXTEST, bslen, bsdata) result = yield from jtag_read_write_reg(dut.jtag, BS_EXTEST, bslen, bsdata) print("TDI BS Data: {0:b}, Data Length (bits): {1}" @@ -716,8 +713,7 @@ def test_jtag_bs_chain(dut): print("TDO BS Data: {0:b}".format(result)) print("Sending TDI data with core/pads connected") - yield from jtag_read_write_reg(dut.jtag, BS_SAMPLE, bslen, bsdata) - result = yield from jtag_read_write_reg(dut.jtag, BS_EXTEST, bslen, + result = yield from jtag_read_write_reg(dut.jtag, BS_SAMPLE, bslen, bsdata) print("TDI BS Data: {0:b}, Data Length (bits): {1}" .format(bsdata, bslen)) -- 2.30.2