Forum Discussion

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

Error 10500

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.

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --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

    );
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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