ece25_FA18_quiz4_sol.pdf - Name PID Quiz 4 Solution ECE 25 Fall 2018 Department of Computer and Ele tri al Engineering University of California San

# ece25_FA18_quiz4_sol.pdf - Name PID Quiz 4 Solution ECE 25...

• Test Prep
• 2

This preview shows page 1 out of 2 pages.

#### You've reached the end of your free preview.

Unformatted text preview: Name: PID: Quiz 4 Solution ECE 25 Fall 2018 Department of Computer and Ele tri al Engineering University of California, San Diego Kevin Quest 1. You wish to implement a ir uit that takes a two-bit number A as input (A1 and A0 , where A1 is the most signi ant bit), and outputs the square of the number A, putting the answer into the 4-bit number B (B3 , B2 , B1 , and B0 , where B3 is the most signi ant bit). 1. Complete the following truth table (hint 02 = 0, 12 = 1, 22 = 4, et ). A1 A0 B3 B2 B1 B0 0 0 1 1 0 1 0 1 Solution: A1 A0 B3 B2 B1 B0 0 0 1 1 0 1 0 1 0 0 0 1 0 0 1 0 1 0 0 0 0 0 1 0 1 2. Implement the multiplier ir uit using only a 2-to-4 de oder (no other gates). Solution: 2-to-4 decoder (msb) A1 21 A0 20 00 01 10 11 B2 B3 B0 0 B1 2 ...
View Full Document

• Fall '08
• staff

### 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