Wire¶
- class spydrnet_physical.ir.wire.Wire[source]¶
Bases:
spydrnet.ir.wire.Wire
This class extends the default Wire class
Methods:
if this wire is in a cable, returns the index number of the wire in the parent cable, respects down_to and lower_index parameters
__init__
clone
clone wire in an api safe way.
connect_pin
Connects a pin to the wire
disconnect_pin
Disconnect a pin from the wire
disconnect_pins_from
Disconnect a list of pins from the wire
get_cables
Shortcut to
get_cables()
.get_definitions
Shortcut to
get_definitions()
.returns the driver(s) of the wire
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()
.Attributes:
cable
The cable that the wire contains
get_index
Returns python index of element
get_verilog_index
Returns verilog index of element
pins
The a list of pins that the wire is connected to