Docsity

Introduction to Computing: Digital Logic Structures and Transistors - Prof. Orly Alter, Assignments of Biology

Partial preview of the text

Download Introduction to Computing: Digital Logic Structures and Transistors - Prof. Orly Alter and more Assignments Biology in PDF only on Docsity!

BME303 Intro. to Computing

Chapter 3:

Digital Logic StructuresDigital Logic Structures

BME303 Intro. to Computing

ProblemLanguage

Algorithms

-^

Data Path

-^

Memory

-^

Storage Elements^ –

R-S Latch

-^

Gated D latch

-^

Register

Devices, Circuits, …

Machine (ISA) Architecture

Micro-architecture

CircuitsDevices

-^

Logic Structures^ –

Decoder

-^

Mux (multiplexer)

-^

Adder

-^

Logic Gates^ –

NOT

-^

OR

-^

AND

-^

Other gates

-^

Transistors

Bottom Up

BME303 Intro. to Computing

6

Memory

  • primary access by the CPU or secondary (indirect)

access by the CPU. Based on the speed of access to the

memory.

  • volatile or non-volatile is a distinction based on

technology (magnetic vs. electrical, etc.). Volatile

memory requires power to maintain its stored

information.

  • Read-only memory, or read-write is a distinction based

on properties of the memory. Read only memory, or

"ROM", is not modifiable.

  • Random-Access or Sequential-Access, is a distinction

based on the mechanism of reading the memory.

http://en. wikipedia .org/ wiki /Giant_ magnetoresistive _effect

BME303 Intro. to Computing

Disclaimer

•^

Not all electronic computers are made fromtransistors. Electronic logic can be built from^ – vacuum tubes– magnetic amplifiers, core, bubbles– superconducting cryotrons

  • superconducting Josephson junctions

•^

So, why transistors then …

"Had the automobile developed at a pace (equal) to that of the

computer during the past twenty years, today a Rolls Royce wouldcost less than $3.00, get 3 million miles to the gallon, deliver enoughpower to drive (the ship) the Queen Elizabeth II, and six of themwould fit on the head of a pin!"

BME303 Intro. to Computing

Making the Processor

BME303 Intro. to Computing

Transistor as a Switch

  • Switches are devices with discrete state

changes that enable, disable, or direct aflow.

Switch Closed“Closed Circuit” Short circuit across switch

Switch Open“Open Circuit”

No current through circuit

Short circuit across switch

Current flows Light is onV

out

is 0 V “0”

0 V

No current through circuit

Light is OFFV

out

= 2.9V “1”

Voltage isa relativequantity

BME303 Intro. to Computing

12

n-type MOS Transistor

•MOS = Metal Oxide Semiconductor

  • two types: n-type and p-type

•Some n-type

  • when Gate has positive voltage, short circuit between #1 and # (switch closed, “ light on ”)
  • when Gate has zero voltage, open circuit between #1 and # (switch open, “ light off ” )

Gate = 1

Gate = 0

Terminal #2 must be connected to GND (0V).

BME303 Intro. to Computing

13

p-type MOS Transistor

•p-type is complementary to n-type

•Some p-type

  • when Gate has positive voltage, open circuit between #1 and # (switch open, “ light off ” )
  • when Gate has zero voltage, short circuit between #1 and # (switch closed, “ light on ”)

Gate = 1

Gate = 0

Terminal #1 is connected to +2.9V.

BME303 Intro. to Computing

The goal: Realizing Logical Operations

A

AND

B

B

A

A

CircuitsDevices

  • • • •

B

A AND B

BME303 Intro. to Computing

•^

Use switch behavior of MOS transistors toimplement logical functions: AND, OR, NOT

•^

Digital symbols:

  • assign a range of analog voltages to each

digital (logic) symbol

Logic Gates

digital (logic) symbol

  • assignment of voltage ranges depends on

electrical properties of transistors being used^ • typical values for "1": +5V, +3.3V, +2.9V• from now on we'll use +2.9V

BME303 Intro. to Computing

NOR Gate

A=0B=

C=

A B

C

Note: Serial structure on top, parallel on bottom.

BME303 Intro. to Computing

NOR Gate

A=0B=

C=

A B

C

Note: Serial structure on top, parallel on bottom.

BME303 Intro. to Computing

NOR Gate

A=1B=

C=

A B

C

Note: Serial structure on top, parallel on bottom.

BME303 Intro. to Computing

NOR Gate

A=0B=

C=

A B

C

Note: Serial structure on top, parallel on bottom.