Rename ASCII tests
authorEddie Hung <eddieh@ece.ubc.ca>
Wed, 6 Feb 2019 20:20:36 +0000 (12:20 -0800)
committerEddie Hung <eddieh@ece.ubc.ca>
Wed, 6 Feb 2019 20:20:36 +0000 (12:20 -0800)
30 files changed:
tests/aig/and.aag [deleted file]
tests/aig/buffer.aag [deleted file]
tests/aig/cnt1.aag [deleted file]
tests/aig/cnt1e.aag [deleted file]
tests/aig/empty.aag [deleted file]
tests/aig/false.aag [deleted file]
tests/aig/halfadder.aag [deleted file]
tests/aig/inverter.aag [deleted file]
tests/aig/notcnt1.aag [deleted file]
tests/aig/notcnt1e.aag [deleted file]
tests/aig/or.aag [deleted file]
tests/aig/run-test.sh [deleted file]
tests/aig/toggle-re.aag [deleted file]
tests/aig/toggle.aag [deleted file]
tests/aig/true.aag [deleted file]
tests/aiger/and.aag [new file with mode: 0644]
tests/aiger/buffer.aag [new file with mode: 0644]
tests/aiger/cnt1.aag [new file with mode: 0644]
tests/aiger/cnt1e.aag [new file with mode: 0644]
tests/aiger/empty.aag [new file with mode: 0644]
tests/aiger/false.aag [new file with mode: 0644]
tests/aiger/halfadder.aag [new file with mode: 0644]
tests/aiger/inverter.aag [new file with mode: 0644]
tests/aiger/notcnt1.aag [new file with mode: 0644]
tests/aiger/notcnt1e.aag [new file with mode: 0644]
tests/aiger/or.aag [new file with mode: 0644]
tests/aiger/run-test.sh [new file with mode: 0755]
tests/aiger/toggle-re.aag [new file with mode: 0644]
tests/aiger/toggle.aag [new file with mode: 0644]
tests/aiger/true.aag [new file with mode: 0644]

diff --git a/tests/aig/and.aag b/tests/aig/and.aag
deleted file mode 100644 (file)
index d1ef2c5..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-aag 3 2 0 1 1
-2
-4
-6
-6 2 4
diff --git a/tests/aig/buffer.aag b/tests/aig/buffer.aag
deleted file mode 100644 (file)
index 94a6fb1..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-aag 1 1 0 1 0
-2
-2
diff --git a/tests/aig/cnt1.aag b/tests/aig/cnt1.aag
deleted file mode 100644 (file)
index ce4f28f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-aag 1 0 1 0 0 1
-2 3
-2
diff --git a/tests/aig/cnt1e.aag b/tests/aig/cnt1e.aag
deleted file mode 100644 (file)
index 6db3f0f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-aag 5 1 1 0 3 1
-2
-4 10
-4
-6 5 3
-8 4 2
-10 9 7
-b0 AIGER_NEVER
diff --git a/tests/aig/empty.aag b/tests/aig/empty.aag
deleted file mode 100644 (file)
index 40c0f00..0000000
+++ /dev/null
@@ -1 +0,0 @@
-aag 0 0 0 0 0
diff --git a/tests/aig/false.aag b/tests/aig/false.aag
deleted file mode 100644 (file)
index 421e64a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-aag 0 0 0 1 0
-0
diff --git a/tests/aig/halfadder.aag b/tests/aig/halfadder.aag
deleted file mode 100644 (file)
index 5bf54d3..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-aag 7 2 0 2 3
-2
-4
-6
-12
-6 13 15
-12 2 4
-14 3 5
-i0 x
-i1 y
-o0 s
-o1 c
-c
-half adder
diff --git a/tests/aig/inverter.aag b/tests/aig/inverter.aag
deleted file mode 100644 (file)
index ff7c285..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-aag 1 1 0 1 0
-2
-3
diff --git a/tests/aig/notcnt1.aag b/tests/aig/notcnt1.aag
deleted file mode 100644 (file)
index e92815f..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-aag 1 0 1 0 0 1
-2 3
-3
-b0 AIGER_NEVER
diff --git a/tests/aig/notcnt1e.aag b/tests/aig/notcnt1e.aag
deleted file mode 100644 (file)
index 141c864..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-aag 5 1 1 0 3 1
-2
-4 10
-5
-6 5 3
-8 4 2
-10 9 7
-b0 AIGER_NEVER
diff --git a/tests/aig/or.aag b/tests/aig/or.aag
deleted file mode 100644 (file)
index f780e33..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-aag 3 2 0 1 1
-2
-4
-7
-6 3 5
diff --git a/tests/aig/run-test.sh b/tests/aig/run-test.sh
deleted file mode 100755 (executable)
index 308578f..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-OPTIND=1
-seed=""    # default to no seed specified
-while getopts "S:" opt
-do
-    case "$opt" in
-       S) arg="${OPTARG#"${OPTARG%%[![:space:]]*}"}" # remove leading space
-          seed="SEED=$arg" ;;
-    esac
-done
-shift "$((OPTIND-1))"
-
-# check for Icarus Verilog
-if ! which iverilog > /dev/null ; then
-  echo "$0: Error: Icarus Verilog 'iverilog' not found."
-  exit 1
-fi
-
-exec ${MAKE:-make} -f ../tools/autotest.mk $seed *.aag EXTRA_FLAGS="-f aiger"
diff --git a/tests/aig/toggle-re.aag b/tests/aig/toggle-re.aag
deleted file mode 100644 (file)
index b662bb3..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-aag 7 2 1 2 4
-2
-4
-6 8
-6
-7
-8 4 10
-10 13 15
-12 2 6
-14 3 7
-i0 enable
-i1 reset
-o0 Q
-o1 !Q
diff --git a/tests/aig/toggle.aag b/tests/aig/toggle.aag
deleted file mode 100644 (file)
index 0965101..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-aag 1 0 1 2 0
-2 3
-2
-3
diff --git a/tests/aig/true.aag b/tests/aig/true.aag
deleted file mode 100644 (file)
index 3668936..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-aag 0 0 0 1 0
-1
diff --git a/tests/aiger/and.aag b/tests/aiger/and.aag
new file mode 100644 (file)
index 0000000..d1ef2c5
--- /dev/null
@@ -0,0 +1,5 @@
+aag 3 2 0 1 1
+2
+4
+6
+6 2 4
diff --git a/tests/aiger/buffer.aag b/tests/aiger/buffer.aag
new file mode 100644 (file)
index 0000000..94a6fb1
--- /dev/null
@@ -0,0 +1,3 @@
+aag 1 1 0 1 0
+2
+2
diff --git a/tests/aiger/cnt1.aag b/tests/aiger/cnt1.aag
new file mode 100644 (file)
index 0000000..ce4f28f
--- /dev/null
@@ -0,0 +1,3 @@
+aag 1 0 1 0 0 1
+2 3
+2
diff --git a/tests/aiger/cnt1e.aag b/tests/aiger/cnt1e.aag
new file mode 100644 (file)
index 0000000..6db3f0f
--- /dev/null
@@ -0,0 +1,8 @@
+aag 5 1 1 0 3 1
+2
+4 10
+4
+6 5 3
+8 4 2
+10 9 7
+b0 AIGER_NEVER
diff --git a/tests/aiger/empty.aag b/tests/aiger/empty.aag
new file mode 100644 (file)
index 0000000..40c0f00
--- /dev/null
@@ -0,0 +1 @@
+aag 0 0 0 0 0
diff --git a/tests/aiger/false.aag b/tests/aiger/false.aag
new file mode 100644 (file)
index 0000000..421e64a
--- /dev/null
@@ -0,0 +1,2 @@
+aag 0 0 0 1 0
+0
diff --git a/tests/aiger/halfadder.aag b/tests/aiger/halfadder.aag
new file mode 100644 (file)
index 0000000..5bf54d3
--- /dev/null
@@ -0,0 +1,14 @@
+aag 7 2 0 2 3
+2
+4
+6
+12
+6 13 15
+12 2 4
+14 3 5
+i0 x
+i1 y
+o0 s
+o1 c
+c
+half adder
diff --git a/tests/aiger/inverter.aag b/tests/aiger/inverter.aag
new file mode 100644 (file)
index 0000000..ff7c285
--- /dev/null
@@ -0,0 +1,3 @@
+aag 1 1 0 1 0
+2
+3
diff --git a/tests/aiger/notcnt1.aag b/tests/aiger/notcnt1.aag
new file mode 100644 (file)
index 0000000..e92815f
--- /dev/null
@@ -0,0 +1,4 @@
+aag 1 0 1 0 0 1
+2 3
+3
+b0 AIGER_NEVER
diff --git a/tests/aiger/notcnt1e.aag b/tests/aiger/notcnt1e.aag
new file mode 100644 (file)
index 0000000..141c864
--- /dev/null
@@ -0,0 +1,8 @@
+aag 5 1 1 0 3 1
+2
+4 10
+5
+6 5 3
+8 4 2
+10 9 7
+b0 AIGER_NEVER
diff --git a/tests/aiger/or.aag b/tests/aiger/or.aag
new file mode 100644 (file)
index 0000000..f780e33
--- /dev/null
@@ -0,0 +1,5 @@
+aag 3 2 0 1 1
+2
+4
+7
+6 3 5
diff --git a/tests/aiger/run-test.sh b/tests/aiger/run-test.sh
new file mode 100755 (executable)
index 0000000..308578f
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+OPTIND=1
+seed=""    # default to no seed specified
+while getopts "S:" opt
+do
+    case "$opt" in
+       S) arg="${OPTARG#"${OPTARG%%[![:space:]]*}"}" # remove leading space
+          seed="SEED=$arg" ;;
+    esac
+done
+shift "$((OPTIND-1))"
+
+# check for Icarus Verilog
+if ! which iverilog > /dev/null ; then
+  echo "$0: Error: Icarus Verilog 'iverilog' not found."
+  exit 1
+fi
+
+exec ${MAKE:-make} -f ../tools/autotest.mk $seed *.aag EXTRA_FLAGS="-f aiger"
diff --git a/tests/aiger/toggle-re.aag b/tests/aiger/toggle-re.aag
new file mode 100644 (file)
index 0000000..b662bb3
--- /dev/null
@@ -0,0 +1,14 @@
+aag 7 2 1 2 4
+2
+4
+6 8
+6
+7
+8 4 10
+10 13 15
+12 2 6
+14 3 7
+i0 enable
+i1 reset
+o0 Q
+o1 !Q
diff --git a/tests/aiger/toggle.aag b/tests/aiger/toggle.aag
new file mode 100644 (file)
index 0000000..0965101
--- /dev/null
@@ -0,0 +1,4 @@
+aag 1 0 1 2 0
+2 3
+2
+3
diff --git a/tests/aiger/true.aag b/tests/aiger/true.aag
new file mode 100644 (file)
index 0000000..3668936
--- /dev/null
@@ -0,0 +1,2 @@
+aag 0 0 0 1 0
+1