Bundle

class spydrnet_physical.ir.bundle.Bundle[source]

Bases: 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

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_verilog_index

Returns the verilog index of element

get_wires

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