ee101_hw9_new

ee101_hw9_new - EE 101 Homework 9 Fall 07 Redekopp Name: _...

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

View Full Document Right Arrow Icon
1 EE 101 Homework 9 Fall ’07 Redekopp Name: _________________________________________ Lecture 9:30 / 11:00 / 2:00 Due: Tues. Dec. 4 th in class Score: ________ Show work to get full credit. Remember, use on only one side of the paper and staple them together. Only use a calculator to CHECK your work, not to DO your work. NOTE: PLEASE DRAW ALL DIAGRAMS NEATLY. MAKE SURE TO WRITE IN THE DEVICE LABELS AND SYSTEM LABELS 1. (15 pts.) Using (1) 74LS85 comparator and 4 AND gates, design a circuit that accepts a 4-bit unsigned number, X[3:0] and produces a 4-bit, unsigned output Y[3:0] such that Y = X, if X < 7 0, otherwise. 2. (20 pts.) Using (2) 74LS85 comparators along with multiplexers, design a circuit that takes in (3) 4-bit, unsigned numbers, X[3:0], Y[3:0], Z[3:0], and outputs a single 4-bit unsigned number, G[3:0], such that G is the maximum of X, Y, and Z. If two or more numbers are equal and the maximum, then choose the number to output based on the following priorities: X (highest), Y (middle), Z (lowest). [e.g. if X=Y=Z then they are all the maximum but you should output X]. One comparator and one 2-to-1, 4-bit wide mux are drawn on the attached sheet. Connect these components appropriately. You may not change the connections we have already started. Add the second comparator and add any more muxes you desire. You may use 1 or 2 if you wish, as long as it works. Be sure to show device labels (inside the building blocks) and system labels (outside the building blocks). 3.
Background image of page 1

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

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

This note was uploaded on 12/02/2009 for the course EE 101 at USC.

Page1 / 5

ee101_hw9_new - EE 101 Homework 9 Fall 07 Redekopp Name: _...

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

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