Forum Discussion
Altera_Forum
Honored Contributor
10 years agosyntax error at medias_2.vhd(31) near text "in"; expecting "(",
I've got this error in the following code, what's wrong in it? Thanks in advance. library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_signed.ALL; use IEEE.STD_LOGIC_arith.ALL; ...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- I dont know, as line 31 in the code you posted is a blank line. This is a pretty simple error to find and fix yourself. Just get a decent text editor - they all do bracket matching to ensure each ( has a corresponding ) And again - I cant see your real code, so no idea whether removing std_logic_arith is going to help (but you shouldnt use it anyway) --- Quote End --- Line 31 is the one where "for x in 1 to 48" appears for the first time.