iverilog/Documentation/developer/guide/tgt-vvp/tgt-vvp.rst

37 lines
1.0 KiB
ReStructuredText
Raw Normal View History

2023-06-09 13:30:44 +02:00
The VVP Target
==============
2023-06-09 13:30:44 +02:00
Symbol Name Conventions
-----------------------
2015-05-21 00:46:04 +02:00
There are some naming conventions that the vvp target uses for
generating symbol names.
* wires and regs
Nets and variables are named V_<full-name> where <full-name> is the
full hierarchical name of the signal.
* Logic devices
Logic devices (and, or, buf, bufz, etc.) are named L_<full_name>. In
this case the symbol is attached to a functor that is the output of
the logic device.
2023-06-09 13:30:44 +02:00
General Functor Web Structure
-----------------------------
The net of gates, signals and resolvers is formed from the input
design. The basic structure is wrapped around the nexus, which is
represented by the ivl_nexus_t.
Each nexus represents a resolved value. The input of the nexus is fed
by a single driver. If the nexus in the design has multiple drivers,
the drivers are first fed into a resolver (or a tree of resolvers) to
form a single output that is the nexus.
The nexus, then, feeds its output to the inputs of other gates, or to
2015-05-21 00:46:04 +02:00
the .net objects in the design.