|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
#include </home/runner/work/hal/hal/plugins/hgl_parser/include/hgl_parser/hgl_parser.h>


Public Member Functions | |
| HGLParser ()=default | |
| ~HGLParser ()=default | |
| Result< std::unique_ptr< GateLibrary > > | parse (const std::filesystem::path &file_path) override |
Public Member Functions inherited from hal::GateLibraryParser | |
| GateLibraryParser ()=default | |
| virtual | ~GateLibraryParser ()=default |
A gate library parser for HAL's own HGL gate library format.
Definition at line 45 of file hgl_parser.h.
|
default |
|
default |
|
overridevirtual |
Deserializes a gate library in HGL format from the string stream into a gate library object.
| [in] | file_path | - Path to the file containing the gate library definition. |
nullptr on failure. Implements hal::GateLibraryParser.
Definition at line 17 of file hgl_parser.cpp.
References ERR, ERR_APPEND, and OK.