3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-27 14:37:55 +00:00

Merge pull request #5209 from povik/hieropt

Start `opt_hier` to enable hierarchical optimization
This commit is contained in:
Martin Povišer 2025-07-17 14:12:18 +02:00 committed by GitHub
commit 9ab1946799
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 583 additions and 6 deletions

View file

@ -9,6 +9,7 @@ do
opt_merge
opt_share (-full only)
opt_dff (except when called with -noff)
opt_hier (-hier only)
opt_clean
opt_expr
while <changed design>

View file

@ -192,6 +192,13 @@ control inputs.
Called with ``-nodffe`` and ``-nosdff``, this pass is used to prepare a design
for :doc:`/using_yosys/synthesis/fsm`.
Hierarchical optimization - `opt_hier` pass
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This pass considers the design hierarchy and propagates unused signals, constant
signals, and tied-together signals across module boundaries to facilitate
optimization by other passes.
Removing unused cells and wires - `opt_clean` pass
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~