test_sim: failing test case.

This commit is contained in:
Charlotte 2023-06-29 11:13:23 +10:00 committed by Catherine
parent b77e33f16a
commit fd4e25df42

View file

@ -882,6 +882,19 @@ class SimulatorIntegrationTestCase(FHDLTestCase):
Simulator(m).run()
self.assertEqual(warns, [])
def test_large_expr_parser_overflow(self):
m = Module()
a = Signal()
op = a
for _ in range(50):
op = (op ^ 1)
op = op & op
m.d.comb += a.eq(op)
Simulator(m)
class SimulatorRegressionTestCase(FHDLTestCase):
def test_bug_325(self):