19 #ifndef TORC_GENERIC_VERILOG_VERILOGEXPORTERVISITOR_HPP
20 #define TORC_GENERIC_VERILOG_VERILOGEXPORTERVISITOR_HPP
29 namespace generic {
class VerilogExporterUnitTest; }
122 if(name.length())
return name;
123 }
catch(std::bad_cast bc) {
159 #endif // TORC_GENERIC_VERILOG_VERILOGEXPORTERVISITOR_HPP
An acyclic inoutVisitor implementation.
Represents a bit of a net array.
Represents areference to a standalone port.
Represents a reference to a port array.
string mPropertyContainerName
The current property container name.
const EPortDirection getDirection() const
This class is used within simulate to describe input stimuli and expected responces over a certain ti...
Represents a bundle of ports.
string getDirection(Port &inPort)
Return a string indicating the direction of a port.
VerilogExporterVisitor(RootSharedPtr inRootPtr, std::ostream &inStream=std::cout)
Public constructor.
std::ostream & mOut
The output stream.
Represents and EDIF View.
Represents a bit of a port.
Represents a member of an instance array.
Permutable is used to describe a relationship in which ports are interchangeable. ...
void visit(Root &inroot)
Visit the top-level netlist.
string getName(Nameable &inNameable)
Return the original or renamed name of the given netlist object.
Represents a single instance of the view of a cell.
This class is used to hold all information about the logic values used within a library.
This class is used within simulationInfo construct to define a logic value to use for modeling in the...
RootSharedPtr mRootPtr
The root shared pointer.
std::string string
Imported type name.
The Error object thrown by different methods of EdifOM.
Represents a parameter array.
Represents a standalone port.
Represents the Interface joining information.
This class is used to provide a set of path delays or timing constrains (forbidden events) ...
virtual ~VerilogExporterVisitor(void)
Virtual destructor.
Represents an array of instances.
Represents a standalone net.
std::vector< PortSharedPtr > PortSharedPtrVector
Vector of port shared pointers.
string mTab
The tab character.
ForbiddenEvent class lists events which are forbidden during a period of times which is specified by ...
Represents different logic elements which holds array of logic values.
Represents an ordered list of port references with a name aliased.
Represents a reference to a bit of a port.
Represents an ordered list of port references.
Generic netlist object visitor for output as structural Verilog.
Root of the EDIF Object Model.
This class is used to model logicInput/logicOutput construct. This class holds information of logical...
This class is used within simulate to describe input stimuli and expected responces over a certain ti...
Represents a bundle of nets.
Interface for an EDIF port object.
virtual const std::string getName() const
Event is used to describe an event on a port or a net using logic state transitions. Events can also be described for unordered groups of ports or nets using portGroup or netGroup. An ordered list of ports may also be used using a portList.
An object that has a name.
std::vector< NetSharedPtr > NetSharedPtrVector
Vector of net shared pointers.
Represents objects that can be renamed.
This class is to model simulate construct which is a named collection of simulation stimulus and resp...
Represents EDIF status construct.
Represents a reference to a bundle of ports.
VisitorApplier< VerilogExporterVisitor > mVisitor
Generic netlist visitor.
boost::shared_ptr< Root > RootSharedPtr
friend class torc::generic::generic::VerilogExporterUnitTest
The unit test class has access to our internals.
string getRange(VectorPort &inVectorPort)
Return a string describing the range of a vector port. The range is expressed in the form "[start:end...
virtual Name getOriginalName() const
std::vector< PortReferenceSharedPtr > PortReferenceSharedPtrVector
Vector of port reference shared pointers.