process(reset,clk)
variable temp1 : STD_LOGIC_VECTOR (output_width-1 DOWNTO 0);
begin
if(reset ='1')then
sum <= (others => '0');
prodmac <= (others => '0');
temp1 := (others => '0');
elsif( clk'event and clk ='0')then
if (nd ='1') then
m1: Mul16 port map(A,B,prodmac);
end if;
Is the Above instantiation of Component Mul16 Correct?? because i'm getting an error while compiling, 'Illegal Sequential Statement'
Help me please
variable temp1 : STD_LOGIC_VECTOR (output_width-1 DOWNTO 0);
begin
if(reset ='1')then
sum <= (others => '0');
prodmac <= (others => '0');
temp1 := (others => '0');
elsif( clk'event and clk ='0')then
if (nd ='1') then
m1: Mul16 port map(A,B,prodmac);
end if;
Is the Above instantiation of Component Mul16 Correct?? because i'm getting an error while compiling, 'Illegal Sequential Statement'
Help me please