From: Luke Kenneth Casson Leighton Date: Sun, 19 Dec 2021 19:00:38 +0000 (+0000) Subject: save mmu simulation to different gtkwave file in TestRunnerBase X-Git-Tag: sv_maxu_works-initial~622 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=235cb1255e983a1e31c7e73ddaf51c836410e1d4;p=openpower-isa.git save mmu simulation to different gtkwave file in TestRunnerBase --- diff --git a/src/openpower/test/runner.py b/src/openpower/test/runner.py index 8987c3f1..938fafe6 100644 --- a/src/openpower/test/runner.py +++ b/src/openpower/test/runner.py @@ -469,8 +469,12 @@ class TestRunnerBase(FHDLTestCase): 'core.l0.pimem.bus__dat_we', ] - write_gtkw("issuer_simulator.gtkw", - "issuer_simulator.vcd", + gtkname = "issuer_simulator" + if self.rom: + gtkname += "_mmu" + + write_gtkw("%s.gtkw" % gtkname, + "%s.vcd" % gtkname, traces, styles, module='top.issuer') # add run of instructions @@ -493,5 +497,5 @@ class TestRunnerBase(FHDLTestCase): sim.add_sync_process(wrap(wb_get(icache.ibus, default_mem, "ICACHE"))) - with sim.write_vcd("issuer_simulator.vcd"): + with sim.write_vcd("%s.vcd" % gtkname): sim.run()