mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 21:03:40 +00:00
example_synth: proc and opt_expr
Highlight `proc` blocks and intro `opt_expr`.
This commit is contained in:
parent
646ff6d32d
commit
5a4c2e5c79
3 changed files with 82 additions and 63 deletions
|
@ -10,16 +10,17 @@ read_verilog -defer fifo.v
|
|||
echo on
|
||||
hierarchy -top addr_gen
|
||||
select -set new_cells t:*
|
||||
show -color maroon3 @new_cells -notitle -format dot -prefix addr_gen_hier
|
||||
show -color maroon3 @new_cells -color cornflowerblue p:* -notitle -format dot -prefix addr_gen_hier
|
||||
|
||||
# ========================================================
|
||||
proc
|
||||
proc -noopt
|
||||
select -set new_cells t:$mux t:*dff
|
||||
show -color maroon3 @new_cells -notitle -format dot -prefix addr_gen_proc
|
||||
|
||||
# ========================================================
|
||||
clean
|
||||
show -notitle -format dot -prefix addr_gen_clean
|
||||
opt_expr; clean
|
||||
select -set new_cells t:$eq
|
||||
show -color cornflowerblue @new_cells -notitle -format dot -prefix addr_gen_clean
|
||||
|
||||
# ========================================================
|
||||
design -reset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue