yosys/tests/verilog/genvar_loop_decl_1.ys

15 lines
354 B
Plaintext
Raw Normal View History

read_verilog -sv genvar_loop_decl_1.sv
select -assert-count 1 gate/genblk1[0].x
select -assert-count 1 gate/genblk1[1].x
select -assert-count 0 gate/genblk1[2].x
select -assert-count 1 gold/genblk1[0].x
select -assert-count 1 gold/genblk1[1].x
select -assert-count 0 gold/genblk1[2].x
proc
equiv_make gold gate equiv
equiv_simple
equiv_status -assert