Forum Discussion

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

Alarm clock code for verilog cannot compile

Hi, the attached file is the code that I created for alarm clock school project

It keeps giving me the error 'near "end": syntax error, unexpected end'. I have tried many ways to readjust the codes but nothing is working. Please help. Thank you

3 Replies

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

    That document is completely empty. It has three titles and nothing else, so how are we supposed to help?

    The error sounds like you have an 'end' statement without a 'begin' statement. Maybe check line 20943.