3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-25 01:55:33 +00:00

Docs: Update example_synth

We can now fake the `yosys> flatten;;` line, so we no longer need to explain the split flatten/clean.
This commit is contained in:
Krystine Sherwin 2024-08-17 11:33:28 +12:00
parent e44d69908b
commit 48f358bb09
No known key found for this signature in database
3 changed files with 9 additions and 12 deletions

View file

@ -306,14 +306,15 @@ yosys> show -color maroon3 c:fifo_reader -color cornflowerblue @new_cells -notit
Writing dot description to `rdata_proc.dot'.
Dumping selected parts of module fifo to page 1.
yosys> flatten
yosys> echo off
echo off
yosys> flatten;;
15. Executing FLATTEN pass (flatten design).
Deleting now unused module $paramod\addr_gen\MAX_DATA=s32'00000000000000000000000100000000.
<suppressed ~2 debug messages>
yosys> clean
Removed 3 unused cells and 25 unused wires.
echo on
yosys> select -set rdata_path o:rdata %ci*

View file

@ -39,7 +39,10 @@ show -color maroon3 c:fifo_reader -color cornflowerblue @new_cells -notitle -for
# ========================================================
echo off
log "yosys> flatten;;"
flatten;;
echo on
select -set rdata_path o:rdata %ci*
select -set new_cells @rdata_path o:rdata %ci3 %d i:* %d
show -color maroon3 @new_cells -notitle -format dot -prefix rdata_flat @rdata_path