Introduce new pass that converts impure expressions, or those with function and method calls into simple assignment statements. Please see the blurb at the top of the file why this is useful and how it works. In particular currently it enables more Dfg optimization as functions will be inlined without AstExprStmt. Ideally we should enforce this lowering is applied to every procedural statement (there are still a handful of exceptions). With that, long term with this pass + #6820, there should be no need to ever use an AstExprStmt past this new lowering pass, which should enable more easier optimization down the line. Also ideally this should be run earlier. Currently it's after V3Tristate as that calls pinReconnectSimple so we don't have to touch Cell ports. Currently disabled when code coverage is enabled due to #7119. |
||
|---|---|---|
| .. | ||
| _static | ||
| bin | ||
| gen | ||
| guide | ||
| .gitignore | ||
| CONTRIBUTING.rst | ||
| CONTRIBUTORS | ||
| Makefile | ||
| README.rst | ||
| internals.rst | ||
| security.rst | ||
| spelling.txt | ||
| verilated.dox | ||
README.rst
.. SPDX-FileCopyrightText: 2003-2026 Wilson Snyder .. SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 Verilator Documentation ======================= This folder contains sources for Verilator documentation. For formatted documentation see: - `Verilator README <https://github.com/verilator/verilator>`_ - `Verilator installation and package directory structure <https://verilator.org/install>`_ - `Verilator manual (HTML) <https://verilator.org/verilator_doc.html>`_, or `Verilator manual (PDF) <https://verilator.org/verilator_doc.pdf>`_ - `Subscribe to Verilator announcements <https://github.com/verilator/verilator-announce>`_ - `Verilator forum <https://verilator.org/forum>`_ - `Verilator issues <https://verilator.org/issues>`_