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);
68 BOOST_CHECK_EQUAL(designPtr->getNetCount(), 1u);
69 BOOST_CHECK_EQUAL(ddbPtr->getArcUsage().getArcUsageCount(), 53u);
70 BOOST_TEST_MESSAGE(
"The pip count should include the routethrough.");
71 BOOST_CHECK_EQUAL(ddbPtr->getArcUsage().getArcUsageCount(), 54u);
73 sourceTw = ddbPtr->lookupTilewire(
"CLBLL_X16Y39",
"L_C");
74 sourceTw2 = ddbPtr->lookupTilewire(
"CLBLL_X16Y39",
"L_CMUX");
76 architecture::Tilewire tempTw;
77 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X13Y42",
"L_D1");
78 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
79 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X18Y36",
"L_A1");
80 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
81 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X18Y36",
"L_D3");
82 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
83 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X13Y36",
"M_B6");
84 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
85 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X13Y36",
"M_C5");
86 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
87 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X13Y36",
"M_D3");
88 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
89 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X13Y42",
"L_D2");
90 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
91 tempTw = ddbPtr->lookupTilewire(
"CLBLL_X16Y42",
"L_A1");
92 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
93 tempTw = ddbPtr->lookupTilewire(
"CLBLL_X16Y42",
"L_CE");
94 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
95 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X18Y40",
"L_BX");
96 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
97 tempTw = ddbPtr->lookupTilewire(
"CLBLM_X18Y40",
"L_B4");
98 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
torc::physical::DesignSharedPtr designPtr
architecture::DDB * ddbPtr
std::map< architecture::Tilewire, int > sinkCounts
boost::filesystem::path referencePath
DesignSharedPtr getDesignPtr(void)
Returns a shared pointer for the design.
DDB * releaseDDBPtr(void)
Releases ownership of the device database. The caller is now responsible for deleting it...
architecture::XdlImporter importer
boost::filesystem::path testPath
torc::common::DirectoryTree directoryTree
static const boost::filesystem::path & getExecutablePath(void)
Returns the absolute path to the executable directory.
architecture::Tilewire sourceTw
architecture::Tilewire sourceTw2