torc-master
|
Generic netlist object visitor for output as structural Verilog. More...
#include <VerilogExporterVisitor.hpp>
Public Member Functions | |
VerilogExporterVisitor (RootSharedPtr inRootPtr, std::ostream &inStream=std::cout) | |
Public constructor. More... | |
virtual | ~VerilogExporterVisitor (void) throw () |
Virtual destructor. More... | |
virtual void | visit (_Tp &client)=0 throw (Error) |
Protected Types | |
typedef std::string | string |
Imported type name. More... | |
typedef std::vector < PortSharedPtr > | PortSharedPtrVector |
Vector of port shared pointers. More... | |
typedef std::vector < PortReferenceSharedPtr > | PortReferenceSharedPtrVector |
Vector of port reference shared pointers. More... | |
typedef std::vector< NetSharedPtr > | NetSharedPtrVector |
Vector of net shared pointers. More... | |
Protected Member Functions | |
void | visit (Root &inroot) throw (Error) |
Visit the top-level netlist. More... | |
void | visit (Design &inDesign) throw (Error) |
void | visit (Library &inLibrary) throw (Error) |
void | visit (Cell &inCell) throw (Error) |
void | visit (View &inView) throw (Error) |
void | visit (ScalarPort &inScalarPort) throw (Error) |
void | visit (VectorPort &inVectorPort) throw (Error) |
void | visit (VectorPortBit &inVectorPortBit) throw (Error) |
void | visit (PortBundle &inPortBundle) throw (Error) |
void | visit (ScalarNet &inScalarNet) throw (Error) |
void | visit (VectorNet &inVectorNet) throw (Error) |
void | visit (VectorNetBit &inVectorNetBit) throw (Error) |
void | visit (NetBundle &inNetBundle) throw (Error) |
void | visit (SingleInstance &inSingleInstance) throw (Error) |
void | visit (InstanceArray &inInstanceArray) throw (Error) |
void | visit (InstanceArrayMember &inInstanceArrayMember) throw (Error) |
void | visit (ScalarPortReference &inScalarPortRef) throw (Error) |
void | visit (VectorPortReference &inVectorPortRef) throw (Error) |
void | visit (VectorPortBitReference &inVectorPortBitRef) throw (Error) |
void | visit (PortBundleReference &inPortBundleRef) throw (Error) |
void | visit (SingleParameter &inSingleParameter) throw (Error) |
void | visit (ParameterArray &inParameterArray) throw (Error) |
void | visit (ParameterArrayElement &inParameterArrayElement) throw (Error) |
void | visit (Property &inProperty) throw (Error) |
void | visit (PortList &inPortList) throw (Error) |
void | visit (PortListAlias &inPortListAlias) throw (Error) |
void | visit (Status &inStatus) throw (Error) |
void | visit (Permutable &inPermutable) throw (Error) |
void | visit (InterfaceJoinedInfo &inInterfaceJoinedInfo) throw (Error) |
void | visit (SimulationInfo &inSimulationInfo) throw (Error) |
void | visit (Simulate &inSimulate) throw (Error) |
void | visit (Apply &inApply) throw (Error) |
void | visit (LogicalResponse &inLogicalResponse) throw (Error) |
void | visit (LogicValue &inLogicValue) throw (Error) |
void | visit (LogicElement &inLogicElement) throw (Error) |
void | visit (WaveValue &inWaveValue) throw (Error) |
void | visit (Timing &inTiming) throw (Error) |
void | visit (Event &inEvent) throw (Error) |
void | visit (ForbiddenEvent &inForbiddenEvent) throw (Error) |
string | getName (Nameable &inNameable) |
Return the original or renamed name of the given netlist object. More... | |
string | getDirection (Port &inPort) |
Return a string indicating the direction of a port. More... | |
string | getRange (VectorPort &inVectorPort) |
Return a string describing the range of a vector port. The range is expressed in the form "[start:end]". More... | |
Protected Attributes | |
RootSharedPtr | mRootPtr |
The root shared pointer. More... | |
VisitorApplier < VerilogExporterVisitor > | mVisitor |
Generic netlist visitor. More... | |
std::ostream & | mOut |
The output stream. More... | |
string | mTab |
The tab character. More... | |
string | mPropertyContainerName |
The current property container name. More... | |
Friends | |
class | torc::generic::generic::VerilogExporterUnitTest |
The unit test class has access to our internals. More... | |
Generic netlist object visitor for output as structural Verilog.
Definition at line 32 of file VerilogExporterVisitor.hpp.
|
protected |
Vector of net shared pointers.
Definition at line 61 of file VerilogExporterVisitor.hpp.
|
protected |
Vector of port reference shared pointers.
Definition at line 59 of file VerilogExporterVisitor.hpp.
|
protected |
Vector of port shared pointers.
Definition at line 57 of file VerilogExporterVisitor.hpp.
|
protected |
Imported type name.
Definition at line 55 of file VerilogExporterVisitor.hpp.
|
inline |
Public constructor.
Definition at line 149 of file VerilogExporterVisitor.hpp.
|
inlinevirtual |
Return a string indicating the direction of a port.
inPort | The port of interest. |
Definition at line 132 of file VerilogExporterVisitor.hpp.
Return the original or renamed name of the given netlist object.
Definition at line 115 of file VerilogExporterVisitor.hpp.
|
protected |
Return a string describing the range of a vector port. The range is expressed in the form "[start:end]".
inVectorPort | The vector port of interest. |
Definition at line 29 of file VerilogExporterVisitor.cpp.
|
pure virtualinherited |
Visit the top-level netlist.
Definition at line 53 of file VerilogExporterVisitor.cpp.
Definition at line 59 of file VerilogExporterVisitor.cpp.
Definition at line 63 of file VerilogExporterVisitor.cpp.
Definition at line 72 of file VerilogExporterVisitor.cpp.
Definition at line 80 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 106 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 111 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 117 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 121 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 125 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 140 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 141 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 142 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 144 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 170 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 174 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 178 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 197 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 213 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 232 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 237 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 238 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 239 of file VerilogExporterVisitor.cpp.
Definition at line 241 of file VerilogExporterVisitor.cpp.
Definition at line 281 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 282 of file VerilogExporterVisitor.cpp.
Definition at line 283 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 284 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 285 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 286 of file VerilogExporterVisitor.cpp.
Definition at line 287 of file VerilogExporterVisitor.cpp.
Definition at line 288 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 289 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 290 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 291 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 292 of file VerilogExporterVisitor.cpp.
Definition at line 293 of file VerilogExporterVisitor.cpp.
Definition at line 294 of file VerilogExporterVisitor.cpp.
|
protected |
Definition at line 295 of file VerilogExporterVisitor.cpp.
|
friend |
The unit test class has access to our internals.
Definition at line 52 of file VerilogExporterVisitor.hpp.
|
protected |
The output stream.
Definition at line 68 of file VerilogExporterVisitor.hpp.
|
protected |
The current property container name.
Definition at line 72 of file VerilogExporterVisitor.hpp.
|
protected |
The root shared pointer.
Definition at line 64 of file VerilogExporterVisitor.hpp.
|
protected |
The tab character.
Definition at line 70 of file VerilogExporterVisitor.hpp.
|
protected |
Generic netlist visitor.
Definition at line 66 of file VerilogExporterVisitor.hpp.