HAL allows you to view and analyze the circuit in the GUI and manipulate it using Python scripts. In scripts, you can use the attached βstandard libraryβ of functions that implement graph theory operations useful for reverse engineering digital electronic circuits (using these functions, you can heuristically detect some design patterns and remove simple obfuscations with a script in a few lines). The library also includes classes for project management in the IDE, which can be used when developing plug-ins for analyzing and inspecting connections. Parsers are provided for the VHDL and Verilog hardware description languages.
Source: opennet.ru