#include <netlist_parser.h>
Definition at line 42 of file netlist_parser.h.
◆ NetlistParser()
hal::NetlistParser::NetlistParser |
( |
| ) |
|
|
default |
◆ ~NetlistParser()
virtual hal::NetlistParser::~NetlistParser |
( |
| ) |
|
|
virtualdefault |
◆ instantiate()
Instantiate the parsed netlist using the specified gate library.
- Parameters
-
[in] | gate_library | - The gate library. |
- Returns
- A pointer to the resulting netlist.
Implemented in hal::VHDLParser, and hal::VerilogParser.
◆ parse()
virtual Result<std::monostate> hal::NetlistParser::parse |
( |
const std::filesystem::path & |
file_path | ) |
|
|
pure virtual |
Parse a netlist into an internal intermediate format.
- Parameters
-
[in] | file_path | - Path to the netlist file. |
- Returns
- True on success, false otherwise.
Implemented in hal::VHDLParser, and hal::VerilogParser.
◆ parse_and_instantiate()
Result<std::unique_ptr<Netlist> > hal::NetlistParser::parse_and_instantiate |
( |
const std::filesystem::path & |
file_path, |
|
|
const GateLibrary * |
gate_library |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file:
- /home/runner/work/hal/hal/include/hal_core/netlist/netlist_parser/netlist_parser.h