verilog module instantiation
COMPONENT Calc
PORT(
eof : IN std_logic;
blank : IN std_logic;
clk1x : IN std_logic;
r : IN std_logic_vector(2 downto 0);
rmd : OUT std_logic_vector(7 downto 0);
mlpl : OUT std_logic_vector(31 downto 0);
sqr : OUT std_logic_vector(31 downto 0);
quo : OUT std_logic_vector(31 downto 0)
);
END COMPONENT;
CPU: Calc PORT MAP(
eof => eof,
blank => blank,
clk1x => clk,
r => r,
rmd => rmd,
mlpl => mlpl,
sqr => sqr,
quo => quo
);
But if i go for components (as done above)
I get this much of errors
ERROR:HDLParsers:164 - "F:/XESS/Programms/trial/Video Modification For corelation/video.vhd" Line 489. parse error, unexpected COMPONENT
ERROR:HDLParsers:164 - "F:/XESS/Programms/trial/Video Modification For corelation/video.vhd" Line 492. parse error, unexpected IN
ERROR:HDLParsers:164 - "F:/XESS/Programms/trial/Video Modification For corelation/video.vhd" Line 493. parse error, unexpected IN
ERROR:HDLParsers:164 - "F:/XESS/Programms/trial/Video Modification For corelation/video.vhd" Line 494. parse error, unexpected IN
ERROR:HDLParsers:164 - "F:/XESS/Programms/trial/Video Modification For corelation/video.vhd" Line 495. parse error, unexpected TOKOUT
ERROR:HDLParsers:164 - "F:/XESS/Programms/trial/Video Modification For corelation/video.vhd" Line 496. parse error, unexpected TOKOUT
ERROR:HDLParsers:164 - "F:/XESS/Programms/trial/Video Modification For corelation/video.vhd" Line 497. parse error, unexpected TOKOUT
ERROR:HDLParsers:164 - "F:/XESS/Programms/trial/Video Modification For corelation/video.vhd" Line 498. parse error, unexpected TOKOUT