Port map with if and process

Joined
Oct 12, 2011
Messages
1
Reaction score
0
Hi , I am currently working on FIR filter on vhdl on FPGA,(and yes i suck on programming)
Just wondering is it possible to do the if loop with port map?

here is my code. it keep telling me there is syntax error over there

Line 134: Syntax error near "PORT".
Line 139: Syntax error near ";".

Allocate_process : process(clka)
begin
Multi_Coeff1(index)<= Temp;
if (index>= 23 ) then
SigState(0)<= '1';
end if;
end process Allocate_process;


Multi1_process : process
begin
if(sigSTATE(0)='1')then

here>Alloc1:InputX_ROM PORT MAP
(
clka => clka,
addra => counter,
douta => Input
and here> );
end if;
end process Multi1_process;


PLEASE HELP ME
 

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
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top