mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
flatten: preserve original object names via hdlname attribute.
This commit is contained in:
parent
8d821dbbdb
commit
fbb346ea91
5 changed files with 45 additions and 6 deletions
|
@ -193,6 +193,13 @@ Violating these rules results in a runtime error.
|
|||
|
||||
All RTLIL identifiers are case sensitive.
|
||||
|
||||
Some transformations, such as flattening, may have to change identifiers provided by the user
|
||||
to avoid name collisions. When that happens, attribute ``{\tt hdlname}`` is attached to the object
|
||||
with the changed identifier. This attribute contains one name (if emitted directly by the frontend,
|
||||
or is a result of disambiguation) or multiple names separated by spaces (if a result of flattening).
|
||||
All names specified in the ``{\tt hdlname}`` attribute are public and do not include the leading
|
||||
``\textbackslash``.
|
||||
|
||||
\subsection{RTLIL::Design and RTLIL::Module}
|
||||
|
||||
The RTLIL::Design object is basically just a container for RTLIL::Module objects. In addition to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue