Bundle

class spydrnet_physical.ir.bundle.Bundle[source]

Bases: spydrnet.ir.Bundle

This class extends the default Bundle class

Attributes:

size

Returns size of the bundle

data

Data stores information about the element

definition

Get the definition that this bundle belongs to.

is_array

This is the logical inverse of is_scalar.

is_downto

Get the downto status of the bundle.

is_scalar

Return True if the item is a scalar False otherwise.

lower_index

Get the value of the lower index of the array.

name

The name of this element

properties

Returns properties of the object

Methods:

get_index

Returns the python index of element

__init__

Initialize an element with an empty data dictionary.

get

get the item from the data structure

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_verilog_index

Returns the verilog index of element

get_wires

Shortcut to get_wires().

pop

pop the object from the data structure

somhing

property size: int

Returns size of the bundle

get_index(element)[source]

Returns the python index of element

get_verilog_index(element)[source]

Returns the verilog index of element