Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

REQUIREMENTS Design and implement the vending machine (explained in the lecture notes) using JK flip-flops. 1) Derive the state table. 2) Obtain the optimized FF

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

REQUIREMENTS Design and implement the vending machine (explained in the lecture notes) using JK flip-flops. 1) Derive the state table. 2) Obtain the optimized FF input and output equations. 3) Implement the circuit on Logisim software. 4) Finally, archive the related files and submit via MERGEN LMS. NOTES 1) Make sure that you connect a clock source, and reset FFs at initialization to put them into a known state. Example: Vending Machine Specification . deliver package of gum after 15 cents deposited single coin slot for dimes (10 cents), nickels (5 cents) no change N Coin Sensor D Open Vending Machine FSM Gum Release Mechanism Reset Cik Example: Vending Machine Inputs: N, D, reset Reset SO Output: open N D S1 S2 Coin Possibilities N D D N S3 S4 S5 S6 three nickels nickel, dime dime, nickel two dimes two nickels, dime open) Topen) Topen] N D S8 S7 [open] [open) Example: Vending Machine Reset 0 Present State O NV 5 D 5 N Inputs DN 0 0 0 1 1 0 1 1 0 0 0 1 1 0 1 1 0 0 0 1 1 0 1 1 X X Next State O 5 10 X 5 10 15 X 100 15 15 15 Output Open 0 0 0 X 0 0 0 X 0 0 0 1 10 D 10 N, D 15 (open) 15 reuse states whenever possible Symbolic State Table Example: Vending Machine Output Open 0 0 0 0 0 State Encoding Present State Inputs Next State Q, Qo DN D DO 0 0 0 0 0 0 0 1 0 1 1 0 1 0 1 1 X X 0 1 0 0 0 1 0 1 1 0 1 0 1 1 1 1 X X 1 0 0 0 1 0 0 1 1 1 1 0 1 1 1 1 x x 1 1 0 1 1 0 1 1 1 1 1 1 1 1 x x O XOO -Ool 0 1 1 1 Example: Vending Machine Q1 Q1 Q1 Q1 QO DN Q1 QO DN Q1 QO DN IN IN AN D D QO K-map for D1 QO K-map for DO QO K-map for Open Q1 D LK D type FFs for implementation 1Q Treset D1 = Q1 +D+QON I QO OPEN DO = N QO + QON + Q1 N + Q1D DO D Qo 1 Q. Q1 OPEN = Q1 Q0 JK Treset go 8 Gates

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

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

Students also viewed these Databases questions