



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!




4 problems, 6 pages Exam Two 27 October 2010 Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have a question, raise your hand and I will come to you. Please work the exam in pencil and do not separate the pages of the exam. For maximum credit, show your work. Good Luck! Your Name ( please print ) ________________________________________________ 1 2 3 4 total 21 40 15 24 100
4 problems, 6 pages Exam Two 27 October 2010 Problem 1 (3 parts, 21 points) State Part A (8 points) Implement a transparent latch using only inverters and pass gates. Label the inputs In and En , and output Out. Part B (7 points) Consider a register with a selectable write enable (WE) and read enable (RE). It is implemented with transparent latches, a 2 to 1 mux, and a pass gate. Describe its behavior by completing the output values. Also indicate when a write and/or a read is being performed. Register IN OUT WE (^) RE ฯ 1 ฯ 2 IN WE RE CLK OUT write? read?
Part C (6 points) Assume the following signals are applied to a register with write enable Draw the output signal Out. Draw a vertical line where In is sampled. Draw crosshatch where Out is unknown.
4 problems, 6 pages Exam Two 27 October 2010 Problem 3 (2 parts, 15 points) Building Blocks Part A (7 points) Complete the following truth table for a priority encoder. Assume the priority order (from highest to lowest) is I^ 2 ๎ I^ 0 ๎ I^ 3 ๎ I^ 1 I (^3)
Part B (8 points) Implement a 2 to 1 multiplexer using only basic gates (AND, OR, NAND, NOR, NOT). Label all inputs and outputs.
4 problems, 6 pages Exam Two 27 October 2010 Problem 4 (3 parts, 24 points) Counters Part A (7 points) Implement a toggle cell using only transparent latches and basic gates (XOR, AND, OR, NAND, NOR, NOT). Use an icon for the transparent latches. Label the inputs TE , CLR , ฮฆ 1 , ฮฆ 2 and the output Out. Part B (8 points) Now combine these toggle cells to build a divide by 24 counter. Your counter should have an external clear, external count enable, and five count outputs O 4 , O 3 , O 2 , O 1 , O 0. Use any basic gates (AND, OR, NAND, NOR, & NOT) you require. Assume clock inputs to the toggle cells are already connected. Your design should support multi-digit systems.
0
2
TE CLR Out TE CLR Out TE CLR Out
3 TE CLR Out
TE CLR Out