Forum Discussion
Altera_Forum
Honored Contributor
14 years agoError 10500: VHDL Syntax
I am working on a code for a basic vending machine that will give out a product at 75cents BUt for some reason I dont know how to fix this syntax error
Library ieee;
Use ieee.numeric_std.all;...
Altera_Forum
Honored Contributor
14 years agoMay be, you prefer the process that control state machine this way:
process(.... begin next_state <= Current_state; case.... So, by default the state machine preserves current state, and avoid unintented latches. If a condition in the case matches, then next_state will be modified.