3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-31 00:13:18 +00:00

Support and differentiate between ASCII and binary AIG testing

This commit is contained in:
Eddie Hung 2019-02-08 12:41:59 -08:00
parent 391ec75b07
commit 587872236e
2 changed files with 6 additions and 2 deletions

View file

@ -90,7 +90,7 @@ for fn
do
bn=${fn%.*}
ext=${fn##*.}
if [[ "$ext" != "v" ]] && [[ "$ext" != "aag" ]]; then
if [[ "$ext" != "v" ]] && [[ "$ext" != "aag" ]] && [[ "$ext" != "aig" ]]; then
echo "Invalid argument: $fn" >&2
exit 1
fi