Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write the VHDL behavior for this assignment In this assignment you will design a controller for parking permit dispensing machines. These automated pay machines provide
write the VHDL behavior for this assignment
In this assignment you will design a controller for parking permit dispensing machines. These automated pay machines provide daily permits. You need to specify it by an FSM and implement the controller with state register and combinational circuit (Figure 1). A sample simulation waveform is shown below (Figure 2). To keep things simple and consistent for this lab, the state register should only be sensitive to the rising edge of the clock (as shown in the lecture slides). The daily parking permit cost $20. Each pay station hasa single slot, which accepts various bills. A subcontractor provides a bill sensor, which outputs a 3-bit vector named Input, representing S5, $10, S20, or cancelling the transaction. We dispense the permit (Permit -'1' for one clock cycle) when S20 or more is collected and produce change if needed (ReturnChange '1' for one clock cycle). We do not have to worry about the exact amount of change, since that is taken care of by another module we communicate with outside of our circuit. If the user cancels the transaction before submitting the required amount, no permit is dispensed (Permit '0) and change is returned (ReturnChange -'1' for one clock cycle). After we dispense a permit and/or return change, we return to our initial state and await another transaction. In this assignment you will design a controller for parking permit dispensing machines. These automated pay machines provide daily permits. You need to specify it by an FSM and implement the controller with state register and combinational circuit (Figure 1). A sample simulation waveform is shown below (Figure 2). To keep things simple and consistent for this lab, the state register should only be sensitive to the rising edge of the clock (as shown in the lecture slides). The daily parking permit cost $20. Each pay station hasa single slot, which accepts various bills. A subcontractor provides a bill sensor, which outputs a 3-bit vector named Input, representing S5, $10, S20, or cancelling the transaction. We dispense the permit (Permit -'1' for one clock cycle) when S20 or more is collected and produce change if needed (ReturnChange '1' for one clock cycle). We do not have to worry about the exact amount of change, since that is taken care of by another module we communicate with outside of our circuit. If the user cancels the transaction before submitting the required amount, no permit is dispensed (Permit '0) and change is returned (ReturnChange -'1' for one clock cycle). After we dispense a permit and/or return change, we return to our initial state and await another transactionStep 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