3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-05 09:04:08 +00:00
yosys/tests/various/constmsk_test.ys
2014-09-04 15:07:30 +02:00

16 lines
298 B
Plaintext

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