Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - 3D vector

 
Thread Tools Search this Thread
Old 09-01-2005, 08:37 PM   #1
Default 3D vector


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
  Reply With Quote
Old 09-01-2005, 08:53 PM   #2
Ralf Hildebrandt
 
Posts: n/a
Default Re: 3D vector
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
  Reply With Quote
Old 09-01-2005, 09:16 PM   #3
krzyg
 
Posts: n/a
Default Re: 3D vector
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).


krzyg
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to pass vector by reference vkaul1 Software 0 06-26-2009 06:03 AM
Code gets really slow when Class Has Vector eklein General Help Related Topics 0 06-26-2007 03:21 PM
DVD Verdict reviews: ELFEN LIED: VECTOR THREE (VOLUME 3) and more! DVD Verdict DVD Video 0 09-15-2005 09:11 AM
DVD Verdict reviews: LIGHTNING BUG, ELFEN LIED: VECTOR TWO (VOLUME 2), and more! DVD Verdict DVD Video 0 09-01-2005 09:12 AM
DVD Verdict reviews: ELFEN LIED: VECTOR ONE (VOLUME 1) and more! DVD Verdict DVD Video 0 06-09-2005 09:15 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46