Wire¶
- class spydrnet_physical.ir.wire.Wire[source]¶
Bases:
WireThis 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
returns the driver(s) of the wire
Perform single bit assignement of self to given wire
__init__cloneclone wire in an api safe way.
connect_pinConnects a pin to the wire
disconnect_pinDisconnect a pin from the wire
disconnect_pins_fromDisconnect a list of pins from the wire
get_cablesget_cables(...)
get_definitionsget_definitions(...)
get_hcablesget_hcables(...)
get_hinstancesget_hinstances(...)
get_hpinsget_hpins(...)
get_hportsget_hports(...)
get_hwiresget_hwires(...)
get_instancesget_instances(...)
get_librariesget_libraries(...)
get_netlistsget_netlists(...)
get_pinsget_pins(...)
get_portsget_ports(...)
get_wiresget_wires(...)
Attributes:
cableThe cable that the wire contains
get_indexReturns python index of element
get_verilog_indexReturns verilog index of element
pinsThe 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