RSVendingMchn

RSVendingMchn - Vending Machine Example using RS flip-flops...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Vending Machine Example using RS flip-flops
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Present State / Next State Table Present States Inputs Next States Flip-flop 1 Flip-flop 0 Q1 Q0 D N Q1 + Q0 + R1 S1 R0 S0 0 0 0 0 0 0 0 1 0 1 0 1 2 1 0 1 0 3 1 1 X X 4 0 1 0 0 0 1 5 0 1 1 0 6 1 0 1 1 7 1 1 X X 8 1 0 0 0 1 0 9 0 1 1 1 10 1 0 1 1 11 1 1 X X 12 1 1 0 0 1 1 13 0 1 1 1 14 1 0 1 1 15 1 1 X X Minimized next-state equations (from text) 10 0 0 0 1 QDQ D Q N QQ NQ + 1 Q 1 D + =++ = + + + Output equation: 0 Q 1 Open=Q 2
Background image of page 2
Present State / Next State Table Present States Inputs Next States Flip-flop 1 Flip-flop 0 Q1 Q0 D N Q1 + Q0 + R1 S1 R0 S0 0 0 0 0 0 0 0 - 0 1 0 1 0 1 - 0 2 1 0 1 0 0 1 3 1 1 X X X X 4 0 1 0 0 0 1 - 0 5 0 1 1 0 0 1 6 1 0 1 1 0 1 7 1 1 X X X X 8 1 0 0 0 1 0 0 - 9 0 1 1 1 0 - 10 1 0 1 1 0 - 11 1 1 X X X X 12 1 1 0 0 1 1 0 - 13 0 1 1 1 0 - 14 1 0 1 1 0 - 15 1 1 X X X X 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 00 01 11 10 0 1 2 3 4 5 6 7 13 14 15 12 8 9 10 11 00 01 11 10 R1 D N Q1 Q0 0 0 0 0 0 0 0 0 0 X X XX X X X 00 01 11 10 0 1 2 3 4 5 6 7 13 14 15 12 8 9 10 11 00 01 11 10 S1 D N Q1 Q0 1 1 1 X X
Background image of page 4
Present State / Next State Table Present States Inputs Next States Flip-flop 1 Flip-flop 0 Q1 Q0 D N Q1 + Q0 + R1 S1 R0 S0 0 0 0 0 0 0 0 - 0 - 0 1 0 1 0
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

RSVendingMchn - Vending Machine Example using RS flip-flops...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online