sim.pysim: use "bench" as a top level root for testbench signals.
Fixes #561.
This commit is contained in:
parent
810c19dde4
commit
538c14116c
3 changed files with 4 additions and 3 deletions
|
|
@ -849,7 +849,7 @@ class SimulatorRegressionTestCase(FHDLTestCase):
|
|||
pass
|
||||
sim = Simulator(dut)
|
||||
with self.assertRaisesRegex(NameError,
|
||||
r"^Signal 'top\.name with space_state' contains a whitespace character$"):
|
||||
r"^Signal 'bench\.top\.name with space_state' contains a whitespace character$"):
|
||||
with open(os.path.devnull, "w") as f:
|
||||
with sim.write_vcd(f):
|
||||
sim.run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue