summaryrefslogtreecommitdiff
path: root/tests/various/constmsk_test.ys
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-09-04 15:07:30 +0200
committerClifford Wolf <clifford@clifford.at>2014-09-04 15:07:30 +0200
commit01ef34c147dd3e3e3d13864f9c726727a4013207 (patch)
tree472d5471b0e816959cadc25d883b1556221407e0 /tests/various/constmsk_test.ys
parentf5a40e70431bc09072ca79c22c356ec0c0c9bb8b (diff)
Added tests/various/constmsk_test.ys
Diffstat (limited to 'tests/various/constmsk_test.ys')
-rw-r--r--tests/various/constmsk_test.ys15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/various/constmsk_test.ys b/tests/various/constmsk_test.ys
new file mode 100644
index 00000000..ce36efc3
--- /dev/null
+++ b/tests/various/constmsk_test.ys
@@ -0,0 +1,15 @@
+read_verilog constmsk_test.v
+
+copy test gold
+rename test gate
+
+cd gate
+techmap -map constmsk_testmap.v;;
+cd ..
+
+select -assert-count 2 gold/r:A_WIDTH=3
+select -assert-count 1 gate/r:A_WIDTH=2
+select -assert-count 1 gate/c:*
+
+miter -equiv -flatten gold gate miter
+sat -verify -prove trigger 0 miter