



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




EE/CS 120A Logic Design Fall 2004 Prof. Sheldon Tan Midterm Exam: Oct 28, 8:10am โ 9:30am Your Name:_____________________ Student ID:_____________________ Question 1 (25pts) ________ Question 2 (25pts) ________ Question 3 (20pts) ________ Question 4 (30pts) ________ Final Score:________
Problem I. (1). Convert the following numbers to binary and hexadecimal numbers (show all your work) (15 points) a) (125) 10 (5 points) b) (236) 8 (5 points) c) (364.125) 10 (5 points) (2). Perform the following operations (10 points) d) (01100111) 2 + (11011011) 2 (5 points) e) (01100111) 2 - (11011011) 2 (5 points)
Problem III: Analyze following sequential logics by showing a) The input equations of the all the D flip-flops (10pts) b) Derive the state diagrams based on the results of a). (10pts) A B
Problem IV: Implement the following state diagram using D flip-flops. The input signal is called X and the output signal Z. (30pts) a. Show the circuit architecture (5pts) b. Give the binary coded state transition state table. Use the state encoding corresponding to the binary representation of the state number (e.g. for the state S 0 use the encoding 00, etc.). (5pts) c. Give the state transition table (10pts) d. Derive the minimized functions for the next state logic and the output Z. (10pts)