Exercise_Midterm2_Solutions

Exercise_Midterm2_Solutions - SOLUTION FOR MORE EXERCISES...

This preview shows pages 1–4. Sign up to view the full content.

SOLUTION FOR MORE EXERCISES FOR MIDTERM # 2 1. (Flip-Flops) a. What is the difference between a latch and a flip flop? SOLUTION: Latch is a level sensitive device. Flip-flops are edge sensitive devices. b. Implement a JK flip-flop with a T flip-flop and a minimal AND-OR-NOT network. Let us assume that the complements of J, K and Q signals are available. Draw the logic diagram to show your design. SOLUTION: Step 1: write the next state table JK flip-flop next state table T flip-flop excitation table Step 2: derive the excitation table from the next state tables Excitation table

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

View Full Document
Step 3: derive next state logic T = JQ’ + KQ 2. (Design Specification) Write the state table of the sequential circuit as the following figure. SOLUTION: From the circuit we directly get T = x J = Q1Q0’ K = Q1’+Q0’ y = Q1+Q0 We use these equations to get Q1(t+1) and Q0(t+1):
Finally, the State table: : 3. (Sequential Circuit Design) A state machine is described by the following state equations: a. Write the state table

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/11/2010 for the course CSE 140 taught by Professor Rosing during the Fall '06 term at UCSD.

Page1 / 6

Exercise_Midterm2_Solutions - SOLUTION FOR MORE EXERCISES...

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

View Full Document
Ask a homework question - tutors are online