Nets¶
- class ipkiss3.all.Net(**kwargs)¶
Base class for objects describing connectivity: optical link, electrical net, …
- Parameters
- domain: __Domain__, required
- terms: list and List with type restriction, allowed types: <class ‘ipkiss3.pcell.netlist.term.Term’>, required
- name: ( str and String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters ), optional, *None allowed*
- get_terms()¶
retrieves the terms which are not InstanceTerms, which connect to tis net
- Returns
- list of Terms
- get_inst_terms()¶
retrieves the InstanceTerms connecting to this net
- Returns
- list of InstanceTerms
- is_internal()¶
checks if this net is internal: if it only connects instances within a certain cell and does not connect to terms of the cell or to global terms
- Returns
- bool: True if this is an internal net, False if this is not an internal net
- class ipkiss3.pcell.photonics.link.OpticalLink(term1=None, term2=None, *args, **kwargs)¶
A basic optical connection between two terms
The terms can be InstanceTerms, Terms or GlobalNets, connecting either terms of two instances, an instance term to a cell term, or an (instance) term to a global net
PhotonicLink(terms=[term1, term2]) PhotonicLink(term1, term2)
- Parameters
- terms: list and List with type restriction, allowed types: <class ‘ipkiss3.pcell.netlist.term.Term’>, required
- name: ( str and String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters ), optional, *None allowed*
- Other Parameters
- domain: locked
- validate_properties()¶