1
0
mirror of synced 2026-04-19 18:53:16 +00:00

tests: fix rtlil roundtrip test

This commit is contained in:
Emil J. Tywoniak
2026-03-18 00:48:03 +01:00
parent 872c940259
commit 49d08591e3

View File

@@ -11,7 +11,7 @@ remove_empty_lines() {
}
# write_rtlil and dump are equivalent
$YS -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"
$YS -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 ...")