3D vector

K

krzyg

Guest
Greetings!
Is there any way to create 3-D vectors?
I'd like to have a vector (let's say 4-bit vector) to which I could
refer in the following way:

vector(0)(0) <= "0110";
vector(0)(1) <= "0001";

etc.
 
krzyg wrote:

Is there any way to create 3-D vectors?
Define a vector as type (1D)
Define an array consisting out of elements from the vector type. (2D)
Define an array consisting out of elements from the 2D-array type. (3D)
... go on...

Note that for some (older) synthesis tools even 2D-arrays are not
synthesizable -> Break everything down to a vector.

Ralf
 
Ralf Hildebrandt napisał(a):
krzyg wrote:

Is there any way to create 3-D vectors?


Define a vector as type (1D)
Define an array consisting out of elements from the vector type. (2D)
Define an array consisting out of elements from the 2D-array type. (3D)
.. go on...

Note that for some (older) synthesis tools even 2D-arrays are not
synthesizable -> Break everything down to a vector.

Ralf
Thanks!
I hope I won't be forced to break it down - the size of the vector is
determined by generic values (parameters) not by constants (flexibility
matter).
 

Welcome to EDABoard.com

Sponsor

Back
Top