19 #include <boost/test/unit_test.hpp>
27 BOOST_AUTO_TEST_SUITE(physical)
42 deviceSpeedGrade, xdlVersion);
44 BOOST_CHECK_EQUAL(s.str(),
"blinker [xc5vlx30ff324-1, v3.2]");
53 BOOST_CHECK_EQUAL(s.str(),
"osc7 [x0y0]");
63 instanceTile, instanceSite);
65 BOOST_CHECK_EQUAL(s.str(),
"blink");
74 BOOST_CHECK_EQUAL(s.str(),
"blink");
82 BOOST_CHECK_EQUAL(s.str(),
"blink.DQ");
93 BOOST_CHECK_EQUAL(s.str(),
"CLBLL_X16Y59 L_DQ -> SITE_LOGIC_OUTS3");
100 Config config(configName, configValue);
102 BOOST_CHECK_EQUAL(s.str(),
"blink:#FF");
106 BOOST_AUTO_TEST_SUITE_END()
ENetType
Enumeration of net power types.
static NetSharedPtr newNetPtr(const string &inName, ENetType inNetType=eNetTypeNormal)
Create and return a new Net share pointer.
boost::shared_ptr< class InstancePin > InstancePinSharedPtr
Shared pointer encapsulation of an InstancePin.
BOOST_AUTO_TEST_CASE(XdlUnpackUnitTest)
Unit test for the XdlUnpack class.
boost::shared_ptr< Module > ModuleSharedPtr
Shared pointer encapsulation of a Module.
Configuration. A {name:value} pair.
Header for torc::physical output stream helpers.
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.
boost::shared_ptr< Net > NetSharedPtr
Shared pointer encapsulation of a Net.
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.
boost::shared_ptr< Design > DesignSharedPtr
Shared pointer encapsulation of a Design.
Physical design programmable interconnect point.
static InstancePinSharedPtr newInstancePinPtr(InstanceSharedPtr inInstancePtr, const string &inPinName)
Construct and return a new InstancePin shared pointer.
static ModuleSharedPtr newModulePtr(const string &inName, const string &inAnchor)
Create and return a new Module shared pointer.
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.
EPipDirection
Enumeration of pip directionality.
Header for the Factory class.