19 #ifndef TORC_GENERIC_VERILOG_VERILOGIMPORTER_HPP
20 #define TORC_GENERIC_VERILOG_VERILOGIMPORTER_HPP
26 #include "torc/externals/verilator/src/V3Global.h"
27 #include <boost/smart_ptr.hpp>
28 #include <boost/filesystem.hpp>
35 namespace generic {
class VerilogImporterUnitTest; }
77 #endif // TORC_GENERIC_VERILOG_VERILOGIMPORTER_HPP
Importer from structural verilog format into a generic design.
string mStreamName
Name of file or input stream for error messages.
friend class torc::generic::generic::VerilogImporterUnitTest
The unit test class has access to our internals.
bool mSuccess
Flag signaling parsing success.
VerilogImporter(void)
Construct the parser importer context.
bool operator()(const boost::filesystem::path &inFilename, const std::string &inArguments=std::string())
Import Verilog from a file.
RootSharedPtr mRootPtr
Root of generic netlist.
std::string string
Imported type name.
boost::filesystem::path path
void failure(void)
Signals a parsing failure by deasserting the success flag.
RootSharedPtr getRootPtr(void)
Returns a shared pointer for the root.
boost::shared_ptr< Root > RootSharedPtr