spydrnet.Cable.__init__

Cable.__init__(name=None, properties=None, is_downto=None, is_scalar=None, lower_index=None)[source]

Create a cable with no wires and default values for a bundle.

Parameters:
  • name - (str) the name of this instance

  • properties - (dict) the dictionary which holds the properties

  • id_downto - (bool) set the downto status. Downto is False if the right index is higher than – the left one, True otherwise

  • is_scalar - (bool) set the scalar status. Return True if the item is a scalar False – otherwise.

  • lower_index - (int) get the value of the lower index of the array.