Docsity

Homework 1 | Introduction to Computer Engineering | ECE 2030, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 2030
Introduction to Computer Engineering
Homework 1
1. Using only nfets and (possibly) inverters, construct a switch network which is
connected when the given function F is true.
2. Repeat 1. using only p-fets and (possibly) inverters.
(a)
F = ABC
!(b)
F = A + B + C
!(c)
F = AiBiC
!(
d)
F = A + B + C
A
B
C
A B C
A
B
C
A B C
(e) and (f ) not shown.
(a)!
F = ABC
(b)
F = A + B + C
! (c)
F = AiBiC
!(d)
F = A + B + C
A
B
C
A
B
C
A B C
(e) and (f ) not shown.
Fall 2009 Prof. David Schimmel
Sections A,B
pf3
pf4
pf5

Partial preview of the text

Download Homework 1 | Introduction to Computer Engineering | ECE 2030 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 2030

Introduction to Computer Engineering

Homework 1

1. Using only nfets and (possibly) inverters, construct a switch network which is

connected when the given function F is true.

2. Repeat 1. using only p-fets and (possibly) inverters.

(a)

F = ABC

(b) F = A + B + C

(c) F = AiBiC

d) F = A + B + C

A

B

C

A B C

A

B

C

A B C

(e) and (f) not shown.

(a)

F = ABC

(b)

F = A + B + C

(c)

F = AiBiC

(d)

F = A + B + C

A

B

C

A B C

A

B

C

A B C

(e) and (f) not shown.

Fall 2009 Prof. David Schimmel

Sections A,B

3. Draw a transistor schematic and show both gate symbols for implementations of

the following functions.

(a)! NAND3! (b) NOR

A

B

C

A B C

F

NAND

A B

A

B

F

NOR

(c)! AND2! (d) OR

A

B

A B

F

AND

A B

C

D

F

A

B

C D

OR

5. Draw all four possible (standard) CMOS implementations for an XOR2. (no dirty

tricks)

F=F

sp

=A⊕B=AB+AB=(A+B)(A+B)

F=F

sn

=A⊕B=(A+B)(A+B)=AB+AB

A

/A

/B

B

A

/B B

/A

F

A

B

/A

/B

A

/B B

/A

F

A

/A

/B

B

A

/A /B

B

F

A

B

/A

/B

A

/A /B

B

F

6. Analyze the following circuit diagrams and specify what function is implemented

or what is wrong with the implementation.

A B

C

A B

C

F

(a)

Fsp=(A+B)C≠Fsn=(A+B)C=AB+C

A B C F

sp

F

sn

F

0 0 `1 0 0 float

1 1 0 0 0 float

A

B

A

B

C

D

C

D

E

E

(b)

F

Again, the pulldown and pullup are not com-

plements. The truth table gives exactly what

is going on, and is really an exercise in trans-

ferring equations to truth tables. It’s easier

than you might realize. Just note when each

SOP term is true, and mark those lines of

the table as true. For POS expressions, you

mark the lines which are false.

A B C D E F

sp

F

sn

F

0 0 1 1 1 1 1 short

0 1 0 1 1 0 0 float

1 0 1 0 1 0 0 float

1 1 0 0 1 1 1 short