Docsity

Exam Solutions for ECE 2030 Computer Engineering Fall 2010 - Problem 1 to 4, Exams of Computer Science

Toggle sidebar
bg1
ECE 2030 C 2:00 pm Computer Engineering Fall 2010
4 problems, 4 pages Exam One Solutions 22 September 2010
Problem 1 (3 parts, 30 points) Incomplete Circuits
The three parts below contain (A) a pull up network, (B) a pull down network, and (C) an
expression to be implemented. For (A) and (B), complete the missing complementary switching
networks so the circuit contains no floats or shorts and write the Boolean expression computed
by the completed circuit. For (C), design the entire switching network. Assume the inputs and
their complements are available.
OUTx =
๎‚žA๎‚ƒBโ‹…C๎‚Ÿโ‹…D
OUTy =
Aโ‹…B๎‚ƒCโ‹…Dโ‹…E
OUTz =
๎‚žA๎‚ƒB๎‚Ÿโ‹…D๎‚ƒCโ‹…๎‚žE๎‚ƒF๎‚Ÿ
1
pf3
pf4

Partial preview of the text

Download Exam Solutions for ECE 2030 Computer Engineering Fall 2010 - Problem 1 to 4 and more Exams Computer Science in PDF only on Docsity!

4 problems, 4 pages Exam One Solutions 22 September 2010 Problem 1 (3 parts, 30 points) Incomplete Circuits The three parts below contain (A) a pull up network, (B) a pull down network, and (C) an expression to be implemented. For (A) and (B), complete the missing complementary switching networks so the circuit contains no floats or shorts and write the Boolean expression computed by the completed circuit. For (C), design the entire switching network. Assume the inputs and their complements are available.

OUTx = ๎‚ž^ A ๎‚ƒ B โ‹… C^ ๎‚Ÿโ‹… D

OUTy = A โ‹… B ๎‚ƒ C โ‹… D โ‹… E

OUTz = ๎‚ž A ๎‚ƒ B ๎‚Ÿโ‹… D ๎‚ƒ C โ‹…๎‚ž E ๎‚ƒ F ๎‚Ÿ

4 problems, 4 pages Exam One Solutions 22 September 2010 Problem 2 (2 parts, 20 points) Boolean Algebra Part A (12 points) Transform each of the following Boolean expressions to a form where they are ready for switch level implementation (i.e., there should only be bars over input variables, not over operations). The behavior of the expression should remain unchanged. Do not implement.

OUT (^) X =๎‚ž A โ‹… B ๎‚ƒ C ๎‚Ÿโ‹…๎‚ž D ๎‚ƒ E ๎‚Ÿโ‹… F (^) ๎‚ž A ๎‚ƒ B ๎‚Ÿโ‹… C ๎‚ƒ๎‚ž D ๎‚ƒ E ๎‚Ÿโ‹… F

OUT (^) Y = M ๎‚ƒ N โ‹… P ๎‚ƒ Q โ‹… R ๎‚ƒ S ๎‚ƒ T ๎‚ž M ๎‚ƒ N ๎‚ƒ P ๎‚Ÿโ‹…๎‚ž Q ๎‚ƒ R ๎‚Ÿ๎‚ƒ S โ‹… T

Part B (8 points) Derive a canonical sum of products (using minterms) and a product of sums (using maxterms) expression for the truth table below. A B C F(A,B,C) 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0 1 0 0 1 1 1 0 1 1 0 1 1 1 1 1 1 0 SOP(MINTERMS) = (^) A โ‹… B โ‹… C ๎‚ƒ A โ‹… B โ‹… C ๎‚ƒ A โ‹… B โ‹… C ๎‚ƒ A โ‹… B โ‹… C ๎‚ƒ A โ‹… B โ‹… C POS(MAXTERMS) = (^) ๎‚ž A ๎‚ƒ B ๎‚ƒ C ๎‚Ÿโ‹…๎‚ž A ๎‚ƒ B ๎‚ƒ C ๎‚Ÿโ‹…๎‚ž A ๎‚ƒ B ๎‚ƒ C ๎‚Ÿ

4 problems, 4 pages Exam One Solutions 22 September 2010 Problem 4 (2 parts, 26 points) Mixed Logic Design Part A (12 points) The following design has no supporting documentation. Derive the desired Boolean expression and the implementation cost (in CMOS transistors).

OUTX = (^) A ๎‚ƒ B โ‹… C โ‹… D OUTY = (^) B โ‹… C โ‹… D โ‹…๎‚ž E ๎‚ƒ F ๎‚Ÿ

transistors = (^) 1 x 8 + 3 x 6 + 3 x 2 = 8 + 18 + 6 = 32T

Part B (14 points) Now reimplement this expression using NAND gates and inverters. Use proper mixed logic notation. Determine the cost of this implementation (in transistors).

transistors = (^) 1 x 6 + 3 x 4 + 5 x 2 = 6 + 12 + 10 = 28T