Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Nov 17, 2023
1 parent 21887be commit 15d8682
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,8 @@ class Main(m.Circuit):
tester.compile_and_run("system-verilog", simulator="ncsim",
magma_output="mlir-verilog", flags=["-sv"],
magma_opts={"drive_undriven": True,
"terminate_unused": True})
"terminate_unused": True,
"flatten_all_tuples": True})


@requires_ncsim
Expand Down Expand Up @@ -776,9 +777,9 @@ class Foo(m.Circuit):
io.ready @= 1
if use_sva:
f.assert_(
f.sva(f.not_(~(io.valid & io.ready.value() & io.eop)),
# Note: need sequences to wrap parens
f.sva(f.not_(f.sequence(~(io.valid & io.ready.value() & io.eop))),
"throughout",
# Note: need sequence here to wrap parens
f.sequence(f.sva((io.valid & io.ready.value() & io.sop),
"[-> 2]"))),
name="eop_must_happen_btn_two_sop_A",
Expand Down

0 comments on commit 15d8682

Please sign in to comment.