Вы находитесь на странице: 1из 19

ComputerSystems

Organization

http://jatinga.iitg.ernet.in/~cs110/

(c)2006PearsonEducation,Inc.
CentralProcessingUnit

Theorganizationofasimplecomputerwith
oneCPUandtwoI/Odevices
(c)2006PearsonEducation,Inc.
CPUOrganization

ThedatapathofatypicalVonNeumannmachine.
(c)2006PearsonEducation,Inc.
InstructionExecutionSteps
Fetchnextinstructionfrommemoryintoinstr.
register
Changeprogramcountertopointtonext
instruction
Determinetypeofinstructionjustfetched
Ifinstructionsuseswordinmemory,determine
whereFetchword,ifneeded,intoCPUregister
Executetheinstruction
Gotostep1tobeginexecutingfollowing
instruction
(c)2006PearsonEducation,Inc.
Interpreter(1)

...

Aninterpreterforasimplecomputer(writteninJava).
(c)2006PearsonEducation,Inc.
Interpreter(2)

Aninterpreterforasimplecomputer(writteninJava).
(c)2006PearsonEducation,Inc.
DesignPrinciplesforModernComputers

Allinstructionsdirectlyexecutedby
hardware
Maximizerateatwhichinstructionsare
issued
Instructionsshouldbeeasytodecode
Onlyloads,storesshouldreference
memory
Provideplentyofregisters
(c)2006PearsonEducation,Inc.
InstructionLevelParallelism

Afivestagepipeline
Thestateofeachstageasafunctionoftime.Nine
clockcyclesareillustrated
(c)2006PearsonEducation,Inc.
SuperscalarArchitectures(1)

Dualfivestagepipelineswithacommon
instructionfetchunit.

(c)2006PearsonEducation,Inc.
SuperscalarArchitectures(2)

Asuperscalarprocessorwithfivefunctionalunits.
(c)2006PearsonEducation,Inc.
ProcessorLevelParallelism(1)

AnarrayofprocessoroftheILLIACIVtype.
(c)2006PearsonEducation,Inc.
ProcessorLevelParallelism(2)

Asinglebusmultiprocessor.
Amulticomputerwithlocalmemories.
(c)2006PearsonEducation,Inc.
PrimaryMemory
MemoryAddresses(1)

Threewaysoforganizinga96bitmemory.
(c)2006PearsonEducation,Inc.
MemoryPackagingandTypes

Asingleinlinememorymodule(SIMM)holding256MB.Twoof
thechipscontroltheSIMM.

(c)2006PearsonEducation,Inc.
PrimaryMemory
MemoryAddresses(2)

Numberofbitspercell
forsomehistorically
interestingcommercial
computers

(c)2006PearsonEducation,Inc.
ByteOrdering(1)

(a)Bigendianmemory (b)Littleendianmemory
MSBinlowermemorylocation LSBinlowermemorylocation

(c)2006PearsonEducation,Inc.
ByteOrdering(2)

(a)Apersonalrecordforabigendianmachine.
(b)Thesamerecordforalittleendianmachine.
(c)Theresultoftransferringfrombigendiantolittleendian.
(d)Theresultofbyteswapping(c).

(c)2006PearsonEducation,Inc.
CacheMemory

ThecacheislogicallybetweentheCPUandmain
memory.Physically,thereareseveralpossibleplacesit
couldbelocated.

(c)2006PearsonEducation,Inc.
MemoryHierarchies

Afivelevelmemoryhierarchy.

(c)2006PearsonEducation,Inc.

Вам также может понравиться