19 #include <boost/test/unit_test.hpp>
26 BOOST_AUTO_TEST_SUITE(physical)
33 BOOST_REQUIRE(instancePtr.get() != 0);
35 instancePtr,
"source",
"sink");
36 BOOST_REQUIRE(routethroughPtr.get() != 0);
74 BOOST_CHECK(pip1 == pip1);
77 BOOST_AUTO_TEST_SUITE_END()
const char * getDirectionString(void) const
Returns the pip directionality as a string.
BOOST_AUTO_TEST_CASE(XdlUnpackUnitTest)
Unit test for the XdlUnpack class.
const WireName & getSinkWireName(void) const
Returns the pip sink wire.
RoutethroughSharedPtr getRoutethroughPtr(void) const
Returns the pip's routethrough pointer.
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.
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::shared_ptr< Instance > InstanceSharedPtr
Shared pointer encapsulation of an Instance.
const TileName & getTileName(void) const
Returns the pip tile.
EPipDirection getDirection(void) const
Returns the pip directionality.
Physical design programmable interconnect point.
const WireName & getSourceWireName(void) const
Returns the pip source wire.
boost::shared_ptr< Routethrough > RoutethroughSharedPtr
Shared pointer encapsulation of a Routethrough.
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.
Header for the Pip class.
EPipDirection
Enumeration of pip directionality.
Header for the Factory class.
static const char * getDirectionString(EPipDirection inPipDirection)
Returns the pip directionality as a string.
bool isRoutethrough(void) const
Indicates whether or not the pip has an associated routethrough.