From 5d78bd1df6b2e490be9e54f515bc1cdb491021ae Mon Sep 17 00:00:00 2001 From: Staf Verhaegen Date: Fri, 2 Apr 2021 18:10:24 +0200 Subject: [PATCH] pre_pnr/test.py: Reset JTAG before executing SVF. --- ls180/pre_pnr/test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ls180/pre_pnr/test.py b/ls180/pre_pnr/test.py index 5642467..0aafc62 100644 --- a/ls180/pre_pnr/test.py +++ b/ls180/pre_pnr/test.py @@ -51,6 +51,8 @@ def setup_jtag(dut, *, tck_period): ir_width=4) def execute_svf(dut, *, jtag, svf_filename): + yield jtag.reset() + jtag_svf = SVF_Executor(jtag) with open(svf_filename, "r") as f: svf_deck = f.read() -- 2.30.2