Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Compilation Error in the Lights example of DE2 Board

i amnew to the Altera Tools and learning the Introduction to the Altera SOPC Builder Using VHDL Design working on led display with switches example.

i followed every step as per instruction.i type the lights.vhd but at the time of compilation i m getting error like

Error (10500): VHDL syntax error at nios_system_inst.vhd(13) near text "nios_system_ins"; expecting "entity", or "architecture", or "use", or "library", or "package", or "configuration"..

The error points to the folowing SOPC generated file

the error is

nios_system_inst : nios_system

port map(

out_port_from_the_LEDs => out_port_from_the_LEDs,

clk_0 => clk_0,

in_port_to_the_Switches => in_port_to_the_Switches,

reset_n => reset_n

);