Lect2 Exercise
Lect2 Exercise
Lect2 Exercise
Problem 1. Consider the following circuit that implements the 2-input function H(A,B):
A.
B.
2/11/2002
Page 2 of 13
C.
Using the following table of timing specifications for each component, what are t CD, t PD and t R for the circuit shown above? gate tCD I 3ps ND2 5ps NR2 5ps tPD tR tF 5ps
15ps 8ps
Problem 2. Gates and Boolean equations A. Show the Boolean equation for the function F described by the following circuit:
B.
Consider the circuit shown below. Each of the control inputs, C0 through C3, must be tied to a constant, either 0 or 1.
2/11/2002
Page 3 of 13
What are the values of C0 through C3 that would cause F to be the exclusive OR of A and B?
C.
Can any arbitrary Boolean function of A and B be realized through appropriate wiring of the control signals C0 through C3?
2/11/2002
Page 4 of 13
E. Give a canonical sum -of-products expression for the Boolean function described by each truth table below
2/11/2002
Page 5 of 13
F. We've seen that there are a total of sixteen 2-input Boolean functions. How many 5-input Boolean functions are there?
Problem 3. A priority encoder has inputs that are assigned some predetermined order. The output is the binary encoding of the first "1" valued input from the ordered list, and it is zero otherwise. A. Give the truth table for a 3-input priority encoder.
B.
2/11/2002
Page 6 of 13
Problem 4. Suppose we are building circuits using only the following three components:
l l l
inverter: tcd = 0.5ns, tpd = 1.0ns, tr = tf = 0.7ns 2-input NAND: tcd = 0.5ns, tpd = 2.0ns, tr = tf = 1.2ns 2-input NOR: tcd = 0.5ns, tpd = 2.0ns, tr = tf = 1.2ns
Consider the following circuit constructed from an inverter and four 2-input NOR gates:
A.
B.
C.
D.
What is tPD of the fastest equivalent circuit (i.e., one that implements the same function)
2/11/2002
Page 8 of 13
Problem 6. The Mysterious Circuit X A. Determine the function of the Circuit X, below, by writing out and examining its truth table. Give a minimal sum -of-products Boolean expression for each output.
2/11/2002
Page 9 of 13
B. For Circuit X assume that AND gates have a propagation of 2 nS and a contamination delay of 1nS, while XOR gates have a propagation delay of 3 nS and contamination delay of 2 nS. Compute the aggregate contamination and propagation delays for Circuit X. What is the maximum frequency that the inputs of Circuit X be changed while insuring that all outputs are stable for 5 nS?
C. Suppose the gates below are added to Circuit X. How are the answers to part b) affected?
2/11/2002
Page 10 of 13
2/11/2002
15) xy + x y = 16) x + y x = 17) ( w + x + y + z ) y = 18) ( x + y )( x + y ) = 19) w + [ w + ( wx )] = 20) x[ x + ( xy )] = 21) ( x + x) = 22) ( x + x) = 23) w + ( w x yz ) = 24) w ( wxyz ) = 25) xz + x y + zy = 26) ( x + z )( x + y )( z + y ) = 27) x + y + xy z =
8) ab + ab = 9) ( a + b)( a + b) = 10) a ( a + b + c + ...) = For (11),(12), (13), f ( a, b, c ) = a + b + c 11) f ( a, b, ab ) = 12) f ( a, b, a b) = 13) f [a, b, (ab)] = 14) y + y y =
Find the minimal sum of products expression. Show your groupings. Find the minimal product of sums expression. Show your groupings. Are your solutions unique? If not, list and show the other minimal expressions. Does the MPS = MSP?
a+0= a a0 = 0 a + a =1 a+a=a a + ab = a (1 + b) = a
6) a + ab = ( a + a )( a + b) = a + b 7) a ( a + b) = a a + ab = ab 8) ab + ab = b( a + a ) = b 9) ( a + b)(a + b) = a a + ab + b a + bb = a + ab + ab = a (1 + b + b) = a 10) a ( a + b + c + ...) = aa + ab + ac + ... = a + ab + ac + ... = a 11) f ( a, b, ab ) = a + b + ab = a + b 12) f ( a, b, a b) = a + b + ab = a + b + a = 1 13) f [ a, b, ( ab)] = a + b + ( ab) = a + b + a + b = 1 14) y + y y = y 15) xy + x y = x( y + y ) = x 16) x + y x = x (1 + y ) = x 17) ( w + x + y + z ) y = y 18) ( x + y )( x + y ) = x 19) w + [ w + ( wx )] = w 20) x[ x + ( xy )] = x 21) ( x + x) = x 22) ( x + x) = 0 23) w + ( w x yz ) = w(1 + x yz ) = w 24) w ( wxyz ) = w( w + x + y + z ) = w 25) xz + x y + zy = xz + x y 26) ( x + z )( x + y )( z + y ) = ( x + z )( x + y ) 27) x + y + xy z = x + y + z