Forum Discussion
Altera_Forum
Honored Contributor
10 years agoVending Machine
Hi there. I have a school project which consists in a vending machine that has 3 products ( diferent prices) and i can only use 4 type of coins. My idea is to make a FSM ( where each state eq...
Altera_Forum
Honored Contributor
10 years agoSimilarly to the above remark, seems like wanted to create 1 state for each possible value, which is a real waste if compared to store the sum within 3 unsigned variables, 1 variable per product. In addition, it also would be better you drew a short draft of your design.