vpi.Array
- class vpi.Array(capacity: int, type: vpi.Type) vpi.Array
Create an empty array instance.
- Parameters
capacity (int) – The capacity (maximum number of elements) of the array.
type (vpi.Type) – The type of the array.
- Returns
The array.
- Return type
Hint
The contents of an array instance can be accessed via
container methods.Attributes
capacityCapacity (maximum number of elements) of the array.
idIndex (sequential number) of the instance.
sizeSize (current number of elements) of the array.
typeType of the array (see
array types).