25 int main(
int argc,
char **argv) {
28 std::cerr <<
"Usage: " << argv[0] <<
" <XDL file path>" << std::endl;
34 std::fstream xdlFileStream(xdlFilePath.c_str());
35 if(!xdlFileStream.good()) {
36 std::cout <<
"Could not open file " << xdlFilePath << std::endl;
45 importer(xdlFileStream,
"XdlDesignExample");
52 customBitFile.replace_extension(
".custombit");
55 baseBitstreamPath.replace_extension(
".bit");
59 assemblerPtr->generateBitstream(designPtr, customBitFile);
Device database, including complete wiring and logic support.
DesignSharedPtr getDesignPtr(void)
Returns a shared pointer for the design.
Header for the DirectoryTree class.
static AssemblerSharedPtr newAssemblerPtr(torc::physical::DesignSharedPtr xdlDesignPtr, torc::architecture::DDB &inDB)
Base class for Xdl to bitstream conversion. This class is abstract but still contains lot of architec...
int main(int argc, char **argv)
Main torc::physical namespace header.
Encapsulation of filesystem paths that are used by the library.
boost::filesystem::path path
boost::shared_ptr< Design > DesignSharedPtr
Shared pointer encapsulation of a Design.
Importer from XDL format into a physical design.
boost::shared_ptr< Assembler > AssemblerSharedPtr
Typedef for shared pointer of Assembler class.