HW3_solution

# HW3_solution - ECE 2504 Introduction to Computer...

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

ECE 2504 Introduction to Computer Engineering, Fall 2008 Homework 3 Due date: 17 Sep 08, 11:59pm Show all work. 1. (5 pts) Complete the tutorial in Chapter 4 of the Logicworks manual: The Five-Minute Schematic and Simulation. Show the completed circuit diagram and timing window. 9 8 1 2 3 4 5 6 10 11 12 13 A CLK 164 B CLR QA QB QC QD QE QF QG QH 0 1 1 1 FEEDBK D6 D7 CLK 2. (10 pts) A collision avoidance system requires a vertical separation of 500 ft. The altimeter in a westbound flight reports its altitude to be 47000E00H. Altitude values are stored in 32-bit IEEE 754 floating point format. The altimeter in an overlapping southbound flight reports its altitude to be 46FC5100H. Is the separation requirement met? Show how the calculations would be performed in binary, not in decimal. 47000E00 0100 0111 0000 0000 0000 1110 0000 0000 0 10001110 00000000000111000000000 S=0 E=142 F=00000000000111000000000 1.000000000001110 x 2 15 1000000000001110.0 Note: FYI this is (32782.0) 10 46FC5100 0100 0110 1111 1100 0101 0001 0000 0000 0 10001101 11111000101000100000000 S=0 E=141 F=11111000101000100000000 1.111110001010001 x 2 14 111111000101000.1 Note: FYI this is (32296.5) 10

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

View Full Document
1000000000001110.0 - 0111111000101000.1 0000000111100101.1 OR in 2’s complement: 1000000000001110.0 1000000000001110.0 - 0111111000101000.1 + 1000000111010111.1 0000000111100101.1 (485.5) 10 No, the requirement is not met. 3. (5 pts) Write the logic equation for the variable F in the circuit below. Complete the truth table. ((A'B)' + (C D')) ' Note that there are multiple correct answers here, including ((A'B)' + CD + C'D') ' (A + B' + CD + C'D') ' A'B(CD)'(C'D')' A'B(C'+D')(C+D) (A'BC'+A'BD')(C+D) A'BCD'+A'BC'D A B C D F 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 1 1 0 1 1 0 1 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1 0 A' B F C D'
4. (5 pts) Write the logic equation for the variable G in the circuit below. Complete the truth table. ((A'+B)' (C D'))' Note that there are multiple correct answers here, including (AB' (C D'))' ((A'+B)' (CD+C'D'))' (AB'CD+ AB'C'D')' (AB'CD)' (AB'C'D')' (A'+B+C'+D') (A'+B+C+D) A B C D G 0 0 0 0 1 0 0 0 1 1 0

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.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern