Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please draw the FSM for this question. Thanks. These automated pay machines provide daily permits. You need to specify it by an FSM and implement

Please draw the FSM for this question. Thanks.

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(bottom of the picture). To keep things simple and consistent for this lab, the state register should only be sensitive to the rising edge of the clock. The daily parking permit cost $20. Each pay station has a single slot, which accepts various bills. A subcontractor provides a bill sensor, which outputs a 3-bit vector named Input, representing $5, $10, $20, or cancelling the transaction. We dispense the permit (Permit = 1 for one clock cycle) when $20 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.

image text in transcribed

Permit Input Combinational Logic ReturnChange Currstate Nextstate State Register Clk

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

Semantics Of A Networked World Semantics For Grid Databases First International Ifip Conference Icsnw 2004 Paris France June 2004 Revised Selected Papers Lncs 3226

Authors: Mokrane Bouzeghoub ,Carole Goble ,Vipul Kashyap ,Stefano Spaccapietra

2004 Edition

3540236090, 978-3540236092

More Books

Students also viewed these Databases questions

Question

Address an envelope properly.

Answered: 1 week ago

Question

Discuss guidelines for ethical business communication.

Answered: 1 week ago