3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-29 11:55:52 +00:00

WIP merging synth phases with example

Replace `typical_phases.rst` and `examples.rst` with a single `example_synth.rst`.
Also updating the counter example to match.

Aims to reduce redundancy, and simplify the getting started section.
Details on things like `proc`, `memory` and `fsm` should instead be in the advanced section (under the new `synth` subsection).
This commit is contained in:
Krystine Sherwin 2023-12-07 13:04:46 +13:00
parent bad8dba2cd
commit f9ce3d1c26
No known key found for this signature in database
14 changed files with 245 additions and 163 deletions

View file

@ -1,12 +1,13 @@
# read design
# read
read_verilog counter.v
hierarchy -check -top counter
show -notitle -format dot -prefix counter_00
# the high-level stuff
proc; opt; memory; opt; fsm; opt
# elaborate
proc
show -notitle -format dot -prefix counter_proc
opt
show -notitle -format dot -prefix counter_01
# mapping to internal cell library