yosys/manual/PRESENTATION_ExAdv/select_01.ys

11 lines
306 B
Plaintext

read_verilog select_01.v
hierarchy -check -top test
proc; opt
cd test
select -set cone_a state_a %ci*:-$dff
select -set cone_b state_b %ci*:-$dff
select -set cone_ab @cone_a @cone_b %i
show -prefix select_01 -format pdf -notitle \
-color red @cone_ab -color magenta @cone_a \
-color blue @cone_b