mirror of
https://github.com/YosysHQ/yosys
synced 2026-02-22 08:17:38 +00:00
avoid merging formal properties
This commit is contained in:
parent
49feaa1146
commit
45d654e2d7
4 changed files with 26 additions and 1 deletions
16
tests/opt/opt_merge_properties.ys
Normal file
16
tests/opt/opt_merge_properties.ys
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
read_verilog -sv <<EOF
|
||||
module top ();
|
||||
always_comb begin
|
||||
label1: cover(0);
|
||||
label2: cover(0);
|
||||
end
|
||||
endmodule
|
||||
EOF
|
||||
|
||||
hierarchy -top top
|
||||
proc
|
||||
chformal -lower
|
||||
clean
|
||||
opt_merge
|
||||
select -assert-count 2 t:$cover
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue