Altera_Forum
Honored Contributor
17 years agoComponent syntax error - help fast
COMPONENT DIVIDER IS
PORT ( NUMERATOR, DENOMINATOR: IN STD_LOGIC_VECTOR ( 9 DOWNTO 0 ); QUOTIENT, REMAINDER: OUT STD_LOGIC_VECTOR ( 9 DOWNTO 0 )); END COMPONENT; MODULE2: DIVIDER PORT MAP( DIS_1POS, TOTALTIME * FREQUENCY, VEL_QUO, VEL_REM ); above is the code, here is the errors: Error (10500): VHDL syntax error at distance.vhd(54) near text "PORT"; expecting "(", or "'", or "." Error (10500): VHDL syntax error at distance.vhd(54) near text ";"; expecting ":=", or "<=" I don't understand what I did wrong... please help me quickly... thanks