Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

syntax error near process

Status
Not open for further replies.

parallax18

Newbie
Joined
Feb 20, 2021
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
18
1613847676929.png




1613847771047.png



1613847815256.png


Good evening,

I need your help for one technical problem. I can't solve an error in my VHDL soft project because an error appears
at the line "end process;" which tells me " syntax error near process".

Thank you very much for your help!
 

Hi,

Next time please upload code and error messages as text instead of big filesize pictures. Use code tags.
Text also enables text search.

Klaus
 

Good evening Klaus,

I transmit you my vhd sources. Thanks for your help!
 

Attachments

  • projectaff.txt
    3.2 KB · Views: 94

Review VHDL textbook about correct case statement syntax. Each case needs a matching end case.
--- Updated ---

Code:
case CMP is
    when 1 =>LED<= "1111001";
    when 2 =>LED<= "0100100";
    when 3 =>LED<= "0110000";
    when 4 =>LED<= "0011001";
    when 5 =>LED<= "0010010";
    when 6 =>LED<= "0000010";
    when 7 =>LED<= "1111000";
    when 8 =>LED<= "0000000";
    when 9 =>LED<= "0010000";
    when 0 =>LED<= "0000001";
    when others =>
end case;
 
Last edited:

Hello Klaus,

Thank you very much for your answer. You are right according to my errors.
There was a problem with the "case when" syntax.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top