3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-27 02:45:52 +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

@ -292,8 +292,8 @@ optimizations between modules which would otherwise be missed. Let's run
.. literalinclude:: /code_examples/fifo/fifo.out
:language: doscon
:start-at: yosys> flatten
:end-before: yosys> select
:start-at: yosys> flatten;;
:end-before: echo on
:name: flat_clean
:caption: output of :yoscrypt:`flatten;;`
@ -313,13 +313,6 @@ and merged with the ``raddr`` wire feeding into the ``$memrd`` cell. This wire
merging happened during the call to :cmd:ref:`clean` which we can see in the
:ref:`flat_clean`.
.. note::
:cmd:ref:`flatten` and :cmd:ref:`clean` would normally be combined into a
single :yoterm:`yosys> flatten;;` output, but they appear separately here as
a side effect of using :cmd:ref:`echo` for generating the terminal style
output.
Depending on the target architecture, this stage of synthesis might also see
commands such as :cmd:ref:`tribuf` with the ``-logic`` option and
:cmd:ref:`deminout`. These remove tristate and inout constructs respectively,