Design of automatic stamp vending machine based on VHDL

Language: VHDL. Use the software vivado or quartus (this article).

Design an automatic stamp vending machine.
The switch level signal is used to simulate the coin insertion process, one coin at a time, but several coins can be inserted continuously. The machine can automatically identify the coin amount, the maximum is 1 yuan, and the minimum is 5 jiao. The fare is set at 2.5 yuan, and one ticket is sold at a time. When buying a ticket, insert coins first. When the total amount of coins inserted reaches or exceeds the face value of the ticket, the machine will give an instruction. At this time, you can press the ticket withdrawal button to take out the ticket. If the coin you cast exceeds the face value of the ticket, you will be prompted to change money. After you have taken the ticket, press Change.
The automatic ticket vending machine simulates the coin-inserting process with switch level signals, one coin is thrown at a time, but several coins can be thrown in continuously. The machine can automatically identify the coin amount, the maximum is 1 yuan, and the minimum is 5 jiao. The fare is set at 2.5 yuan, and one ticket is sold at a time. When buying a ticket, insert coins first. When the total amount of coins inserted reaches or exceeds the face value of the ticket, the machine will give an instruction. At this time, you can press the ticket withdrawal button to take out the ticket. If the coin you cast exceeds the face value of the ticket, you will be prompted to change money, and you can withdraw the money by pressing the change button after taking out the ticket.

The system module diagram is as follows:
Insert picture description here
The circuit diagram of RTL is as follows:

Guess you like

Origin blog.csdn.net/QQ_778132974/article/details/114748548