Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1 Digital Design and...
Transcript of Chapter 1users.tricity.wsu.edu/~bobl/cpts260/u01_intro/notes.pdf · Chapter 1 Digital Design and...
Chapter1<1>
DigitalDesignandComputerArchitecture,2ndEdi(on
Chapter1
DavidMoneyHarrisandSarahL.Harris
Chapter1<2>
• Background• TheGamePlan• TheArtofManagingComplexity• TheDigitalAbstrac(on• NumberSystems• LogicGates• LogicLevels• CMOSTransistors• PowerConsump(on
Chapter1::Topics
Chapter1<3>
• Microprocessorshaverevolu@onizedourworld– Cellphones,Internet,rapidadvancesinmedicine,etc.
• Thesemiconductorindustryhasgrownfrom$21billionin1985to$300billionin2011
Background
Chapter1<4>
• Purposeofcourse:– Understandwhat’sunderthehoodofacomputer– Learntheprinciplesofdigitaldesign– Learntosystema@callydebugincreasinglycomplexdesigns
– Designandbuildamicroprocessor
TheGamePlan
Chapter1<5>
• Abstrac@on• Discipline• TheThree–Y’s– Hierarchy– Modularity– Regularity
TheArtofManagingComplexity
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
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
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
Chapter1<9>
• Hierarchy – Three main modules:
lock, stock, and barrel – Submodules of lock:
hammer, flint, frizzen, etc.
Example:TheFlintlockRifle
Chapter1<10>
• Modularity – Function of stock: mount
barrel and lock – Interface of stock: length
and location of mounting pins
• Regularity – Interchangeable parts
Example:TheFlintlockRifle
Chapter1<11>
• Mostphysicalvariablesarecon(nuous– Voltageonawire– Frequencyofanoscilla@on– Posi@onofamass
• Digitalabstrac@onconsidersdiscretesubsetofvalues
TheDigitalAbstrac@on
Chapter1<12>
• DesignedbyCharlesBabbagefrom1834–1871
• Consideredtobethefirstdigitalcomputer
• Builtfrommechanicalgears,whereeachgearrepresentedadiscretevalue(0-9)
• Babbagediedbeforeitwasfinished
TheAnaly@calEngine
Chapter1<13>
• Twodiscretevalues:– 1’sand0’s– 1,TRUE,HIGH– 0,FALSE,LOW
• 1and0:voltagelevels,rota@nggears,fluidlevels,etc.
• Digitalcircuitsusevoltagelevelstorepresent1and0
• Bit:Binarydigit
DigitalDiscipline:BinaryValues
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