Wire

class spydrnet_physical.ir.wire.Wire[source]

Bases: Wire

This class extends the default Wire class

Methods:

index

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

get_driver

returns the driver(s) of the wire

assign_wire

Perform single bit assignement of self to given wire

isload

__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

get_cables(...)

get_definitions

get_definitions(...)

get_hcables

get_hcables(...)

get_hinstances

get_hinstances(...)

get_hpins

get_hpins(...)

get_hports

get_hports(...)

get_hwires

get_hwires(...)

get_instances

get_instances(...)

get_libraries

get_libraries(...)

get_netlists

get_netlists(...)

get_pins

get_pins(...)

get_ports

get_ports(...)

get_wires

get_wires(...)

loads

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

index()[source]

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

get_driver()[source]

returns the driver(s) of the wire

assign_wire(wire, reverse=False, assign_instance_name=None)[source]

Perform single bit assignement of self to given wire

isload(pin)[source]
loads()[source]