You are on page 1of 10

CSN221:COMPUTERARCHITECTURE

ANDMICROPROCESSORS
Introduction to Computer Architecture
(Lecture - 2)

Dr.Sudip Roy
CourseWebsite:http://faculty.iitr.ac.in/~sudiproy.fcs/csn221_2015.html
PiazzaSite:https://piazza.com/iitr.ac.in/fall2015/csn221

LevelsofProgramCode:
Highlevellanguage
Levelofabstractionclosertoproblem
domain
Providesforproductivityand
portability

Assemblylanguage
Textualrepresentationofinstructions

Hardwarerepresentation:
Binarydigits(bits)
Encodedinstructionsanddata
Dr.SudipRoy

BasicComponentsofaComputer:

Dr.SudipRoy

vonNeumannComputerArchitecture:
ThevonNeumannmodelofauniversalcomputer(storedprogramcomputer)
Principles:
Dataandinstructionsarebothstoredinthemain
Thecontentofthememoryisaddressablebylocation
Instructionsareexecutedsequentiallyunlesstheorderisexplicitlymodified
Thebasicarchitectureofthecomputerconsistsof:
Computer
JohnvonNeumann
(1945):Founderof
ComputerArchitecture

Data
CPU

Bus

Main
Memory

Control

Dr.SudipRoy

vonNeumannComputerArchitecture:
Amorecompleteviewofthecomputersystemarchitecturethatintegrates
interaction(humanorotherwise)consistsof:
ComputerSystem
Computer
Input
Device

Data
CPU

Bus

Main
Memory

Output
Device

Control
FiveMainComponents:
1.CPU
2.MainMemory(RAM)
3.I/ODevices
4.MassStorage
5.Interconnectionnetwork(Bus)
Dr.SudipRoy

Bus

Bus
Secondary
Storage
Device

vonNeumannComputerArchitecture:

Dr.SudipRoy

HarvardComputerArchitecture:

Dr.SudipRoy

DifferencebetweenvonNeumannArchitectureandHarvard
Architecture:
ThevonNeumannArchitectureis
namedafterthemathematicianand
earlycomputerscientistJohnvon
Neumann.

ThenameHarvardArchitecturecomes
fromtheHarvardMarkIrelaybased
computer.

vonNeumannmachineshaveshared
signalsandmemoryforcodeanddata.

Themostobviouscharacteristicofthe
HarvardArchitectureisthatithas
physicallyseparatesignalsandstorage
forcodeanddatamemory.
Itispossibletoaccessprogrammemory
anddatamemorysimultaneously.
Typically,code(orprogram)memoryis
readonlyanddatamemoryisread
write.

Thus,theprogramcanbeeasily
modifiedbyitselfsinceitisstoredin
readwritememory.
Dr.SudipRoy

Therefore,itisimpossibleforprogram
contentstobemodifiedbytheprogram
itself.
8

AnotherViewofaDigitalComputer:

CPU

Dr.SudipRoy

THANKS FOR YOUR ATTENTION


Next class is on Tuesday

Dr.SudipRoy

10

You might also like