torc-master
|
Factory class for physical netlist elements. More...
#include <Factory.hpp>
Static Public Member Functions | |
static DesignSharedPtr | newDesignPtr (const string &inName, const string &inDevice, const string &inPackage, const string &inSpeedGrade, const string &inXdlVersion) |
Create and return a new Design shared pointer. More... | |
static ModuleSharedPtr | newModulePtr (const string &inName, const string &inAnchor) |
Create and return a new Module shared pointer. More... | |
static PortSharedPtr | newPortPtr (const string &inName, InstanceSharedPtr inInstancePtr, const string &inPinName) |
Create and return a new Port shared pointer. More... | |
static InstanceSharedPtr | newInstancePtr (const string &inName, const string &inType, const string &inTile, const string &inSite, EInstanceBonding inBonding=eInstanceBondingUnknown, InstanceReferenceSharedPtr inInstanceReferencePtr=InstanceReferenceSharedPtr()) |
Construct and return a new Instance shared pointer. More... | |
static NetSharedPtr | newNetPtr (const string &inName, ENetType inNetType=eNetTypeNormal) |
Create and return a new Net share pointer. More... | |
static InstanceReferenceSharedPtr | newInstanceReferencePtr (const string &inInstantiationName, ModuleSharedPtr inModulePtr, InstanceSharedPtr inInstancePtr) |
Create and return a new InstanceReference shared pointer. More... | |
static InstancePinSharedPtr | newInstancePinPtr (InstanceSharedPtr inInstancePtr, const string &inPinName) |
Construct and return a new InstancePin shared pointer. More... | |
static torc::physical::Pip | newPip (const string &inTileName, const string &inSourceWireName, const string &inSinkWireName, EPipDirection inPipDirection, RoutethroughSharedPtr inRoutethroughPtr=RoutethroughSharedPtr()) |
Construct a pip and return it. More... | |
static RoutethroughSharedPtr | newRoutethroughPtr (const string &inSetting, const string &inName, const string &inValue, const InstanceWeakPtr &inInstancePtr, const string &inSourceWireName, const string &inSinkWireName) |
Construct and return a new Routethrough shared pointer. More... | |
Protected Types | |
typedef std::string | string |
Imported type name. More... | |
Factory class for physical netlist elements.
Physical netlist elements must be created by this factory.
Definition at line 31 of file physical/Factory.hpp.
|
protected |
Imported type name.
Definition at line 35 of file physical/Factory.hpp.
|
inlinestatic |
Create and return a new Design shared pointer.
inName | The design name. |
inDevice | The design device. |
inPackage | The device package. |
inSpeedGrade | The device speed grade. |
inXdlVersion | The design XDL version. |
Definition at line 44 of file physical/Factory.hpp.
|
inlinestatic |
Construct and return a new InstancePin shared pointer.
inInstancePtr | The pin instance pointer. |
inPinName | The pin name. |
Definition at line 111 of file physical/Factory.hpp.
|
inlinestatic |
Construct and return a new Instance shared pointer.
inName | The instance name. |
inType | The instance type. |
inTile | The instance tile, or an empty string if unplaced. |
inSite | The instance site, or an empty string if unplaced. |
inBonding | The specified bonding for unplaced IO, or eInstanceBondingUnknown for placed IO instances and non-IO instances. The default value is almost always correct. |
inInstanceReferencePtr | The module instance reference, if applicable. The default value is almost always correct. Note that instance references are never required for XDL, and are only supported to faithfully replicate XDL designs. |
Definition at line 81 of file physical/Factory.hpp.
|
inlinestatic |
Create and return a new InstanceReference shared pointer.
inInstantiationName | The name under which the reference module was instantiated. |
inModulePtr | The module containing the referenced instance. |
inInstancePtr | The instance being referenced. |
Definition at line 102 of file physical/Factory.hpp.
|
inlinestatic |
Create and return a new Module shared pointer.
inName | The module name. |
inAnchor | The anchor instance name for the module. The anchor designates the instance in the module relative to which the module will be placed. |
Definition at line 55 of file physical/Factory.hpp.
|
inlinestatic |
Create and return a new Net share pointer.
inName | The net name. |
inNetType | The net power type. |
Definition at line 93 of file physical/Factory.hpp.
|
inlinestatic |
Construct a pip and return it.
inTileName | The containing tile. |
inSourceWireName | The source wire. |
inSinkWireName | The sink wire. |
inPipDirection | The pip directionality. See EPipDirection. The most common value is ePipUnidirectionalBuffered, which represents a unidirectional buffered connection from source to sink. |
inRoutethroughPtr | The routethrough shared pointer. The default value creates no routethrough. |
Definition at line 126 of file physical/Factory.hpp.
|
inlinestatic |
Create and return a new Port shared pointer.
inName | The port name. |
inInstancePtr | The port instance pointer. |
inPinName | The port pin name. |
Definition at line 65 of file physical/Factory.hpp.
|
inlinestatic |
Construct and return a new Routethrough shared pointer.
Definition at line 133 of file physical/Factory.hpp.