spydrnet.Port.__init__
- Port.__init__(name=None, properties=None, is_downto=None, is_scalar=None, lower_index=None, direction=None)[source]
Setup an empty port
- 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.
direction - (Enum) Define the possible directions for a given port. (UNDEFINED, INOUT, IN, – OUT)