InnerPin

class spydrnet_physical.ir.innerpin.InnerPin[source]

Bases: spydrnet.ir.innerpin.InnerPin

This class extends the default InnerPin class

Methods:

__init__

clone

Clone the inner pin in an api safe way.

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().

index

if this wire is in a cable, returns the index number of the wire in the parent cable

Attributes:

get_index

Returns python index of element

get_verilog_index

Returns verilog index of element

is_connected

Checks if this pin is connected to any wire

port

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

wire

Get the wire the pin is connected to.

index()[source]

if this wire is in a cable, returns the index number of the wire in the parent cable