torc-master
|
Importer from structural verilog format into a generic design. More...
#include <VerilogImporter.hpp>
Public Member Functions | |
VerilogImporter (void) | |
Construct the parser importer context. More... | |
bool | operator() (const boost::filesystem::path &inFilename, const std::string &inArguments=std::string()) |
Import Verilog from a file. More... | |
void | failure (void) |
Signals a parsing failure by deasserting the success flag. More... | |
RootSharedPtr | getRootPtr (void) |
Returns a shared pointer for the root. More... | |
Protected Types | |
typedef std::string | string |
Imported type name. More... | |
Protected Attributes | |
string | mStreamName |
Name of file or input stream for error messages. More... | |
bool | mSuccess |
Flag signaling parsing success. More... | |
RootSharedPtr | mRootPtr |
Root of generic netlist. More... | |
Friends | |
class | torc::generic::generic::VerilogImporterUnitTest |
The unit test class has access to our internals. More... | |
Importer from structural verilog format into a generic design.
Definition at line 38 of file VerilogImporter.hpp.
|
protected |
Imported type name.
Definition at line 45 of file VerilogImporter.hpp.
torc::generic::VerilogImporter::VerilogImporter | ( | void | ) |
Construct the parser importer context.
Definition at line 92 of file VerilogImporter.cpp.
|
inline |
Signals a parsing failure by deasserting the success flag.
Definition at line 67 of file VerilogImporter.hpp.
|
inline |
Returns a shared pointer for the root.
This root is created and populated during verilog import process.
Definition at line 71 of file VerilogImporter.hpp.
bool torc::generic::VerilogImporter::operator() | ( | const boost::filesystem::path & | inFilename, |
const std::string & | inArguments = std::string() |
||
) |
Import Verilog from a file.
inFilename | Input file name. |
inArguments | Additional Verilator command line arguments. |
Definition at line 97 of file VerilogImporter.cpp.
|
friend |
The unit test class has access to our internals.
Definition at line 42 of file VerilogImporter.hpp.
|
protected |
Root of generic netlist.
Definition at line 53 of file VerilogImporter.hpp.
|
protected |
Name of file or input stream for error messages.
Definition at line 48 of file VerilogImporter.hpp.
|
protected |
Flag signaling parsing success.
Definition at line 51 of file VerilogImporter.hpp.