Generate????

B

barbablu

Hi,
every time i try to use the FOR-GENERATE statement whit a gruop of signals i
have the error LOOP expected. Can i use this statement for repetitive code
with signals or i have to use only whit components?

Thanks.
 
N

Nicolas Matringe

barbablu a écrit:
Hi,
every time i try to use the FOR-GENERATE statement whit a gruop of signals i
have the error LOOP expected. Can i use this statement for repetitive code
with signals or i have to use only whit components?

Just don't use it inside a process.
 
M

mike_treseler

You can generate using any complete process,
as a base. This includes code templates,
or instances. Maybe your error is coming
from the base process code.

Try compiling a design entity with a
single base process with constant i
first. Once this is debugged, put it inside

make_processes: for i in 1 to 8 generate
<insert debugged process using i here>
end generate make_processes;


-- Mike Treseler
 

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

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,227
Latest member
Daniella65

Latest Threads

Top