3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-10 01:41:59 +00:00

rtlil: fix roundtrip test with --no-private-id-locs

This commit is contained in:
Emil J. Tywoniak 2025-09-16 17:50:07 +02:00
parent d2b28d7a25
commit ffe87fbb34
2 changed files with 918 additions and 917 deletions

2
tests/rtlil/roundtrip-text.sh Normal file → Executable file
View file

@ -33,7 +33,7 @@ diff temp/roundtrip-text.dump.il temp/roundtrip-text.reload-hash-nogen.il
echo "Without ABC, we don't get any irreproducibility and can pin that" echo "Without ABC, we don't get any irreproducibility and can pin that"
echo "Has this test case started failing for you? Consider updating the reference" echo "Has this test case started failing for you? Consider updating the reference"
$YS -p "read_verilog -sv everything.v; synth -relativeshare -noabc; write_rtlil temp/roundtrip-text.synth.il" $YS --no-private-id-locs -p "read_verilog -sv everything.v; synth -relativeshare -noabc; write_rtlil temp/roundtrip-text.synth.il"
remove_empty_lines temp/roundtrip-text.synth.il remove_empty_lines temp/roundtrip-text.synth.il
tail -n +2 temp/roundtrip-text.synth.il > temp/roundtrip-text.synth-nogen.il tail -n +2 temp/roundtrip-text.synth.il > temp/roundtrip-text.synth-nogen.il
diff temp/roundtrip-text.synth-nogen.il roundtrip-text.synth.ref.il diff temp/roundtrip-text.synth-nogen.il roundtrip-text.synth.ref.il

File diff suppressed because it is too large Load diff