Array of array as in C ? how in vhdl!

Joined
Jul 12, 2007
Messages
1
Reaction score
0
I am doing manual conversions of C codes into VHDL, and I have this doubt, if in C code we have:
for (len = 0; len <= 15; len++) //BLOCK 1
count[len] = 0;
for (sym = 0; sym < codes;
sym++) //BLOCK 2
count[lens[sym]]++;

where count is array => count [16]
so how to write the statments in bold , in vhdl ?

Please help, its very much urgent for me.

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,170
Messages
2,570,925
Members
47,468
Latest member
Fannie44U3

Latest Threads

Top