Skip to content

Commit

Permalink
fix a missing papercut test (#2101)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielnrn authored Jun 6, 2024
1 parent 427babc commit a831b04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions tests/errors/papercut/multi-done.expect
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---CODE---
1
---STDERR---
Error: tests/errors/papercut/multi-done.futil
10 | read_done = mem_0.read_done;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Undefined port name: mem_0.read_done
Error: [Papercut] Component `mem_0_comp` has an empty control program and does not assign to the done port `write_done`. Without an assignment to the done port, the component cannot return control flow.
2 changes: 1 addition & 1 deletion tests/errors/papercut/multi-done.futil
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ component mem_0_comp<"toplevel"=1>(addr0: 3, @go read_en: 1, write_data: 32, @go
mem_0.clk = clk;
read_data = mem_0.read_data;
mem_0.content_en = read_en;
read_done = mem_0.read_done;
read_done = mem_0.done;
mem_0.addr0 = addr0;
mem_0.write_data = write_data;
mem_0.write_en = write_en;
Expand Down

0 comments on commit a831b04

Please sign in to comment.