#include <verilog_parser.h>
Definition at line 48 of file verilog_parser.h.
◆ VerilogParser()
hal::VerilogParser::VerilogParser |
( |
| ) |
|
|
default |
◆ ~VerilogParser()
hal::VerilogParser::~VerilogParser |
( |
| ) |
|
|
default |
◆ instantiate()
Instantiate the parsed Verilog netlist using the specified gate library.
- Parameters
-
[in] | gate_library | - The gate library. |
- Returns
- A pointer to the resulting netlist.
Implements hal::NetlistParser.
Definition at line 238 of file verilog_parser.cpp.
References hal::Netlist::create_net(), hal::netlist_factory::create_netlist(), hal::Netlist::delete_net(), ERR, ERR_APPEND, hal::GateLibrary::get_gate_types(), hal::GateLibrary::get_gnd_gate_types(), hal::GateLibrary::get_name(), hal::Net::get_name(), hal::Netlist::get_nets(), hal::GateLibrary::get_vcc_gate_types(), hal::Netlist::load_gate_locations_from_data(), hal::ShortestPath::module(), name, net, and OK.
◆ parse()
Result< std::monostate > hal::VerilogParser::parse |
( |
const std::filesystem::path & |
file_path | ) |
|
|
overridevirtual |
Parse a Verilog netlist into an internal intermediate format.
- Parameters
-
[in] | file_path | - Path to the Verilog netlist file. |
- Returns
- True on success, false otherwise.
Implements hal::NetlistParser.
Definition at line 22 of file verilog_parser.cpp.
References ERR, ERR_APPEND, and OK.
The documentation for this class was generated from the following files: