Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1 Digital Design and...

14
Chapter 1 <1> Digital Design and Computer Architecture,2 nd Edi(on Chapter 1 David Money Harris and Sarah L. Harris

Transcript of Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1 Digital Design and...

Page 1: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<1>

DigitalDesignandComputerArchitecture,2ndEdi(on

Chapter1

DavidMoneyHarrisandSarahL.Harris

Page 2: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<2>

•  Background•  TheGamePlan•  TheArtofManagingComplexity•  TheDigitalAbstrac(on•  NumberSystems•  LogicGates•  LogicLevels•  CMOSTransistors•  PowerConsump(on

Chapter1::Topics

Page 3: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<3>

•  Microprocessorshaverevolu@onizedourworld–  Cellphones,Internet,rapidadvancesinmedicine,etc.

•  Thesemiconductorindustryhasgrownfrom$21billionin1985to$300billionin2011

Background

Page 4: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<4>

•  Purposeofcourse:– Understandwhat’sunderthehoodofacomputer– Learntheprinciplesofdigitaldesign– Learntosystema@callydebugincreasinglycomplexdesigns

– Designandbuildamicroprocessor

TheGamePlan

Page 5: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<5>

•  Abstrac@on•  Discipline•  TheThree–Y’s– Hierarchy– Modularity– Regularity

TheArtofManagingComplexity

Page 6: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<6>

•  Hiding details when they aren’t important

focu

s of

this

cou

rse

programs

device drivers

instructionsregisters

datapathscontrollers

addersmemories

AND gatesNOT gates

amplifiersfilters

transistorsdiodes

electrons

Abstrac@on

Page 7: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<7>

•  Intentionally restrict design choices •  Example: Digital discipline

–  Discrete voltages instead of continuous –  Simpler to design than analog circuits – can build more sophisticated

systems –  Digital systems replacing analog predecessors:

•  i.e., digital cameras, digital television, cell phones, CDs

Discipline

Page 8: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<8>

•  Hierarchy –  A system divided into modules and submodules

•  Modularity –  Having well-defined functions and interfaces

•  Regularity –  Encouraging uniformity, so modules can be easily reused

TheThree-Y’s

Page 9: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<9>

•  Hierarchy –  Three main modules:

lock, stock, and barrel –  Submodules of lock:

hammer, flint, frizzen, etc.

Example:TheFlintlockRifle

Page 10: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<10>

•  Modularity –  Function of stock: mount

barrel and lock –  Interface of stock: length

and location of mounting pins

•  Regularity –  Interchangeable parts

Example:TheFlintlockRifle

Page 11: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<11>

•  Mostphysicalvariablesarecon(nuous– Voltageonawire– Frequencyofanoscilla@on– Posi@onofamass

•  Digitalabstrac@onconsidersdiscretesubsetofvalues

TheDigitalAbstrac@on

Page 12: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<12>

•  DesignedbyCharlesBabbagefrom1834–1871

•  Consideredtobethefirstdigitalcomputer

•  Builtfrommechanicalgears,whereeachgearrepresentedadiscretevalue(0-9)

•  Babbagediedbeforeitwasfinished

TheAnaly@calEngine

Page 13: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<13>

•  Twodiscretevalues:– 1’sand0’s– 1,TRUE,HIGH– 0,FALSE,LOW

•  1and0:voltagelevels,rota@nggears,fluidlevels,etc.

•  Digitalcircuitsusevoltagelevelstorepresent1and0

•  Bit:Binarydigit

DigitalDiscipline:BinaryValues

Page 14: Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1  Digital Design and Computer Architecture, 2nd Edion Chapter 1 David Money Harris and Sarah

Chapter1<14>

•  Born to working class parents •  Taught himself mathematics and

joined the faculty of Queen’s College in Ireland.

•  Wrote An Investigation of the Laws of Thought (1854)

•  Introduced binary variables •  Introduced the three fundamental

logic operations: AND, OR, and NOT.

GeorgeBoole,1815-1864