![]() ![]() ![]() Note that the value of SO and S1 can be set by the vending machine owner. Two 8-bit inputs SO and S1 indicate the cost of the two types of soda drink. A coin sensor provides the processor with a 1-bit input C that becomes 1 when a coin is detected, and an 8-bit input V indicating the coin's value in cents. The machine has a single coin slot that accepts nickels, dimes and quarters, one at a time. Here is how the vending machine is supposed to work: Basic 8-bit vending machine processor design which offers support for two drinks and currency of 5 cent, 10 cent, 25 cent denominations.Īs an engineer working in a high tech company, asked to implement a RTL description of a vending machine processor using VHDL to control a vending machine.įigure 1 shows the block diagram of the vending machine:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |