#include <gate_library_parser.h>
The gate library parser is the base class that needs to be inherited from all parsers that shall be registered with HAL.
Definition at line 42 of file gate_library_parser.h.
◆ GateLibraryParser()
hal::GateLibraryParser::GateLibraryParser |
( |
| ) |
|
|
default |
◆ ~GateLibraryParser()
virtual hal::GateLibraryParser::~GateLibraryParser |
( |
| ) |
|
|
virtualdefault |
◆ parse()
virtual Result<std::unique_ptr<GateLibrary> > hal::GateLibraryParser::parse |
( |
const std::filesystem::path & |
file_path | ) |
|
|
pure virtual |
Parses the gate library definition file.
- Parameters
-
[in] | file_path | - Path to the file containing the gate library definition. |
- Returns
- The gate library on success, an error otherwise.
Implemented in hal::LibertyParser, and hal::HGLParser.
The documentation for this class was generated from the following file:
- /home/runner/work/hal/hal/include/hal_core/netlist/gate_library/gate_library_parser/gate_library_parser.h