mirror of
https://github.com/YosysHQ/yosys
synced 2025-12-18 18:28:35 +00:00
tests/aiger: Compare .aag outputs against known
Any files that differ (e.g. due to compiler order of operations changing) will trigger an error.
This commit is contained in:
parent
9ec361beab
commit
e2e7922756
2 changed files with 7 additions and 0 deletions
1
tests/aiger/.gitignore
vendored
1
tests/aiger/.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
||||||
/*_ref.v
|
/*_ref.v
|
||||||
/neg.out/
|
/neg.out/
|
||||||
|
/gate/
|
||||||
|
|
|
||||||
|
|
@ -57,3 +57,9 @@ for y in *.ys; do
|
||||||
echo "Running $y."
|
echo "Running $y."
|
||||||
../../yosys -ql ${y%.*}.log $y
|
../../yosys -ql ${y%.*}.log $y
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# compare aigmap with reference
|
||||||
|
# make gold with: rm gold/*; yosys --no-version -p "test_cell -aigmap -w gold/ -n 1 -s 1 all"
|
||||||
|
rm -rf gate; mkdir gate
|
||||||
|
../../yosys --no-version -p "test_cell -aigmap -w gate/ -n 1 -s 1 all"
|
||||||
|
diff --brief gold gate | tee aigmap.err
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue