mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 11:20:27 +00:00
tests: add opt_expr tests
This commit is contained in:
parent
e7058593f4
commit
b84415094c
5 changed files with 365 additions and 0 deletions
21
tests/opt/bug1758.ys
Normal file
21
tests/opt/bug1758.ys
Normal file
|
@ -0,0 +1,21 @@
|
|||
read_verilog -noopt <<EOT
|
||||
module gold(input i, output o);
|
||||
assign o = 1'bx | i;
|
||||
endmodule
|
||||
EOT
|
||||
copy gold coarse
|
||||
copy gold fine
|
||||
|
||||
cd coarse
|
||||
opt_expr
|
||||
select -assert-none c:*
|
||||
|
||||
cd fine
|
||||
opt_expr
|
||||
select -assert-none c:*
|
||||
|
||||
cd
|
||||
miter -equiv -flatten -make_assert -make_outputs coarse fine miter
|
||||
sat -verify -prove-asserts -show-ports miter
|
||||
miter -equiv -flatten -make_assert -make_outputs -ignore_gold_x gold coarse miter2
|
||||
sat -verify -prove-asserts -show-ports -enable_undef miter2
|
Loading…
Add table
Add a link
Reference in a new issue