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:
parent
f5a40e7043
commit
01ef34c147
3 changed files with 68 additions and 0 deletions
15
tests/various/constmsk_test.ys
Normal file
15
tests/various/constmsk_test.ys
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue