Add quick test
authorEddie Hung <eddie@fpgeh.com>
Mon, 30 Sep 2019 22:34:04 +0000 (15:34 -0700)
committerEddie Hung <eddie@fpgeh.com>
Mon, 30 Sep 2019 22:34:04 +0000 (15:34 -0700)
tests/techmap/aigmap.ys [new file with mode: 0644]

diff --git a/tests/techmap/aigmap.ys b/tests/techmap/aigmap.ys
new file mode 100644 (file)
index 0000000..a40aa39
--- /dev/null
@@ -0,0 +1,10 @@
+read_verilog <<EOT
+module top(input i, j, s, output o, p);
+assign o = s ? j : i;
+assign p = ~i;
+endmodule
+EOT
+
+select t:$mux
+aigmap -select
+select -assert-any %