homework 4 solution

homework 4 solution - ECE 152A Summer 2009 8/3/2009...

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

View Full Document Right Arrow Icon
ECE 152A – Summer 2009 8/3/2009 Homework #4 Solution – Page 1 of 31 University of California, Santa Barbara Department of Electrical and Computer Engineering ECE 152A – Digital Design Principles Homework #4 – Solution Problem #1. A JN flip flop is constructed by (internally) complementing the K input to an otherwise normal JK flip flop. For the JN flip flop, derive the following: 1. The characteristic table 2. The characteristic equation
Background image of page 1

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

View Full DocumentRight Arrow Icon
ECE 152A – Summer 2009 8/3/2009 Homework #4 Solution – Page 2 of 31 3. The state table 4. The state diagram 5. The excitation table
Background image of page 2
ECE 152A – Summer 2009 8/3/2009 Homework #4 Solution – Page 3 of 31 Problem #2. Design a 2-bit, binary up/down counter. The counter has 2 inputs, up_down and enable. The truth table below defines the operation of the counter: enable up_down | operation 0 0 | hold count 0 1 | hold count 1 0 | decrement count 1 1 | increment count Use positive edge triggered JK flip flops. In your answer, include (1) a state diagram, (2) a state table, (3) a next state map and (4) all Kmaps used in determining flip flop inputs
Background image of page 3

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

View Full DocumentRight Arrow Icon
ECE 152A – Summer 2009 8/3/2009 Homework #4 Solution – Page 4 of 31
Background image of page 4
ECE 152A – Summer 2009 8/3/2009 Homework #4 Solution – Page 5 of 31
Background image of page 5

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

View Full DocumentRight Arrow Icon
ECE 152A – Summer 2009 8/3/2009 Homework #4 Solution – Page 6 of 31 Problem #3. Design a three bit counter with a single input called mode . The counter counts in binary if the mode bit is zero, and counts in gray code if the mode bit is one (recall the three bit gray code is 000, 001, 011, 010, 110, 111, 101, 100). The mode bit can change at any time during the count sequence and your counter should begin counting in the new mode on the next clock input. Design the counter using JK flip flops. You don’t have to draw the logic diagram, specifying the J and K inputs to each flip flop is sufficient. Use A, B and C as the state variable names. Include (1) a state table, (2) next state maps and (3) K-maps for all flip flop inputs.
Background image of page 6
ECE 152A – Summer 2009 8/3/2009 Homework #4 Solution – Page 7 of 31
Background image of page 7

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

View Full DocumentRight Arrow Icon
ECE 152A – Summer 2009 8/3/2009 Homework #4 Solution – Page 8 of 31
Background image of page 8
8/3/2009 Homework #4 Solution – Page 9 of 31 Problem #4. Consider the flip flop illustrated below:
Background image of page 9

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

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 31

homework 4 solution - ECE 152A Summer 2009 8/3/2009...

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

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