Skip to content

Commit 08d7959

Browse files
committed
rtlil: fix roundtrip test by eliminating absolute paths from src attributes with -relativeshare
1 parent f8630d0 commit 08d7959

File tree

2 files changed

+282
-282
lines changed

2 files changed

+282
-282
lines changed

tests/rtlil/roundtrip-text.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ diff temp/roundtrip-text.dump.il temp/roundtrip-text.reload-hash-nogen.il
2626

2727
echo "Without ABC, we don't get any irreproducibility and can pin that"
2828
echo "Has this test case started failing for you? Consider updating the reference"
29-
$YS -p "read_verilog -sv everything.v; synth -noabc; write_rtlil temp/roundtrip-text.synth.il"
29+
$YS -p "read_verilog -sv everything.v; synth -relativeshare -noabc; write_rtlil temp/roundtrip-text.synth.il"
3030
sed '/^$/d' -i.bak temp/roundtrip-text.synth.il
3131
tail -n +2 temp/roundtrip-text.synth.il > temp/roundtrip-text.synth-nogen.il
3232
diff temp/roundtrip-text.synth-nogen.il roundtrip-text.synth.ref.il

0 commit comments

Comments
 (0)