14 using namespace torc::common;
15 using namespace torc::architecture;
16 using namespace torc::architecture::xilinx;
17 using namespace torc::physical;
59 "HCLK_IOB_CMT_BOT_MGT",
61 "HCLK_IOB_CMT_MID_MGT",
63 "HCLK_IOB_CMT_TOP_MGT",
66 "HCLK_IOI_BOTCEN_MGT",
71 "HCLK_IOI_TOPCEN_MGT",
94 "xc5vfx130t",
"ff1738",
"-2",
"v3.2");
99 designPtr->addInstance(instancePtr);
110 net->addSource(sourcePin);
111 net->addSink(sinkPin);
113 designPtr->addNet(net);
117 std::fstream xdlExport(xdlFilePath.string().c_str(), std::ios_base::out);
119 fileExporter(designPtr);
129 std::cout <<
"Tile name: " << tileInfo.
getName() <<
", Tile type name: "
135 for(
WireIndex wireIndex ; wireIndex < wireCount; wireIndex++) {
137 Tilewire source(inTileIndex, wireIndex);
144 TilewireVector::iterator p = sinks.begin();
145 TilewireVector::iterator e = sinks.end();
155 int main(
int argc,
char* argv[]) {
158 std::cerr <<
"Invalid arguments. Usage: " << argv[0] <<
159 " <xdl_generation_folder>" << std::endl;
177 const Tiles& tiles = ddb.getTiles();
182 uint32_t supportedTileIndex = 0;
194 supportedTileIndex++;
const char * mTileTypeName
The tile type name.
Encapsulation of a tile index in an unsigned 32-bit integer.
const std::string dummyInstName
void exportTileSinks(DDB &inDDB, TileIndex inTileIndex)
Export all pips within the specified tile.
std::vector< Tilewire > TilewireVector
Vector of Tilewire objects.
Main torc::architecture namespace header.
Encapsulation of a device designator and its constituent elements.
const std::string dummyInstSiteLcoation
Device database, including complete wiring and logic support.
TileTypeCount getTileTypeCount(void) const
Returns the tile type count for this device.
const Tiles & getTiles(void) const
Returns a constant reference to the family and device tile data.
const char * mWireName
The wire name.
const TileInfo & getTileInfo(TileIndex inTileIndex) const
Returns the TileInfo object for the specified tile.
const std::string dummyInstSiteType
Encapsulation of a wire index in an unsigned 16-bit integer.
boost::shared_ptr< class InstancePin > InstancePinSharedPtr
Shared pointer encapsulation of an InstancePin.
TileCount getTileCount(void) const
Returns the tile count for this device.
void expandTilewireSinks(const Tilewire &inTilewire, TilewireVector &outSinks, bool inUseTied=true, bool inUseRegular=true, bool inUseIrregular=true, bool inUseRoutethrough=true)
Expands the given tilewire's arc sinks.
static boost::filesystem::path gXDLGenerationFolder
const char * mTileName
The tile name.
Main torc::physical namespace header.
Encapsulation of a device tile and wire pair.
int main(int argc, char *argv[])
Export pips from arbitrary tiles for the given device.
Tile map, tile type, and wire information for the family and device.
Encapsulation of filesystem paths that are used by the library.
Encapsulation of a wire count in an unsigned 16-bit integer.
Encapsulation of a tile count in an unsigned 32-bit integer.
Encapsulation of a tile within a device tile map.
boost::shared_ptr< Net > NetSharedPtr
Shared pointer encapsulation of a Net.
const char * getTileTypeName(TileTypeIndex inTileTypeIndex) const
Returns the tile type name for the given tile type index.
Verbose encapsulation of a wire's information.
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.
boost::filesystem::path path
const TileTypeIndex & getTypeIndex(void) const
Returns the tile type index for this tile.
boost::shared_ptr< Instance > InstanceSharedPtr
Shared pointer encapsulation of an Instance.
boost::shared_ptr< Design > DesignSharedPtr
Shared pointer encapsulation of a Design.
const std::string kNameSeparator
Physical design programmable interconnect point.
const std::string kFamily
Encapsulation of a tile type index in an unsigned 16-bit integer.
const char * getName(void) const
Returns the name for this tile.
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.
Main torc::common namespace header.
WireCount getWireCount(TileTypeIndex inTileTypeIndex) const
Returns the wire count for the specified tile type.
Physical design exporter for XDL.
void exportSink(DDB &inDDB, Tilewire &inSource, Tilewire &inSink)
Export a single pip.
static const std::string kSupportedTiles[]