Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Error 10500

Altera_Forum
Honored Contributor II
1,974 Views

I've finished creating the NIOS II processor system without errors. During integrating the system into Quartus II project I've got an error (10500): VHDL syntax error at CHKMNG_inst.vhd(2) near text "CHKMNG_inst"; expecting "entity", or "architecture", or "use", or "library", or "package", or "configuration". But in Altera's examples files *_inst.vhd have the same syntax! How to fix this problem? 

Thanking you in anticipation.
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
1,004 Views

Could you put the CHKMNG_inst.vhd file please.

0 Kudos
Altera_Forum
Honored Contributor II
1,004 Views

--Example instantiation for system 'CHKMNG' 

CHKMNG_inst : CHKMNG 

port map( 

out_port_from_the_ACHK => out_port_from_the_ACHK, 

out_port_from_the_CTR0HEX => out_port_from_the_CTR0HEX, 

out_port_from_the_CTR1HEX => out_port_from_the_CTR1HEX, 

out_port_from_the_CTR2HEX => out_port_from_the_CTR2HEX, 

out_port_from_the_CTR3HEX => out_port_from_the_CTR3HEX, 

out_port_from_the_ERR => out_port_from_the_ERR, 

out_port_from_the_PASS => out_port_from_the_PASS, 

out_port_from_the_PMARK => out_port_from_the_PMARK, 

out_port_from_the_RST => out_port_from_the_RST, 

out_port_from_the_WCHK => out_port_from_the_WCHK, 

clk_0 => clk_0, 

in_port_to_the_KEY => in_port_to_the_KEY, 

in_port_to_the_RSIN => in_port_to_the_RSIN, 

in_port_to_the_RSVAL => in_port_to_the_RSVAL, 

reset_n => reset_n 

);
0 Kudos
Altera_Forum
Honored Contributor II
1,004 Views

The problem is not here but before, because Quartus expects something else than CHKMNG_inst. 

 

So can you put all the code before also please.
0 Kudos
Altera_Forum
Honored Contributor II
1,004 Views

It's a whole file. There is nothing else in it. SOPC Builder generated it automatically.

0 Kudos
Altera_Forum
Honored Contributor II
1,004 Views

But this file is just an example. To instantiate this component, you use the same code but with your input/output signals. 

This file should not be integrated in a Quartus II project. If it is not clear ask any question.
0 Kudos
Altera_Forum
Honored Contributor II
1,004 Views

I removed file CHKMNG_inst.vhd from the list of project files and problem disappeared. Thank you very much!

0 Kudos
Reply