back.pysim: synchronize waveform writing with cxxrtl.
This commit is contained in:
parent
e012e62ade
commit
2efeb05c63
2 changed files with 13 additions and 29 deletions
|
|
@ -777,18 +777,6 @@ class SimulatorIntegrationTestCase(FHDLTestCase):
|
|||
with sim.write_vcd(open(os.path.devnull, "wt")):
|
||||
pass
|
||||
|
||||
def test_vcd_wrong_twice(self):
|
||||
s = Signal()
|
||||
m = Module()
|
||||
m.d.sync += s.eq(s)
|
||||
sim = Simulator(m)
|
||||
sim.add_clock(1e-6)
|
||||
with self.assertRaisesRegex(ValueError,
|
||||
r"^Already writing waveforms to .+$"):
|
||||
with sim.write_vcd(open(os.path.devnull, "wt")):
|
||||
with sim.write_vcd(open(os.path.devnull, "wt")):
|
||||
pass
|
||||
|
||||
|
||||
class SimulatorRegressionTestCase(FHDLTestCase):
|
||||
def test_bug_325(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue