an introduction to the logic of silicon chips introduction to the logic of silicon chips here is a...

80
An Introduction to the Logic of Silicon Chips

Upload: hakhanh

Post on 18-Apr-2018

224 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

An Introduction to the Logic

of

Silicon Chips

Page 2: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern chips canbe made a good deal smaller than the one shown - just a few millimetres across The chipcomprises a (very small) piece of semiconductor material encapsulated in a plastic package, whichhas a number of metal terminal pins connected to the semiconductor and leading out of thepackage. The chip in the photo has 14 pins.

Most silicon chips have a set of 'input' pins, 'output' pins and power-supply pins, and the function ofthe chip is to control the voltages on the output terminals in response to the voltages measured onthe input terminals. Chips are manufactured in tjhousands of different types, and a key differencebetween these is the relationship the chip effects between its inputs and outputs.

Digital chips are primarily associated with inputs and outputs that can only take two legitimatevalues - traditionally called 'nought' and 'one', though the actual voltages may well not be zero andone. But they will have two distinct values and you should not expect to see an output voltagewhich is not one of these two acceptable values. Analogue chips more commonly deal withvoltages that can take an arbitrary (infinite) number of legitimate values between a lower and upperlimit.

Page 3: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

This presentation will cover some simple digital chips, explain some of their internal logic, and showhow repeated use of the simplest components can build towards a system of astonishingcomplexity.

Page 4: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

In 1

In 2

Out

+ v

0 vBasic 'Nand' gate

Standard Logic Symbol

In 1

In 2Out

Truth Table

In1 In2 Out 0 0 1 1 0 1 0 1 1 1 1 0

Page 5: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

In 1

In 2

Out

+ v

0 vBasic 'Nand' gate

Standard Logic Symbol

In 1

In 2Out

Truth Table

In1 In2 Out 0 0 1 1 0 1 0 1 1 1 1 0

0

Page 6: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

In 1

In 2

Out

+ v

0 vBasic 'Nand' gate

Standard Logic Symbol

In 1

In 2Out

Truth Table

In1 In2 Out 0 0 1 1 0 1 0 1 1 1 1 0

0 1

Page 7: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

In 1

In 2

Out

+ v

0 vBasic 'Nand' gate

Standard Logic Symbol

In 1

In 2Out

Truth Table

In1 In2 Out 0 0 1 1 0 1 0 1 1 1 1 0

0 1

0

Page 8: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

In 1

In 2

Out

+ v

0 vBasic 'Nand' gate

Standard Logic Symbol

In 1

In 2Out

Truth Table

In1 In2 Out 0 0 1 1 0 1 0 1 1 1 1 0

1 0

1

Page 9: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

Page 10: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

1

1

Page 11: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

1

11

Page 12: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

1

1

10

01

Page 13: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

1

1

?

?

Page 14: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

0

1

?

?

Page 15: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

0

1

1

?

Page 16: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

0

1

1

?1

Page 17: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

0

1

1

01

Page 18: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

0

1

1

01

0

Page 19: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Basic Latch

In 1

In 2

Out 1 ('Q')

Out 2 ('/Q')

Truth Table

In1 In2 Q /Q 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Q /Q

1

1

1

01

0

Page 20: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

InOut

Edge Generator

In

Out

Timing Diagram

Page 21: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

InOut

Edge Generator

In

Out

Timing Diagram

0

1 1

00

Page 22: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

InOut

Edge Generator

In

Out

Timing Diagram

1

1

10

1

Page 23: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

InOut

Edge Generator

In

Out

Timing Diagram

1

1

10

0

Page 24: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

InOut

Edge Generator

In

Out

Timing Diagram

0

1

10

0

Page 25: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

InOut

Edge Generator

In

Out

Timing Diagram

0

0

10

0

Page 26: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

InOut

Edge Generator

In

Out

Timing Diagram

0

0

11

0

Page 27: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Pulse Switching Logic

Page 28: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Pulse Switching Logic

0

0

Page 29: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Pulse Switching Logic

0

0

0

0

1

Page 30: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Pulse Switching Logic

0

0

0

0

1

1

1

Page 31: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Pulse Switching Logic

1

0

0

0

1

1

1

Page 32: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Pulse Switching Logic

1

0

0

1(pulse)

1

1

1

1(pulse)

Page 33: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Pulse Switching Logic

1

0

0

1(pulse)

10

(pulse)

1

1(pulse)

Page 34: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Pulse Switching Logic

1

0

Page 35: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Pulse Switching Logic

1

0

0

0

0

1

1

Page 36: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Pulse Switching Logic

1

1

1(pulse)

0

1

0(pulse)

1(pulse)

1

Page 37: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Q

/Q

D Type Latch

Q

/QClock

Data

Standard Logic Symbol

Page 38: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Q

/Q

D Type Latch

Q

/QClock

Data

Standard Logic Symbol

0

0

Page 39: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Q

/Q

D Type Latch

Q

/QClock

Data

Standard Logic Symbol

0

010

1 101

Page 40: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Q

/Q

D Type Latch

Q

/QClock

Data

Standard Logic Symbol

0

010

1 101

0

1

Page 41: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Q

/Q

D Type Latch

Q

/QClock

Data

Standard Logic Symbol

1

Page 42: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Q

/Q

D Type Latch

Q

/QClock

Data

Standard Logic Symbol

1

010

Page 43: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Q

/Q

D Type Latch

Q

/QClock

Data

Standard Logic Symbol

1

010

0

1

010

010

Page 44: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Q

/Q

D Type Latch

Q

/QClock

Data

Standard Logic Symbol

1

010

0

1

010

010

101

Page 45: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Data

Clock

Q

/Q

D Type Latch

Q

/QClock

Data

Standard Logic Symbol

1

010

0

1

010

010

1011

0

Page 46: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

0

Q

Clock

Data

Q

Clock

Data

Q

Clock

Data

Q

Clock

Data

4-bit data latch

?

?

?

?

Page 47: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

0

Q

Clock

Data

Q

Clock

Data

Q

Clock

Data

Q

Clock

Data

4-bit data latch

?

?

?

?

0

0

1

1

Page 48: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

010

Q

Clock

Data

Q

Clock

Data

Q

Clock

Data

Q

Clock

Data

4-bit data latch

?

?

?

?

0

0

1

1

Page 49: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

010

Q

Clock

Data

Q

Clock

Data

Q

Clock

Data

Q

Clock

Data

4-bit data latch

0

0

1

1

0

0

1

1

Page 50: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

0

Q

Clock

Data

Q

Clock

Data

Q

Clock

Data

Q

Clock

Data

4-bit data latch

1

1

1

0

0

0

1

1

Page 51: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Q

/Q

Clock

Data

Clock

Q

D Latch as Divide by 2

0

0

0 0

1

1

Page 52: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Q

/Q

Clock

Data

Clock

Q

D Latch as Divide by 2

1

1

1 1

0

0

Page 53: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Q

/Q

Clock

Data

Clock

Q

D Latch as Divide by 2

10

0 1

0

0

Page 54: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Q

/Q

Clock

Data

Clock

Q

D Latch as Divide by 2

0

1

1 0

1

1

Page 55: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Q

/Q

Clock

Data

Clock

Q

D Latch as Divide by 2

0

0

0 0

1

1

Page 56: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Q

/Q

Clock

Data

Clock

Q

D Latch as Divide by 2

1

1

1 1

0

0

Page 57: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage binary counter

Clock In0

1

0

1 1

00

Page 58: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage binary counter

Clock In1

0

0

1 1

0010

Page 59: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage binary counter

Clock In0

1

1

0 1

0010

Page 60: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage binary counter

Clock In1

0

1

0 1

0010

Page 61: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage binary counter

Clock In0

1

0

1 0

1010

Page 62: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage binary counter

Clock In1

0

0

1 0

1010

Page 63: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage binary counter

Clock In0

1

1

0 0

1010

Page 64: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage binary counter

Clock In1

0

1

0 0

1010

Page 65: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage binary counter

Clock In0

1

0

1 1

0010

?

Page 66: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Binary Arithmetic

Reminder of Decimal Arithmetic

The 2 key facts are:-

* Symbols available are 0 1 2 3 4 5 6 7 8 9* n 0 has the value 10 x n (e.g. 40 = 4 x 10, 500 = 5 x 10 x 10)

e.g 2 6 + 3 7

====== 6 3

Binary Arithmetic has equivalent facts:-

* Symbols available are 0 1* n 0 has the value 2 x n (e.g. 10 = 1 x 2, 100 = 1 x 2 x 2)

ExamplesDecimal Binary2 1 0

+ 3 1 1 ==== =====

5 1 0 1

3 1 1 * 2 1 0

===== =====6 1 1 0

5 1 0 1 - 2 1 0 ==== =======

3 0 1 1

Page 67: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

CarryOut

In A In B In C

DataOut

! (A & B)

! (B & C)

! (A & C)

One-Bit Binary Adder (with carry)

! (A & B & C)

A + B + C

2 or 3 i/ps

In A

In B

In C

DataOut

CarryOut

Page 68: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

CarryOut

In A In B In C

DataOut

! (A & B)

! (B & C)

! (A & C)

One-Bit Binary Adder (with carry)

! (A & B & C)

A + B + C

2 or 3 i/ps

In A

In B

In C

DataOut

CarryOut

0 0 0

1

1

1

0

01

1

1

0

1

10

Page 69: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

CarryOut

In A In B In C

DataOut

! (A & B)

! (B & C)

! (A & C)

One-Bit Binary Adder (with carry)

! (A & B & C)

A + B + C

2 or 3 i/ps

In A

In B

In C

DataOut

CarryOut

1 0 0

1

1

1

0

01

1

1

1

0

01

Page 70: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

CarryOut

In A In B In C

DataOut

! (A & B)

! (B & C)

! (A & C)

One-Bit Binary Adder (with carry)

! (A & B & C)

A + B + C

2 or 3 i/ps

In A

In B

In C

DataOut

CarryOut

1 1 0

0

1

1

1

10

0

1

1

1

10

Page 71: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

CarryOut

In A In B In C

DataOut

! (A & B)

! (B & C)

! (A & C)

One-Bit Binary Adder (with carry)

! (A & B & C)

A + B + C

2 or 3 i/ps

In A

In B

In C

DataOut

CarryOut

1 1 1

0

0

0

1

11

1

0

1

0

01

Page 72: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

In A

In B

In C

DataOut

CarryOut

In A

In B

In C

DataOut

CarryOut

In A

In B

In C

DataOut

CarryOut

In A

In B

In C

DataOut

CarryOut

4-bit binary adder

In A1

In B1

In A2

In B2

In A3

In B3

In A4

In B4

CarryIn

CarryOut

Out 1

Out 2

Out 3

Out 4

Page 73: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

In A

In B

In C

DataOut

CarryOut

In A

In B

In C

DataOut

CarryOut

In A

In B

In C

DataOut

CarryOut

In A

In B

In C

DataOut

CarryOut

4-bit binary adder

In A1

In B1

In A2

In B2

In A3

In B3

In A4

In B4

CarryIn

CarryOut

Out 1

Out 2

Out 3

Out 4

1

1

1

0

0

0

0

Page 74: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

In A

In B

In C

DataOut

CarryOut

In A

In B

In C

DataOut

CarryOut

In A

In B

In C

DataOut

CarryOut

In A

In B

In C

DataOut

CarryOut

4-bit binary adder

In A1

In B1

In A2

In B2

In A3

In B3

In A4

In B4

CarryIn

CarryOut

Out 1

Out 2

Out 3

Out 4

1

1

1

0

0

0

0

1

0

0 0

1

1 1

0

Page 75: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage shift register

Clock In

Data In

Data Out

Page 76: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage shift register

Clock In

Data In

Data Out

0 01

0

0 0 1 0

1 0 0 1

1 1 0 0

0 1 1 0

Page 77: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage shift register

Clock In

Data In

Data Out

0 10

1

0 0 1 0

1 0 0 1

1 1 0 0

0 1 1 0

Page 78: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage shift register

Clock In

Data In

Data Out

1 00

1

0 0 1 0

1 0 0 1

1 1 0 0

0 1 1 0

Page 79: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

QClock

Data /Q

QClock

Data /Q

QClock

Data /Q

1 2 3

Q Q Q

D latches as 3 stage shift register

Clock In

Data In

Data Out

1 01

0

0 0 1 0

1 0 0 1

1 1 0 0

0 1 1 0

Page 80: An Introduction to the Logic of Silicon Chips Introduction to the Logic of Silicon Chips Here is a photo of a typical silicon chip, taken alongside the tip of my little finger. Modern

Q1 Q2 Q3 /Q1 /Q2 /Q3

Out 0

Out 1

Out 2

Out 3

Out 4

Out 5

Out 6

Out 7

3-bit decoder