yosys/tests/arch/nexus/shifter.ys

10 lines
410 B
Plaintext

read_verilog ../common/shifter.v
hierarchy -top top
proc
flatten
equiv_opt -assert -map +/nexus/cells_sim.v synth_nexus # equivalency check
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
cd top # Constrain all select calls below inside the top module
select -assert-count 8 t:FD1P3IX
select -assert-none t:FD1P3IX t:WIDEFN9 t:INV t:IB t:OB t:VLO t:VHI %% t:* %D