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
+1 -1
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