|
wiRedPanda
Logic Circuit Simulator
|
Maps a circuit port to its generated SystemVerilog signal name and module port. More...
#include <SystemVerilogCodeGen.h>
Public Member Functions | |
| MappedPinSystemVerilog ()=default | |
| MappedPinSystemVerilog (GraphicElement *elm, const QString &pin, const QString &varName, Port *port, const int portNumber=0) | |
| Constructs a pin mapping. | |
Public Attributes | |
| GraphicElement * | m_elm = nullptr |
| Owning graphic element. | |
| QString | m_pin |
| Top-level module port name. | |
| Port * | m_port = nullptr |
| Source port in the circuit graph. | |
| int | m_portNumber = 0 |
| Port index within the element. | |
| QString | m_varName |
| Generated internal signal name. | |
Maps a circuit port to its generated SystemVerilog signal name and module port.
Definition at line 30 of file SystemVerilogCodeGen.h.
|
default |
|
inline |
Constructs a pin mapping.
| elm | Owning graphic element. |
| pin | Top-level module port name. |
| varName | Internal signal/wire name in the generated code. |
| port | Source Port this mapping refers to. |
| portNumber | Index of the port within the element (default 0). |
Definition at line 42 of file SystemVerilogCodeGen.h.
References m_elm, m_pin, m_port, m_portNumber, and m_varName.
| GraphicElement* MappedPinSystemVerilog::m_elm = nullptr |
Owning graphic element.
Definition at line 51 of file SystemVerilogCodeGen.h.
Referenced by MappedPinSystemVerilog().
| QString MappedPinSystemVerilog::m_pin |
Top-level module port name.
Definition at line 53 of file SystemVerilogCodeGen.h.
Referenced by MappedPinSystemVerilog().
| Port* MappedPinSystemVerilog::m_port = nullptr |
Source port in the circuit graph.
Definition at line 52 of file SystemVerilogCodeGen.h.
Referenced by MappedPinSystemVerilog().
| int MappedPinSystemVerilog::m_portNumber = 0 |
Port index within the element.
Definition at line 55 of file SystemVerilogCodeGen.h.
Referenced by MappedPinSystemVerilog().
| QString MappedPinSystemVerilog::m_varName |
Generated internal signal name.
Definition at line 54 of file SystemVerilogCodeGen.h.
Referenced by MappedPinSystemVerilog().