Docsity

Determine the Number - Computer Engineering - Solved Exam, Exams of Computer Science

Toggle sidebar
bg1
ECE 2030G Computer Engineering Fall 2003
4 problems, 5 pages Exam One Solutions 18 September 2003
1
Problem 1 (2 parts, 20 points) Switch-level Design
Part A (8 points) Transform each of the following Boolean expressions to a form where they can be
implemented using switches (i.e., there should be no bars in the expression except for complements of the
inputs A, B, C, etc.). The behavior of the expression should remain unchanged.
))()))(((( HFEDCBAOutX+โ‹…+โ‹…++= HFEDCBAOutXโ‹…+โ‹…+โ‹…+= )()))(((
))))(((( EDCBAOutYโ‹…+โ‹…+= EDCBAOutY+โ‹…+โ‹…= )))(((
Part B (12 points) Two incomplete circuits are shown below. Complete each circuit by adding the needed
switching network so the output is pulled high or low for all combinations of inputs (i.e., no floats or
shorts). Then write the expression. Assume both the inputs and their compliments are available.
Outy
A
D
C
B
A
Outx
C E
D
C
D E
A
D
C
B
EDCOUTXโ‹…+= DCBAOUTYโ‹…โ‹…+=
pf3
pf4

Partial preview of the text

Download Determine the Number - Computer Engineering - Solved Exam and more Exams Computer Science in PDF only on Docsity!

4 problems, 5 pages Exam One Solutions 18 September 2003

Problem 1 (2 parts, 20 points) Switch-level Design

Part A (8 points) Transform each of the following Boolean expressions to a form where they can be implemented using switches (i.e., there should be no bars in the expression except for complements of the inputs A, B, C, etc.). The behavior of the expression should remain unchanged.

Out (^) X = (((( A + B )+ C )โ‹… D )+( E โ‹… F )+ H ) Out^ X =^ ((( A + B )โ‹… C )+ D )โ‹…( E + F )โ‹… H

OutY = (((( A + B )โ‹… C )+ D )โ‹… E ) OutY = ((( A โ‹… B )+ C )โ‹… D )+ E

Part B (12 points) Two incomplete circuits are shown below. Complete each circuit by adding the needed switching network so the output is pulled high or low for all combinations of inputs (i.e., no floats or shorts). Then write the expression. Assume both the inputs and their compliments are available.

Out y

A

B C D

A

Out x

C E

D

C

D E

A

D

C

B

OUTX = C + D โ‹… E OUTY = A + B โ‹… C โ‹… D

4 problems, 5 pages Exam One Solutions 18 September 2003

Problem 1 (3 parts, 30 points) Mixed Logic Reengineering

A B C D E F

OUTx

OUTy

Part A (10 points) Write the output expression for the gate design shown above. Also determine the number of switches used in its implementation.

OUTx = (^) ( A + B )+(( A + B )โ‹… C โ‹… D )+ E โ‹… F

OUTy = (^) E โ‹… F

switches = 2 ร—^4 +^2 ร—^6 +^2 =^22

Part B (10 points) Reimplement the behavior below with a mixed logic design style using only AND gates and inverters. Determine the number of switches used in this implementation.

A B C D E F

OUTx

OUTy

switches = 2 ร— 6 + 2 ร— 8 + 5 ร— 2 = 38

Part C (10 points) Reimplement the behavior below with a mixed logic design style using only NOR gates and inverters. Determine the number of switches used in this implementation.

A B C D E F

OUTx

OUTy

switches = 2 ร— 4 + 2 ร— 6 + 7 ร— 2 = 34

4 problems, 5 pages Exam One Solutions 18 September 2003

Problem 4 (2 parts, 30 points) Karnaugh Maps

Part A (15 points) For the following expression, derive a simplified product of sums expression using a Karnaugh Map. Circle and list all the prime implicants for a product-of-sums (POS) expression,

indicating which are essential. Out = B โ‹… D + B โ‹… C โ‹… D

1 0 0 0 B + D

A

A

B B

C

C

C

D

D D

prime implicants

essential? yes no

B + C

B +D

C + D

simplified POS expression (^) ( B + D )โ‹…( B + D )โ‹…( B + C )or ( B + D )โ‹…( B + D )โ‹…( D + C )

Part B (15 points) For the following expression, derive a simplified sum of products expression using a Karnaugh Map. Circle and list all the prime implicants for a sum-of-products (SOP) expression, indicating which are essential.

Out =( A + C )โ‹…( A + D )โ‹…( A + B + C + D )

1 1 1 0 A C D

A

A

B B

C

C

C

D

D D

prime implicants

essential? yes no

A D

A B C

B C D

simplified SOP expression A^ D +^ ACD + BCD or^ AD^ + ACD + ABC