projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb7b334
)
test/runner: allow disabling VCD using SIM_NO_VCD=1 env var
author
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 30 Nov 2023 22:20:54 +0000
(14:20 -0800)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 1 Dec 2023 17:58:50 +0000
(17:58 +0000)
src/openpower/test/runner.py
patch
|
blob
|
history
diff --git
a/src/openpower/test/runner.py
b/src/openpower/test/runner.py
index 3fc8aa43dc94ae2fc8578a761f25b1e6939b2d1b..40e1854099b4a9d6b6f0863b69bc0c2793277d55 100644
(file)
--- a/
src/openpower/test/runner.py
+++ b/
src/openpower/test/runner.py
@@
-603,5
+603,8
@@
class TestRunnerBase(FHDLTestCase):
sim.add_sync_process(wrap(wb_get(icache.ibus,
self.default_mem, "ICACHE")))
-
with sim.write_vcd("%s.vcd" % gtkname)
:
+
if "SIM_NO_VCD" in os.environ
:
sim.run()
+ else:
+ with sim.write_vcd("%s.vcd" % gtkname):
+ sim.run()