50 :
argc(boost::unit_test::framework::master_test_suite().
argc),
51 argv(boost::unit_test::framework::master_test_suite().
argv),
60 BOOST_REQUIRE(
argc >= 1);
64 BOOST_REQUIRE(designPtr.get() != 0);
66 BOOST_REQUIRE(ddbPtr != 0);
69 BOOST_CHECK_EQUAL(designPtr->getNetCount(), 1u);
70 BOOST_CHECK_EQUAL(ddbPtr->getArcUsage().getArcUsageCount(), 53u);
74 sourceTw = ddbPtr->lookupTilewire(
"CLBLL_X16Y39",
"L_C");
75 sourceTw2 = ddbPtr->lookupTilewire(
"CLBLL_X16Y39",
"L_CMUX");
77 architecture::Tilewire tempTw;
78 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X13Y42",
"L_D1");
79 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
80 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X18Y36",
"L_A1");
81 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
82 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X18Y36",
"L_D3");
83 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
84 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X13Y36",
"M_B6");
85 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
86 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X13Y36",
"M_C5");
87 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
88 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X13Y36",
"M_D3");
89 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
90 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X13Y42",
"L_D2");
91 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
92 tempTw = ddbPtr->lookupTilewire(
"CLBLL_X16Y42",
"L_A1");
93 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
94 tempTw = ddbPtr->lookupTilewire(
"CLBLL_X16Y42",
"L_CE");
95 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
96 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X18Y40",
"L_BX");
97 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
98 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X18Y40",
"L_B4");
99 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
architecture::XdlImporter importer
torc::common::DirectoryTree directoryTree
DesignSharedPtr getDesignPtr(void)
Returns a shared pointer for the design.
architecture::Tilewire sourceTw2
DDB * releaseDDBPtr(void)
Releases ownership of the device database. The caller is now responsible for deleting it...
std::map< architecture::Tilewire, int > sinkCounts
boost::filesystem::path referencePath
boost::filesystem::path testPath
architecture::DDB * ddbPtr
torc::physical::DesignSharedPtr designPtr
static const boost::filesystem::path & getExecutablePath(void)
Returns the absolute path to the executable directory.
architecture::Tilewire sourceTw