vpi.Array.zeros

static Array.zeros(capacity: int, type: vpi.Type) vpi.Array

Create a zeroed 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 initialized with zeroes.

Return type

vpi.Array