diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-09-04 15:07:30 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-09-04 15:07:30 +0200 |
commit | 01ef34c147dd3e3e3d13864f9c726727a4013207 (patch) | |
tree | 472d5471b0e816959cadc25d883b1556221407e0 /tests/various/constmsk_test.ys | |
parent | f5a40e70431bc09072ca79c22c356ec0c0c9bb8b (diff) | |
download | yosys-01ef34c147dd3e3e3d13864f9c726727a4013207.tar.gz yosys-01ef34c147dd3e3e3d13864f9c726727a4013207.tar.bz2 yosys-01ef34c147dd3e3e3d13864f9c726727a4013207.zip |
Added tests/various/constmsk_test.ys
Diffstat (limited to 'tests/various/constmsk_test.ys')
-rw-r--r-- | tests/various/constmsk_test.ys | 15 |
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 000000000..ce36efc35 --- /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 |