16 #ifndef TORC_PACKER_XDLUNPACK_HPP
17 #define TORC_PACKER_XDLUNPACK_HPP
24 #include <boost/smart_ptr.hpp>
32 const string elementNames =
"SRUSED REVUSED PRECYINIT DUSED CUSED COUTUSED CEUSED BUSED AUSED DCY0 CCY0 BCY0 ACY0 END";
35 const string extraMuxNames =
"CY0G CY0F GYMUX DYMUX FXMUX DXMUX CYINIT DIG_MUX DIF_MUX XBMUX DOUTMUX COUTMUX BOUTMUX AOUTMUX DFFMUX CFFMUX BFFMUX AFFMUX ACY0 BCY0 CCY0 DCY0 PRECYINIT CDI1MUX BDI1MUX ADI1MUX WEMUX TMUX OMUX IDELMUX D2OBYP_SEL IFFDELMUX IFFMUX END";
70 pch = strtok (names,
" ");
76 pch = strtok (NULL,
" ");
92 #endif // TORC_PACKER_XDLUNPACK_HPP
void readPrimitives(const char *fileName)
Header for primitive parser.
boost::shared_ptr< Primitive > PrimitiveSharedPtr
Shared pointer encapsulation of a Primitive.
boost::shared_ptr< torc::physical::ConfigMap > ConfigMapSharedPtr
boost::shared_ptr< Port > PortSharedPtr
Shared pointer encapsulation of a Port.
boost::shared_ptr< class InstancePin > InstancePinSharedPtr
Shared pointer encapsulation of an InstancePin.
boost::shared_ptr< PrimitiveSet > PrimitiveSetSharedPtr
Shared pointer encapsulation of a PrimitiveSet.
boost::shared_ptr< Module > ModuleSharedPtr
Shared pointer encapsulation of a Module.
Header for primitive parser.
DesignSharedPtr operator()(const DesignSharedPtr &inDesignPtr)
Physical design instance.
const string elementNames
Header for the Design class.
PrimitiveSetSharedPtr primitives
void removeExtraElements(PrimitiveSharedPtr primPtr)
removes extra elements that are needed for unpacking
boost::shared_ptr< Net > NetSharedPtr
Shared pointer encapsulation of a Net.
boost::shared_ptr< Circuit > CircuitSharedPtr
Shared pointer encapsulation of a Circuit.
void unpack(const Circuit &circuit, CircuitSharedPtr newCircuit)
boost::shared_ptr< Design > DesignSharedPtr
Shared pointer encapsulation of a Design.
PrimitiveSetSharedPtr ParsePrimitiveFile(const char *inFileName)
parse an XDLRC file
Physical design programmable interconnect point.
boost::shared_ptr< Routethrough > RoutethroughSharedPtr
Shared pointer encapsulation of a Routethrough.
const string extraInvNames
boost::shared_ptr< torc::physical::Named > NamedSharedPtr
const string extraMuxNames
Module input or output port.
Circuit composed of instances and nets.
Header for the Factory class.
EPinDirection
Enumeration of instance pin directionality.
bool isExtraMux(string elem)