Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
5995693
Update generate_runt_configs.py to add Runt test suite for bi
ngernest Jul 11, 2026
42c80d5
Update Justfile to run bi tests
ngernest Jul 11, 2026
15cb68a
Add auto-generated Runt BI config
ngernest Jul 11, 2026
8ea4731
Add expected test output for BI test cases
ngernest Jul 11, 2026
c1cff14
Formatting
ngernest Jul 11, 2026
d4c8557
Redirect stderr to stdout so that bi error messages appear in expecte…
ngernest Jul 11, 2026
d383c7b
Update auto-generated BI Runt config
ngernest Jul 11, 2026
1a6a54f
Update some .expect files
ngernest Jul 11, 2026
87e6d3c
Add --color CLI arg to BI to suppress colors
ngernest Jul 11, 2026
2ed33f9
Pass --color never to BI when running Runt tests
ngernest Jul 11, 2026
f2e9e3b
Update auto-generated Runt BI config
ngernest Jul 11, 2026
cf63102
Update .expect files
ngernest Jul 11, 2026
f4fc347
Register custom panic hook to suppress extraneous information from pa…
ngernest Jul 11, 2026
9efd6a4
Update .expect file output
ngernest Jul 11, 2026
a1881e7
Formatting
ngernest Jul 11, 2026
78ae7bb
Add BI tests to CI
ngernest Jul 11, 2026
f40648e
Remove monitor code + test cases
ngernest Jul 18, 2026
b5c4fe7
Update scripts for generating runt catalog
ngernest Jul 18, 2026
224ef81
update readme to refer to BI instead of monitor
ngernest Jul 18, 2026
975ee63
Change .monitor.prot test cases to bi.prot
ngernest Jul 18, 2026
b0924d1
Update case_stem function to refer to .bi suffix instead of .monitor
ngernest Jul 18, 2026
ec880b3
Regenerate Runt config
ngernest Jul 18, 2026
469e496
Merge branch 'main' into remove-monitor
ngernest Jul 18, 2026
c9f6f89
update some outdated comments
ngernest Jul 18, 2026
6b8765c
Add new FailureKind enum to BI
ngernest Jul 18, 2026
0f4cfe4
Error-handling for BI when fork is called before step
ngernest Jul 18, 2026
146de93
Update expect files for tests that previously panicked due to the 'fo…
ngernest Jul 18, 2026
3e355fd
Add --max-traces argument to the nested_busy_wait test case to avoid …
ngernest Jul 18, 2026
571657d
Add --max-traces to push_pop_loop_empty test, update Runt expected ou…
ngernest Jul 18, 2026
b3c5f40
Propagate --color CLI flag to diagnostic handler
ngernest Jul 18, 2026
7cb7983
Update Runt expect files (error messages no longer contain color)
ngernest Jul 18, 2026
3fd7b01
Fix remaining failing test case involving a panic due to unsupported …
ngernest Jul 18, 2026
d259bee
formatting
ngernest Jul 18, 2026
bfd70aa
Add one extra comment
ngernest Jul 18, 2026
06559fc
Add syntax highlighting to .bi.expect files
ngernest Jul 19, 2026
6bd6ff9
Update Runt config to handle sharing the same .prot file for Brave Ne…
ngernest Jul 19, 2026
027ab10
Add extra Verilog file to handle port renaming
ngernest Jul 19, 2026
7e04069
Combine c4_buggy/c4_fixed.prot into one file
ngernest Jul 19, 2026
d7ee8eb
Add .tx files for interpreter
ngernest Jul 19, 2026
56dad4f
Fix type error in Python scripts
ngernest Jul 19, 2026
81bc369
Update c4.prot
ngernest Jul 19, 2026
7ebd372
Update c4.prot
ngernest Jul 19, 2026
8d2041b
Update expect test output
ngernest Jul 19, 2026
483685e
update expect test output
ngernest Jul 19, 2026
37b8e6e
Update DUT files + waveform screenshot
ngernest Jul 19, 2026
9b62271
update waveform screenshot
ngernest Jul 19, 2026
b2e53f3
Update Runt config script
ngernest Jul 19, 2026
ce64dda
Add a missing waveform.expect file
ngernest Jul 19, 2026
10ccca5
Add missing Runt expect file
ngernest Jul 19, 2026
81e02fb
Clean up .tx files
ngernest Jul 20, 2026
9830177
Update Runt expect tests
ngernest Jul 20, 2026
6a16c9c
Merge remote-tracking branch 'origin/main' into bnw-c4-drive-monitor
ngernest Jul 22, 2026
23db866
Regenerate Runt config after resolving merge conflict in script
ngernest Jul 22, 2026
9f66496
Add missing Runt expect files so that CI passes (these are for a diff…
ngernest Jul 22, 2026
01a3508
Fix merge conflict in Rust code
ngernest Jul 22, 2026
a223654
Remove .expect files corresponding to .prot files that have been deleted
ngernest Jul 22, 2026
462dccf
git mv s1 .expect files
ngernest Jul 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions runt/bi/runt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2233,39 +2233,39 @@ expect_name = "s4_fixed.bi.expect"
cmd = "cd ../.. && target/debug/bi --color never --protocol tests/fpga-debugging/axi-burst-s4/s4_fixed.prot --wave tests/fpga-debugging/axi-burst-s4/s4_fixed.vcd --instances TOP.test_l2_cache_wait_state.axi_bus:WriteSubordinate --sample-posedge TOP.test_l2_cache_wait_state.clk --show-waveform-time --time-unit ns 2>&1"

[[tests]]
name = "bi.tests_fpga_debugging_axi_lite_s1_s1_buggy.s1_buggy_bi"
name = "bi.tests_fpga_debugging_axi_lite_s1_s1_buggy.s1_buggy_workload2_bi"
paths = [
"../../tests/fpga-debugging/axi-lite-s1/s1_buggy.prot",
]
expect_dir = "../../tests/fpga-debugging/axi-lite-s1/expects"
expect_name = "s1_buggy.bi.expect"
expect_name = "s1_buggy_workload2.bi.expect"
cmd = "cd ../.. && target/debug/bi --color never --protocol tests/fpga-debugging/axi-lite-s1/s1_buggy.prot --wave tests/fpga-debugging/axi-lite-s1/s1_buggy_workload2.vcd --instances TOP.testbench.UUT:WriteSubordinate TOP.testbench.UUT:ReadSubordinate --sample-posedge TOP.testbench.UUT.S_AXI_ACLK --show-waveform-time --time-unit ns --include-idle 2>&1"

[[tests]]
name = "bi.tests_fpga_debugging_axi_lite_s1_s1_buggy_workload_1.s1_buggy_workload_1_bi"
name = "bi.tests_fpga_debugging_axi_lite_s1_s1_buggy_workload_1.s1_buggy_workload1_bi"
paths = [
"../../tests/fpga-debugging/axi-lite-s1/s1_buggy_workload_1.prot",
]
expect_dir = "../../tests/fpga-debugging/axi-lite-s1/expects"
expect_name = "s1_buggy_workload_1.bi.expect"
expect_name = "s1_buggy_workload1.bi.expect"
cmd = "cd ../.. && target/debug/bi --color never --protocol tests/fpga-debugging/axi-lite-s1/s1_buggy_workload_1.prot --wave tests/fpga-debugging/axi-lite-s1/s1_buggy_workload1.vcd --instances TOP.testbench.UUT:WriteSubordinate TOP.testbench.UUT:ReadSubordinate --sample-posedge TOP.testbench.UUT.S_AXI_ACLK --show-waveform-time --time-unit ns --include-idle 2>&1"

[[tests]]
name = "bi.tests_fpga_debugging_axi_lite_s1_s1_fixed.s1_fixed_bi"
name = "bi.tests_fpga_debugging_axi_lite_s1_s1_fixed.s1_fixed_workload2_bi"
paths = [
"../../tests/fpga-debugging/axi-lite-s1/s1_fixed.prot",
]
expect_dir = "../../tests/fpga-debugging/axi-lite-s1/expects"
expect_name = "s1_fixed.bi.expect"
expect_name = "s1_fixed_workload2.bi.expect"
cmd = "cd ../.. && target/debug/bi --color never --protocol tests/fpga-debugging/axi-lite-s1/s1_fixed.prot --wave tests/fpga-debugging/axi-lite-s1/s1_fixed_workload2.vcd --instances TOP.testbench.UUT:WriteSubordinate TOP.testbench.UUT:ReadSubordinate --sample-posedge TOP.testbench.UUT.S_AXI_ACLK --show-waveform-time --time-unit ns --include-idle 2>&1"

[[tests]]
name = "bi.tests_fpga_debugging_axi_lite_s1_s1_fixed_workload_1.s1_fixed_workload_1_bi"
name = "bi.tests_fpga_debugging_axi_lite_s1_s1_fixed_workload_1.s1_fixed_workload1_bi"
paths = [
"../../tests/fpga-debugging/axi-lite-s1/s1_fixed_workload_1.prot",
]
expect_dir = "../../tests/fpga-debugging/axi-lite-s1/expects"
expect_name = "s1_fixed_workload_1.bi.expect"
expect_name = "s1_fixed_workload1.bi.expect"
cmd = "cd ../.. && target/debug/bi --color never --protocol tests/fpga-debugging/axi-lite-s1/s1_fixed_workload_1.prot --wave tests/fpga-debugging/axi-lite-s1/s1_fixed_workload1.vcd --instances TOP.testbench.UUT:WriteSubordinate TOP.testbench.UUT:ReadSubordinate --sample-posedge TOP.testbench.UUT.S_AXI_ACLK --show-waveform-time --time-unit ns --include-idle 2>&1"

[[tests]]
Expand Down Expand Up @@ -2305,22 +2305,22 @@ expect_name = "s3_fixed.bi.expect"
cmd = "cd ../.. && target/debug/bi --color never --protocol tests/fpga-debugging/axis-adapter-s3/s3_fixed.prot --wave tests/fpga-debugging/axis-adapter-s3/s3_fixed.fst --instances TOP.test_axis_adapter_64_8.UUT:AXISManager --sample-posedge TOP.test_axis_adapter_64_8.UUT.clk --show-waveform-time --time-unit ns 2>&1"

[[tests]]
name = "bi.tests_fpga_debugging_axis_async_fifo_c4_c4_buggy.c4_buggy_bi"
name = "bi.tests_fpga_debugging_axis_async_fifo_c4_c4.c4_buggy_bi"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.prot",
"../../tests/fpga-debugging/axis-async-fifo-c4/c4.prot",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_buggy.bi.expect"
cmd = "cd ../.. && target/debug/bi --color never --protocol tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.prot --wave tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.fst --instances TOP.test_axis_async_fifo.UUT.axis_reg_inst:Sender TOP.test_axis_async_fifo.UUT.axis_reg_inst:Receiver --sample-posedge TOP.test_axis_async_fifo.UUT.axis_reg_inst.clk --show-waveform-time --time-unit ns 2>&1"
cmd = "cd ../.. && target/debug/bi --color never --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --wave tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.fst --instances TOP.test_axis_async_fifo.UUT.axis_reg_inst:AsyncFifo --sample-posedge TOP.test_axis_async_fifo.UUT.axis_reg_inst.clk --show-waveform-time --time-unit ns 2>&1"

[[tests]]
name = "bi.tests_fpga_debugging_axis_async_fifo_c4_c4_fixed.c4_fixed_bi"
name = "bi.tests_fpga_debugging_axis_async_fifo_c4_c4.c4_fixed_bi"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.prot",
"../../tests/fpga-debugging/axis-async-fifo-c4/c4.prot",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_fixed.bi.expect"
cmd = "cd ../.. && target/debug/bi --color never --protocol tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.prot --wave tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.fst --instances TOP.test_axis_async_fifo.UUT.axis_reg_inst:Sender TOP.test_axis_async_fifo.UUT.axis_reg_inst:Receiver --sample-posedge TOP.test_axis_async_fifo.UUT.axis_reg_inst.clk --show-waveform-time --time-unit ns 2>&1"
cmd = "cd ../.. && target/debug/bi --color never --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --wave tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.fst --instances TOP.test_axis_async_fifo.UUT.axis_reg_inst:AsyncFifo --sample-posedge TOP.test_axis_async_fifo.UUT.axis_reg_inst.clk --show-waveform-time --time-unit ns --max-traces 20 2>&1"

[[tests]]
name = "bi.tests_fpga_debugging_axis_fifo_d11_d11_buggy.d11_buggy_bi"
Expand Down
18 changes: 18 additions & 0 deletions runt/fail/runt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,24 @@ expect_dir = "../../tests/fifo/expects"
expect_name = "push_pop_conflict.fail.expect"
cmd = "cd ../.. && target/debug/graph-interp --transactions tests/fifo/push_pop_conflict.tx --transition-system --verilog tests/fifo/bsg_mem_1rw_sync.v tests/fifo/bsg_mem_1rw_sync_synth.v tests/fifo/bsg_circular_ptr.v tests/fifo/bsg_fifo_1rw_large.v tests/fifo/fifo_wrapper.v --protocol tests/fifo/fifo.prot --module fifo_wrapper 2>/dev/null"

[[tests]]
name = "fail.tests_fpga_debugging_axis_async_fifo_c4_c4_buggy.c4_buggy_fail.graph"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.tx",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_buggy.fail.expect"
cmd = "cd ../.. && target/debug/graph-interp --transactions tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.tx --respect-forks --determinize --brief-graph-errors --verilog tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.v --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --module c4_dut 2>/dev/null"

[[tests]]
name = "fail.tests_fpga_debugging_axis_async_fifo_c4_c4_buggy.c4_buggy_fail.ts"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.tx",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_buggy.fail.expect"
cmd = "cd ../.. && target/debug/graph-interp --transactions tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.tx --transition-system --verilog tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.v --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --module c4_dut 2>/dev/null"

[[tests]]
name = "fail.tests_identities_identity_d1_explicit_fork.explicit_fork_fail.graph"
paths = [
Expand Down
27 changes: 27 additions & 0 deletions runt/graph_interp/runt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,33 @@ expect_dir = "../../tests/fifo/expects"
expect_name = "push_pop_identity_ok.graph_interp.expect"
cmd = "cd ../.. && target/debug/graph-interp --transactions tests/fifo/push_pop_identity_ok.tx --verilog tests/fifo/bsg_mem_1rw_sync.v tests/fifo/bsg_mem_1rw_sync_synth.v tests/fifo/bsg_circular_ptr.v tests/fifo/bsg_fifo_1rw_large.v tests/fifo/fifo_wrapper.v --protocol tests/fifo/fifo.prot --module fifo_wrapper --respect-forks --determinize 2>/dev/null"

[[tests]]
name = "graph_interp.tests_fpga_debugging_axis_async_fifo_c4_c4_fixed.c4_fixed_graph_interp"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_fixed.graph_interp.expect"
cmd = "cd ../.. && target/debug/graph-interp --transactions tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx --verilog tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.v --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --module c4_dut 2>/dev/null"

[[tests]]
name = "graph_interp.tests_fpga_debugging_axis_async_fifo_c4_c4_fixed.c4_fixed_graph_interp.contract_edges"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_fixed.graph_interp.expect"
cmd = "cd ../.. && target/debug/graph-interp --transactions tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx --verilog tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.v --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --module c4_dut --contract-edges 2>/dev/null"

[[tests]]
name = "graph_interp.tests_fpga_debugging_axis_async_fifo_c4_c4_fixed.c4_fixed_graph_interp.respect_forks"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_fixed.graph_interp.expect"
cmd = "cd ../.. && target/debug/graph-interp --transactions tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx --verilog tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.v --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --module c4_dut --respect-forks --determinize 2>/dev/null"

[[tests]]
name = "graph_interp.tests_identities_identity_d0_passthrough_combdep.passthrough_combdep_graph_interp"
paths = [
Expand Down
18 changes: 18 additions & 0 deletions runt/interp/runt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,24 @@ expect_dir = "../../tests/fifo/expects"
expect_name = "push_pop_identity_ok.interp.expect"
cmd = "cd ../.. && target/debug/protocols-interp --color never --transactions tests/fifo/push_pop_identity_ok.tx --verilog tests/fifo/bsg_mem_1rw_sync.v tests/fifo/bsg_mem_1rw_sync_synth.v tests/fifo/bsg_circular_ptr.v tests/fifo/bsg_fifo_1rw_large.v tests/fifo/fifo_wrapper.v --protocol tests/fifo/fifo.prot --module fifo_wrapper 2>&1"

[[tests]]
name = "interp.tests_fpga_debugging_axis_async_fifo_c4_c4_buggy.c4_buggy_interp"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.tx",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_buggy.interp.expect"
cmd = "cd ../.. && target/debug/protocols-interp --color never --transactions tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.tx --verilog tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.v --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --module c4_dut 2>&1"

[[tests]]
name = "interp.tests_fpga_debugging_axis_async_fifo_c4_c4_fixed.c4_fixed_interp"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_fixed.interp.expect"
cmd = "cd ../.. && target/debug/protocols-interp --color never --transactions tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx --verilog tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.v --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --module c4_dut 2>&1"

[[tests]]
name = "interp.tests_identities_dual_identity_d0_dual_identity_d0_combdep.dual_identity_d0_combdep_interp"
paths = [
Expand Down
27 changes: 27 additions & 0 deletions runt/waveform/runt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,33 @@ expect_dir = "../../tests/fifo/expects"
expect_name = "push_pop_identity_ok.waveform.expect"
cmd = "cd ../.. && target/debug/graph-interp --transactions tests/fifo/push_pop_identity_ok.tx --transition-system --ascii-waveform --verilog tests/fifo/bsg_mem_1rw_sync.v tests/fifo/bsg_mem_1rw_sync_synth.v tests/fifo/bsg_circular_ptr.v tests/fifo/bsg_fifo_1rw_large.v tests/fifo/fifo_wrapper.v --protocol tests/fifo/fifo.prot --module fifo_wrapper 2>/dev/null"

[[tests]]
name = "waveform.tests_fpga_debugging_axis_async_fifo_c4_c4_fixed.c4_fixed_waveform.ast"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_fixed.waveform.expect"
cmd = "cd ../.. && target/debug/protocols-interp --color never --transactions tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx --ascii-waveform --verilog tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.v --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --module c4_dut 2>/dev/null"

[[tests]]
name = "waveform.tests_fpga_debugging_axis_async_fifo_c4_c4_fixed.c4_fixed_waveform.graph"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_fixed.waveform.expect"
cmd = "cd ../.. && target/debug/graph-interp --transactions tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx --respect-forks --determinize --ascii-waveform --verilog tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.v --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --module c4_dut 2>/dev/null"

[[tests]]
name = "waveform.tests_fpga_debugging_axis_async_fifo_c4_c4_fixed.c4_fixed_waveform.ts"
paths = [
"../../tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx",
]
expect_dir = "../../tests/fpga-debugging/axis-async-fifo-c4/expects"
expect_name = "c4_fixed.waveform.expect"
cmd = "cd ../.. && target/debug/graph-interp --transactions tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx --transition-system --ascii-waveform --verilog tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.v --protocol tests/fpga-debugging/axis-async-fifo-c4/c4.prot --module c4_dut 2>/dev/null"

[[tests]]
name = "waveform.tests_identities_identity_d0_passthrough_combdep.passthrough_combdep_waveform.ast"
paths = [
Expand Down
8 changes: 5 additions & 3 deletions scripts/generate_runt_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@ def replace_non_alphanumerics(value: object) -> str:


def case_stem(case: dict) -> str:
# antmicro cases share one .prot but differ by wave, so name them by
# the wave; otherwise use the test file's stem (dropping a .bi suffix).
# Antmicro & Brave New World test cases for the BI share the same `.prot`
# file but have multiple waveforms, so we use the waveform files'
# names to identify a particular test, otherwise we use the `.prot` file's stem
# to identify a test
wave = case.get("wave")
if wave and "antmicro" in wave:
if wave and ("antmicro" in wave or "fpga-debugging" in wave):
return Path(wave).stem
stem = Path(case["paths"][0]).stem
return stem.removesuffix(".bi")
Expand Down
34 changes: 24 additions & 10 deletions scripts/test_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,24 @@
"top": "fifo_wrapper",
"expect": "pass",
},
"tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.tx": {
"protocol": "tests/fpga-debugging/axis-async-fifo-c4/c4.prot",
"verilog": (
"tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v",
"tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.v",
),
"top": "c4_dut",
"expect": "assertion_mismatch",
},
"tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.tx": {
"protocol": "tests/fpga-debugging/axis-async-fifo-c4/c4.prot",
"verilog": (
"tests/fpga-debugging/axis-async-fifo-c4/c4_dut.v",
"tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.v",
),
"top": "c4_dut",
"expect": "pass",
},
"tests/identities/dual_identity_d0/dual_identity_d0_combdep.tx": {
"protocol": "tests/identities/dual_identity_d0/dual_identity_d0.prot",
"verilog": ("tests/identities/dual_identity_d0/dual_identity_d0.v",),
Expand Down Expand Up @@ -701,12 +719,9 @@
),
},
"tests.fpga-debugging.axis-async-fifo-c4.c4_buggy": {
"protocol": "tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.prot",
"protocol": "tests/fpga-debugging/axis-async-fifo-c4/c4.prot",
"wave": "tests/fpga-debugging/axis-async-fifo-c4/c4_buggy.fst",
"instances": (
"TOP.test_axis_async_fifo.UUT.axis_reg_inst:Sender",
"TOP.test_axis_async_fifo.UUT.axis_reg_inst:Receiver",
),
"instances": ("TOP.test_axis_async_fifo.UUT.axis_reg_inst:AsyncFifo",),
"expect": None,
"extra_args": (
"--sample-posedge",
Expand All @@ -717,19 +732,18 @@
),
},
"tests.fpga-debugging.axis-async-fifo-c4.c4_fixed": {
"protocol": "tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.prot",
"protocol": "tests/fpga-debugging/axis-async-fifo-c4/c4.prot",
"wave": "tests/fpga-debugging/axis-async-fifo-c4/c4_fixed.fst",
"instances": (
"TOP.test_axis_async_fifo.UUT.axis_reg_inst:Sender",
"TOP.test_axis_async_fifo.UUT.axis_reg_inst:Receiver",
),
"instances": ("TOP.test_axis_async_fifo.UUT.axis_reg_inst:AsyncFifo",),
"expect": "pass",
"extra_args": (
"--sample-posedge",
"TOP.test_axis_async_fifo.UUT.axis_reg_inst.clk",
"--show-waveform-time",
"--time-unit",
"ns",
"--max-traces",
"20",
),
},
"tests.fpga-debugging.axis-fifo-d11.d11_buggy": {
Expand Down
Loading
Loading