ee101_hw8_sol

ee101_hw8_sol - EE 101 Homework 8 Fall '08 Redekopp Name:...

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

View Full Document Right Arrow Icon
1 EE 101 Homework 8 Fall ’0 8 ● Redekopp Name: ____Solutions_____________________________ 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. Use the X<7 output to either pass X or force the outputs to 0 via the AND gates. O A<B O A>B O A=B 74LS85 A 0 A 1 A 2 A 3 B 0 B 1 B 2 B 3 I A<B I A>B I A=B X0 X1 X2 X3 1 1 1 0 0 0 1 X<7 X0 X1 X2 X3 Y0 Y1 Y2 Y3
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 2. (20 pts.) Build a circuit that takes in 3 ASCII characters, A[6:0], B[6:0], and C[6:0] and produ ces a 2’s complement output Z[5:0]. Inputs A and C will be ASCII characters for a decimal digit (0-9). B will be the A SCII character for ‘+’ or ‘ - . Refer to the ASCII table in your lecture notes for the ASCII representation of 0 - 9 ’ and ‘+’ and ‘ - . Z should equal the correct sum or difference of A and
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/18/2011 for the course EE 101 taught by Professor Redekopp during the Fall '06 term at USC.

Page1 / 6

ee101_hw8_sol - EE 101 Homework 8 Fall '08 Redekopp Name:...

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

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