120 :
argc(boost::unit_test::framework::master_test_suite().
argc),
121 argv(boost::unit_test::framework::master_test_suite().
argv),
130 BOOST_REQUIRE(
argc >= 1);
134 BOOST_REQUIRE(designPtr.get() != 0);
136 BOOST_REQUIRE(ddbPtr != 0);
138 BOOST_CHECK_EQUAL(designPtr->getNetCount(), 1u);
139 BOOST_CHECK_EQUAL(ddbPtr->getArcUsage().getArcUsageCount(), 34u);
141 sourceTw1 = ddbPtr->lookupTilewire(
"R7C14",
"TBUF_OUT0");
142 sourceTw2 = ddbPtr->lookupTilewire(
"R7C18",
"TBUF_OUT0");
144 architecture::Tilewire tempTw;
145 tempTw = ddbPtr->lookupTilewire(
"R7C14",
"S0_F_B1");
146 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
147 tempTw = ddbPtr->lookupTilewire(
"R7C14",
"S1_F_B1");
148 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
149 tempTw = ddbPtr->lookupTilewire(
"R7C14",
"S1_G_B1");
150 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
151 tempTw = ddbPtr->lookupTilewire(
"R7C14",
"S0_G_B1");
152 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
153 tempTw = ddbPtr->lookupTilewire(
"R7C18",
"S1_G_B1");
154 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
155 tempTw = ddbPtr->lookupTilewire(
"R7C18",
"S0_F_B1");
156 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
157 tempTw = ddbPtr->lookupTilewire(
"R7C18",
"S1_F_B1");
158 sinkCounts.insert(std::pair<architecture::Tilewire, int>(tempTw, 0));
DesignSharedPtr getDesignPtr(void)
Returns a shared pointer for the design.
boost::filesystem::path testPath
torc::common::DirectoryTree directoryTree
DDB * releaseDDBPtr(void)
Releases ownership of the device database. The caller is now responsible for deleting it...
architecture::DDB * ddbPtr
architecture::XdlImporter importer
architecture::Tilewire sourceTw1
std::map< architecture::Tilewire, int > sinkCounts
architecture::Tilewire sourceTw2
torc::physical::DesignSharedPtr designPtr
boost::filesystem::path referencePath
static const boost::filesystem::path & getExecutablePath(void)
Returns the absolute path to the executable directory.