piel.integration.hdl21_gdsfactory.sky130#

Attributes#

Functions#

find_most_relevant_gds(component_name[, ...])

filter_port(port)

Filter the port name to match spice declaration to gds port name, specifically focused on the SKY130nm technology.

hdl21_module_to_schematic_editor(module, ...[, ...])

Constructs a SchematicEditor instance from a hdl21 module object.

Module Contents#

custom_mapping_dict#
find_most_relevant_gds(component_name, component_dict=None, custom_mapping=None)[source]#
filter_port(port)[source]#

Filter the port name to match spice declaration to gds port name, specifically focused on the SKY130nm technology.

hdl21_module_to_schematic_editor(module: piel.types.AnalogueModule, yaml_schematic_file_name: str, spice_gds_mapping_method: Callable | None = find_most_relevant_gds, port_filter_method: Callable = filter_port)[source]#

Constructs a SchematicEditor instance from a hdl21 module object.

Parameters:
  • module (h.module) – The hdl21 module object.

  • yaml_schematic_file_name (str) – The yaml schematic file name.

  • spice_gds_mapping_method (Callable) – The method to map the spice instance name to the component name.

  • port_filter_method (Callable) – The method to filter the port name.