Docsity

Quiz 3 - Combinational Logic & Basic Arithmetic/Logic Unit in Computer Organization I, FSU, Quizzes of Electrical and Electronics Engineering

Toggle sidebar
bg1
Section: 9:05-9:55AM 10:10-11:00AM Name: ____________________
Quiz #3 – Combinational Logic and Basic Arithmetic/Logic Unit
CDA 3100, Computer Organization I, Fall 2007
Department of Computer Science, Florida State University
¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾
Problem 1 (60 points) View ab and cd as two-bit unsigned binary numbers, and efgh as the 4 bits of the
numerical multiplication of ab and cd. Here a, c, e are the most significant bit and b, d, h are the least
significant bit. For example, if ab is 10 and cd 01, then efgh should be 0010.
One way to solve this problem is to give the truth table first and then derive the expressions. The truth
table in this case is
Inputs Outputs
a b c d e f g h
00000000
00010000
00100000
00110000
01000000
01010001
01100010
01110011
10000000
10010010
10100100
10110110
11000000
11010011
11100110
11111001
1) Give a logic expression of e, f, g, and h. You can only use AND, OR, and NOT.
dbh
dcdcbadbacbag
dcacbaf
dcbae
)(
2) Draw an implementation of e and f using AND gates and OR gates with bubbled inputs and
outputs.
pf2

Partial preview of the text

Download Quiz 3 - Combinational Logic & Basic Arithmetic/Logic Unit in Computer Organization I, FSU and more Quizzes Electrical and Electronics Engineering in PDF only on Docsity!

Section:  9:05-9:55AM  10:10-11:00AM Name: ____________________

Quiz #3 – Combinational Logic and Basic Arithmetic/Logic Unit

CDA 3100, Computer Organization I, Fall 2007 Department of Computer Science, Florida State University ¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾ Problem 1 (60 points) View ab and cd as two-bit unsigned binary numbers, and efgh as the 4 bits of the numerical multiplication of ab and cd. Here a , c , e are the most significant bit and b , d , h are the least significant bit. For example, if ab is 10 and cd 01, then efgh should be 0010. One way to solve this problem is to give the truth table first and then derive the expressions. The truth table in this case is Inputs Outputs a b c d e f g h 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 1 1 0 0 0 1 0 0 1 1 1 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 1 0 1 0 0 1 0 0 1 0 1 1 0 1 1 0 1 1 0 0 0 0 0 0 1 1 0 1 0 0 1 1 1 1 1 0 0 1 1 0 1 1 1 1 1 0 0 1

  1. Give a logic expression of e , f , g , and h. You can only use AND, OR, and NOT. h b d g a b c a b d a b c d c d f a b c a c d e a b c d                         ( )
  2. Draw an implementation of e and f using AND gates and OR gates with bubbled inputs and outputs.

Problem 2 (40 points) The following diagram gives a 1-bit ALU. Complete the table by specifying the control signals for the desired operations. For a do not care signal, use ‘X’.