Cap3Interdigital.connect_components_already_in_design#

Cap3Interdigital.connect_components_already_in_design(pin_name_self: str, comp2_id: int, pin2_name: str) int#
WARNING: Do NOT use this method during generation of component instance.

This method is expecting self to be added to design._components dict. More importantly, the unique id of self component needs to be in design._components dict.

Parameters:
  • pin_name_self (str) – Name of pin within the component.

  • comp2_id (int) – Component within design, but not self.

  • pin2_name (str) – The pin of comp2_id that pin_name_self will connect to.

Returns:

A unique net_id for the connection.

Return type:

int