pynq.pl_server.hwh_parser Module

The pynq.pl_server.hwh_parser module parses the metadata file (hwh file). The goal is to extract useful information about the bitstream, including IP parameters, system clocks, block hierarchy, interruputs, and many others. This is the recommended way of getting overlay information.


alias of pynq.pl_server.hwh_parser._HWHABC


This method returns the name of the hwh file.

For example, the input “/home/xilinx/pynq/overlays/base/base.bit” will lead to the result “/home/xilinx/pynq/overlays/base/base.hwh”.

Parameters:bitfile_name (str) – The absolute path of the .bit file.
Returns:The absolute path of the .hwh file.
Return type:str

Convert a hex or decimal string into an int.

Parameters:a (string) – The input string representation of the number.
Returns:The decimal number.
Return type:int