Netlist Factory

hal_py.netlist_factory.create_netlist(gate_library_name: str) → hal_py.netlist

Creates a new netlist for a specific gate library.

Parameters:gate_library_name (str) – Name of hardware gate library.
Returns:The new netlist.
Return type:hal_py.netlist
hal_py.netlist_factory.load_netlist(*args, **kwargs)

Overloaded function.

  1. load_netlist(hdl_file: hal_py.hal_path, language: str, gate_library_name: str) -> hal_py.netlist

Creates a new netlist for a specific file.

Parameters:
  • hdl_file (hal_py.hal_path) – Name of the hdl file.
  • language (str) – Programming language uses in parameter file_name.
  • gate_library_name – Name of hardware gate library.
Returns:

The new netlist.

Return type:

hal_py.netlist

  1. load_netlist(hal_file: hal_py.hal_path) -> hal_py.netlist

Creates a new netlist for a specific ‘.hal’ file.

Parameters:hal_file (hal_py.hal_path) – Name of the ‘.hal’ file.
Returns:The new netlist.
Return type:hal_py.netlist