User guide

E-28
PLI Access Routines
acc_get_mda_range
The acc_get_mda_range routine returns the ranges of a
multidimensional array.
If you have a multidimensional array such as the following:
reg [7:0] my_mem[255:0][255:0][31:0];
acc_get_mda_range()
Synopsis: Gets all the ranges of the multidimensional array.
Syntax: acc_get_mda_range(mdaHandle, size, msb, lsb, dim, plndx,
prindex)
Type Description
Returns: void
Type Name Description
Arguments: handle mdaHandle Handle to the multidimensional
array
int * size Pointer to the size of the
multidimensional array
int * msb Pointer to the most significant bit
of a range
int * lsb Pointer to the least significant bit
of a range
int * dim Pointer to the number of
dimensions in the
multidimensional array
int * plndx Pointer to the left index of a range
int * prndx Pointer to the right index of a range
Related
routines:
tf_mdanodeinfo and tf_imdanodeinfo
acc_get_mda_word_range
acc_getmda_bitstr
acc_setmda_bitstr