Forum Discussion

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

Quartus II: Error(10777)

Hello, I'm getting an error:

--- Quote Start ---

Error (10777): VHDL error at part1.vhd(47): expected an architecture identifier in index

--- Quote End ---

and when I highlight this error and go to the quartus documentation, the only information that I get is:

--- Quote Start ---

CAUSE: Quartus II Integrated Synthesis generated the specified error message for the specified location in a Design File.

ACTION: Fix the problem identified by the message text. A future version of the Quartus II software will provide more extensive Help for this error message.

--- Quote End ---

I've attached part1.vhd and the components related to it.

If someone could please help me understand this problem, I'd really appreciate it.

Thanks.

3 Replies

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

    Hi, The issue is that Quartus II is seeing your code as an array operation rather than as a component instance as there is no "port map" string.

    cnt16 : TFFcounter16bit(SW1, KEY0, SW0, Qout);

    Try altering your syntax to:

    cnt16 : TFFcounter16bit port map(SW1, KEY0, SW0, Qout);

    This will also need to be done for the instances of HEX:

    seg0 : HEX port map (Qout(3 downto 0), HEX0);
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Wow! Can't believe i didn't catch that! thanks for your help! :) I spent hours, maybe even a whole day trying to figure that one out.

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

    I had the same [childish] issue with error message:

    [Synth 8-1977] expected an architecture identifier in index

    Since there was no hit on search for this error code, I'm hereby attaching it.

    Port mapping helps :p