OuterPin

class spydrnet_physical.ir.outerpin.OuterPin(instance=None, inner_pin=None)[source]

Bases: spydrnet.ir.outerpin.OuterPin

This class extends the default OuterPin class

Attributes:

port

Return the port that the inner pin is a part of.

get_index

Returns python index of element

get_verilog_index

Returns verilog index of element

inner_pin

get the inner pin associated with this outer pin

instance

Return the instance with which this pin is associated

is_connected

Checks if this pin is connected to any wire

wire

Get the wire the pin is connected to.

Methods:

__init__

create an OuterPin.

clone

Clone the pin in an api safe way.

from_instance_and_inner_pin

Create an outer pin associated with a given inner_pin and instance object.

get_cables

Shortcut to get_cables().

get_definitions

Shortcut to get_definitions().

get_hcables

Shortcut to get_hcables().

get_hinstances

Shortcut to get_hinstances().

get_hpins

Shortcut to get_hpins().

get_hports

Shortcut to get_hports().

get_hwires

Shortcut to get_hwires().

get_instances

Shortcut to get_instances().

get_libraries

Shortcut to get_libraries().

get_netlists

Shortcut to get_netlists().

get_pins

Shortcut to get_pins().

get_ports

Shortcut to get_ports().

get_wires

Shortcut to get_wires().

property port

Return the port that the inner pin is a part of. This object cannot be modified directly by the end user.

property get_index

Returns python index of element

As outer pins do not have port associated with it the index is copied from corrosponding innerpins