pre_pnr/test.py: Reset JTAG before executing SVF.
authorStaf Verhaegen <staf@stafverhaegen.be>
Fri, 2 Apr 2021 16:10:24 +0000 (18:10 +0200)
committerStaf Verhaegen <staf@stafverhaegen.be>
Fri, 2 Apr 2021 16:10:24 +0000 (18:10 +0200)
ls180/pre_pnr/test.py

index 5642467ff19a8c6547ccd8d60e73c54f7307707d..0aafc627f294a76e004d952f9e96028fa6d6ba22 100644 (file)
@@ -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()