Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

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 transaction

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle RMAN For Absolute Beginners

Authors: Darl Kuhn

1st Edition

1484207637, 9781484207635

Students also viewed these Databases questions

Question

=+5. Who could serve as your champion in the workplace?

Answered: 1 week ago

Question

=+7. What would freedom in the workplace look like for you?

Answered: 1 week ago