3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-06 19:21:23 +00:00

Added tests/various/constmsk_test.ys

This commit is contained in:
Clifford Wolf 2014-09-04 15:07:30 +02:00
parent f5a40e7043
commit 01ef34c147
3 changed files with 68 additions and 0 deletions

View file

@ -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