mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-05 17:47:44 +00:00
rtlil: fix roundtrip test by eliminating absolute paths from src attributes with -relativeshare
This commit is contained in:
parent
3eb7454d56
commit
61004ddf7d
2 changed files with 282 additions and 282 deletions
|
@ -26,7 +26,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 "Has this test case started failing for you? Consider updating the reference"
|
||||
$YS -p "read_verilog -sv everything.v; synth -noabc; write_rtlil temp/roundtrip-text.synth.il"
|
||||
$YS -p "read_verilog -sv everything.v; synth -relativeshare -noabc; write_rtlil temp/roundtrip-text.synth.il"
|
||||
sed '/^$/d' -i.bak temp/roundtrip-text.synth.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
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue