Add tests/various/abc9.{v,ys} with SCC test
authorEddie Hung <eddie@fpgeh.com>
Tue, 25 Jun 2019 04:52:53 +0000 (21:52 -0700)
committerEddie Hung <eddie@fpgeh.com>
Tue, 25 Jun 2019 04:52:53 +0000 (21:52 -0700)
tests/various/abc9.v [new file with mode: 0644]
tests/various/abc9.ys [new file with mode: 0644]

diff --git a/tests/various/abc9.v b/tests/various/abc9.v
new file mode 100644 (file)
index 0000000..8271cd2
--- /dev/null
@@ -0,0 +1,5 @@
+module abc9_test027(output reg o);
+initial o = 1'b0;
+always @*
+    o <= ~o;
+endmodule
diff --git a/tests/various/abc9.ys b/tests/various/abc9.ys
new file mode 100644 (file)
index 0000000..922f700
--- /dev/null
@@ -0,0 +1,14 @@
+read_verilog abc9.v
+proc
+design -save gold
+
+abc9 -lut 4
+check
+design -stash gate
+
+design -import gold -as gold
+design -import gate -as gate
+
+miter -equiv -flatten -make_assert -make_outputs gold gate miter
+sat -verify -prove-asserts -show-ports miter
+