From 95eae1aa6d211fbc6cf73d317e2d4fca72944dcc Mon Sep 17 00:00:00 2001 From: "Emil J. Tywoniak" Date: Wed, 18 Mar 2026 00:48:03 +0100 Subject: [PATCH] tests: fix rtlil roundtrip test --- tests/rtlil/roundtrip-text.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rtlil/roundtrip-text.sh b/tests/rtlil/roundtrip-text.sh index 7d562723b..a6c0953a8 100644 --- a/tests/rtlil/roundtrip-text.sh +++ b/tests/rtlil/roundtrip-text.sh @@ -10,7 +10,7 @@ remove_empty_lines() { } # write_rtlil and dump are equivalent -${YOSYS} -p "read_verilog -sv everything.v; copy alu zzz; proc zzz; dump -o temp/roundtrip-text.dump.il; write_rtlil temp/roundtrip-text.write.il" +${YOSYS} -p "read_verilog -sv everything.v; copy alu zzz; proc zzz; bufnorm -reset; dump -o temp/roundtrip-text.dump.il; write_rtlil temp/roundtrip-text.write.il" remove_empty_lines temp/roundtrip-text.dump.il remove_empty_lines temp/roundtrip-text.write.il # Trim first line ("Generated by Yosys ...")