3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-04-15 00:35:12 +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 ...")