Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please answer all parts asap A mask vending machine follows a set of instructional flow in order to dispense a mask to a user. It
please answer all parts asap
A mask vending machine follows a set of instructional flow in order to dispense a mask to a user. It allows a user to either use the barcode on an identity card or manual entry of identity card number for the machine to dispense a mask. You may assume the following: i) A barcode sensor is available to process the barcode of an identity card. The barcode sensor outputs a HIGH when the barcode is valid for a mask to be dispensed and outputs a LOW when the barcode is invalid. ii) A keyboard entry sensor is available to process the keyboard entry of the identity card number. The keyboard entry sensor outputs a HIGH when the entered number is valid for a mask to be dispensed and outputs a LOW when the number is invalid. You are required to: a) Design a state diagram to illustrate the operation of the vending machine. In your state diagram, indicate clearly the relationship between the inputs received by the machine, the outputs from the machine and the state transitions. Explain your decisions. b) Build the state transition table for the vending machine. Using D flip-flop c) ISketch the complete digital circuit for the state machine. Verify your design through Quartus simulation or other means by providing relevant screenshotsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started