Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

1. Design a Moore-type circuit (outputs depend on current state only) to implement the system described below. The system has 3 inputs and 2 outputs.

1. Design a Moore-type circuit (outputs depend on current state only) to implement the system described below. The system has 3 inputs and 2 outputs.

Inputs:

CLK - represents the system clock. Use BTN1 on the Basys 2 board (Figure 3 shows button-to-pin mapping on the Basys 2 board).

a, b - coin selection inputs specified in the table below. Use SW1 and SW2, respectively (Figure 1 shows switch-to-pin mapping).

a

b

Description

0

0

Do nothing

0

1

Received $0.05

1

0

Received $0.10

1

1

Received $0.25

Outputs:

f, g - action taken outputs specified in the table below. Use LED1 and LED2, respectively (Figure 2 shows LED-to-pin mapping).

f

g

Description

0

0

Dispense a water

0

1

Give $0.05 change

1

0

Give $0.10 change

1

1

Do nothing

Details about the design:

1. The price of a water is $0.15.

2. The machine can accept $0.25, $0.10, and $0.05 coins.

3. The machine dispenses a water as soon as it has received $0.15 or more.

4. If the amount received exceeds $0.15, then return the correct change to the customer.

5. SHOW KMAPS

You may wish to write the Verilog code for your design prior to the lab, but this is not required.

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_2

Step: 3

blur-text-image_3

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 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

More Books

Students explore these related Databases questions

Question

Are the rules readily available?

Answered: 3 weeks ago

Question

Are these written ground rules?

Answered: 3 weeks ago