ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Von Neumann Architecture
Lecture by Chamodi Adikaram
for Northshore College of Business & Technology
Learning Objectives
? Understand the origin of von Neumann Architecture
? Understand von Neumann Architecture
? Understand its components and functionalities
? To be aware of other architectures
What is an architecture?
? ¡°The complex or carefully designed structure of
something.¡±
Early days
Fixed Programs
? They were designed to do very speci?c operations
? A calculator is a ?xed program computer.
? It can do basic mathematics, but it cannot be used as
a word processor or a gaming console.
? Changing the program of a ?xed-program machine
requires rewiring, restructuring, or redesigning the
machine.
? It could take three weeks to set up a program on
ENIAC and get it working.
Stored Programs
? A stored-program computer is one that
stores program instructions in electronic
memory
? Therefore easily reprogrammable
? Von Neumann is a stored program architecture
(also known as Princeton architecture)
introduced by John von Neumann, a
Hungarian-American mathematician, physicist,
and computer scientist.
Von Neumann Architecture
Von Neumann Architecture
cntd¡­
? The basic concept behind the von Neumann architecture is the ability to store program
instructions in memory along with the data on which those instructions operate.
? The von Neumann architecture describes a general framework, or structure, that a
computer's hardware, programming, and data should follow.
? Evan all the most modern computers and mobile devices are designed based on this
fundamental concept.
? It had 3 basic components:
1. I/O Interfaces
2. CPU
3. Memory
? Buses (denoted by the arrows) carries the data around
I/O Interfaces
? The I/O interfaces allow the computer's memory to
receive information and send data to output
devices.
? Allow the computer to communicate to the user and
to secondary storage devices like disk and tape
drives
Central Processing Unit
? Can be considered the heart of the computing
system
? Includes three main components:
1. Control Unit (CU)
2. Arithmetic Logic Unit (ALU)
3. Registers
CPU: Control Unit
? Responsible for decoding the instructions and
controlling how data moves around the computer
system
? The execution of each instruction is determined by
a sequence of control signals produced by the
control unit.
CPU: Arithmetic Logic Unit
? Carries out the calculations and logical decisions
required by the program instructions.
? The inputs to an ALU are the data to be operated
on, called operands, and a code indicating the
operation to be performed; the ALU's output is the
result of the performed operation.
CPU: Registers
? Registers are memory locations with speci?c purpose
? Accumulator (AC)- Stores the results of calculations made by the ALU
(temporary)
? Program counter (PC)- Keeps track of the location for the next instruction to
be dealt with. The program counter then passes this next address to the
memory address register (MAR)
? Memory Address Register (MAR)- Stores memory location for data or
instructions that needs to be fetched from memory or stored into memory
? Memory Data Register (MDR)- Stores data or instructions fetched from
memory or any data that is to be transferred and stored in memory
? Current Instruction Register (CIR)- Stores the most recently fetched
instruction while it is waiting to be decoded and executed
Memory
? The computer's memory is used to store program
instructions and data.
? Consists of many memory cells (storage units) of a
?xed size. Each cell has an address associated
with it.
? Two of the commonly used type of memories are
RAM (random-access memory) and Secondary
memory
Memory cntd¡­
? Memory width (W)- How many
bits is each memory cell,
(typically one byte =8 bits)
? Address width (N)- How many
bits used to represent each
address
? Address space- the number of
uniquely identi?able memory
locations (2N)
Advantages of von
Neumann Architecture
? Control Unit gets data and instruction in the same
way from one memory. It simpli?es design and
development of the Control Unit.
? Data from memory and from devices are accessed
in the same way.
? Memory organization is in the hands of
programmers.
Disadvantages of von
Neumann Architecture
? Serial instruction processing does not allow parallel
execution of program. Parallel executions are
simulated later by the Operating system.
? One bus is a bottleneck. Only one information can
be accessed at the same time.
? Instruction stored in the same memory as the data
can be accidentally rewritten by an error in a
program.
Alternative Architectures
Harvard Architecture
? Memory for data was separated from the memory for instruction.
? Two memories with two Buses allow parallel access to data and instructions.
Execution can be 2x faster.
? But control unit for two Buses is more complicated and more expensive.
Summary
? Von Neumann architecture is based on stored
programs concept.
? Has 3 main components.
? All modern computers still use this 70 year old
fundamental concept
? Has its own advantages and disadvantages
? Availability of alternative architectures
References
? University of Oxford?
https://www.robots.ox.ac.uk/~dwm/Courses/2CO_2014/2CO-N2.pdf
? University of Texas?
http://www.cs.utexas.edu/users/fussell/cs310h/lectures/Lecture_9-310h.pdf
? University of Victoria?
http://www.ece.uvic.ca/~wlu/Teaching/Winter/lecture%20301.pdf
? Southern Illinois University?
http://www2.cs.siu.edu/~cs401/Textbook/ch2.pdf
? Technical University of Ostrava?
http://poli.cs.vsb.cz/edu/apps/eng/p01-archcomp.pdf
? Youtube tutorial?
https://www.youtube.com/watch?v=ckDb_W72__c

More Related Content

What's hot (20)

Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
myrajendra
?
CPU (Central Processing Units)
CPU (Central Processing Units)CPU (Central Processing Units)
CPU (Central Processing Units)
Prabin Maharjan
?
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
Balakrishna Chowdary
?
Random Access Memory ppt
Random Access Memory pptRandom Access Memory ppt
Random Access Memory ppt
OECLIB Odisha Electronics Control Library
?
Computer architecture
Computer architectureComputer architecture
Computer architecture
Zuhaib Zaroon
?
memory hierarchy
memory hierarchymemory hierarchy
memory hierarchy
sreelakshmikv
?
Interrupts
InterruptsInterrupts
Interrupts
Urwa Shanza
?
Operating system
Operating systemOperating system
Operating system
yogitamore3
?
Von neumann architecture
Von neumann architectureVon neumann architecture
Von neumann architecture
HaiderAli759482
?
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
Vaibhav Bajaj
?
Computer organization
Computer organizationComputer organization
Computer organization
ishapadhy
?
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
Mukesh Chinta
?
Programming
ProgrammingProgramming
Programming
Leo Simon Anfone
?
CPU Architecture - Basic
CPU Architecture - BasicCPU Architecture - Basic
CPU Architecture - Basic
Yong Heui Cho
?
Computer Language Translator
Computer Language TranslatorComputer Language Translator
Computer Language Translator
Ranjeet Kumar
?
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
Faisal Hussain
?
Computer architecture
Computer architecture Computer architecture
Computer architecture
International Islamic University
?
Part I:Introduction to assembly language
Part I:Introduction to assembly languagePart I:Introduction to assembly language
Part I:Introduction to assembly language
Ahmed M. Abed
?
Cache Memory
Cache MemoryCache Memory
Cache Memory
Subid Biswas
?
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
Ibrahimcommunication Al Ani
?

Similar to Von Neumann Architecture (20)

VON_NEUMANN_ARCHITECTURE_PPT_COAA final.pptx
VON_NEUMANN_ARCHITECTURE_PPT_COAA final.pptxVON_NEUMANN_ARCHITECTURE_PPT_COAA final.pptx
VON_NEUMANN_ARCHITECTURE_PPT_COAA final.pptx
SanketGangode
?
ucs.pptxUCS UNIT 4 INPUT AND OUTPUT DEVICE
ucs.pptxUCS UNIT 4 INPUT AND OUTPUT DEVICEucs.pptxUCS UNIT 4 INPUT AND OUTPUT DEVICE
ucs.pptxUCS UNIT 4 INPUT AND OUTPUT DEVICE
sumitrajoriya9694
?
chapter 1 of computers organization .pdf
chapter 1 of computers organization .pdfchapter 1 of computers organization .pdf
chapter 1 of computers organization .pdf
nosybaahmed2
?
WEEK6_COMPUTER_ORGANIZATION.pptx
WEEK6_COMPUTER_ORGANIZATION.pptxWEEK6_COMPUTER_ORGANIZATION.pptx
WEEK6_COMPUTER_ORGANIZATION.pptx
EmmanueljohnBarretto
?
Unit I _COMPUTER ORGANISATON AND ARCHITECTURE_PPT.pptx
Unit I _COMPUTER ORGANISATON AND ARCHITECTURE_PPT.pptxUnit I _COMPUTER ORGANISATON AND ARCHITECTURE_PPT.pptx
Unit I _COMPUTER ORGANISATON AND ARCHITECTURE_PPT.pptx
snehapriya84
?
Unit I _Computer organisation andarchitecture
Unit I _Computer organisation andarchitectureUnit I _Computer organisation andarchitecture
Unit I _Computer organisation andarchitecture
figeman282
?
Brief Introduction.ppt
Brief Introduction.pptBrief Introduction.ppt
Brief Introduction.ppt
MollyZolly
?
Unit I.pptx
Unit I.pptxUnit I.pptx
Unit I.pptx
sahushweta1702
?
ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
berekethailu2
?
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
Zakaria Gomaa
?
Week 01.pdf
Week 01.pdfWeek 01.pdf
Week 01.pdf
ChuadaryUsamaGujjar
?
CSC204PPTNOTES
CSC204PPTNOTESCSC204PPTNOTES
CSC204PPTNOTES
Gilbert NZABONITEGEKA
?
Cao u1
Cao u1Cao u1
Cao u1
vishnu murthy
?
AS & A Level Computer Science Chapter 4 Presentation
AS & A Level Computer Science Chapter 4 PresentationAS & A Level Computer Science Chapter 4 Presentation
AS & A Level Computer Science Chapter 4 Presentation
ArnelAvila6
?
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
?
Power Supply
Power SupplyPower Supply
Power Supply
chrispaul8676
?
System Unit
System UnitSystem Unit
System Unit
chrispaul8676
?
Computer organization and architecture.pptx
Computer organization and architecture.pptxComputer organization and architecture.pptx
Computer organization and architecture.pptx
mynamemy
?
Computer organization and architecture|KTU
Computer organization and architecture|KTUComputer organization and architecture|KTU
Computer organization and architecture|KTU
ashlinpj36
?
Computer organization and architecture|KTU
Computer organization and architecture|KTUComputer organization and architecture|KTU
Computer organization and architecture|KTU
ashlinpj36
?
VON_NEUMANN_ARCHITECTURE_PPT_COAA final.pptx
VON_NEUMANN_ARCHITECTURE_PPT_COAA final.pptxVON_NEUMANN_ARCHITECTURE_PPT_COAA final.pptx
VON_NEUMANN_ARCHITECTURE_PPT_COAA final.pptx
SanketGangode
?
ucs.pptxUCS UNIT 4 INPUT AND OUTPUT DEVICE
ucs.pptxUCS UNIT 4 INPUT AND OUTPUT DEVICEucs.pptxUCS UNIT 4 INPUT AND OUTPUT DEVICE
ucs.pptxUCS UNIT 4 INPUT AND OUTPUT DEVICE
sumitrajoriya9694
?
chapter 1 of computers organization .pdf
chapter 1 of computers organization .pdfchapter 1 of computers organization .pdf
chapter 1 of computers organization .pdf
nosybaahmed2
?
Unit I _COMPUTER ORGANISATON AND ARCHITECTURE_PPT.pptx
Unit I _COMPUTER ORGANISATON AND ARCHITECTURE_PPT.pptxUnit I _COMPUTER ORGANISATON AND ARCHITECTURE_PPT.pptx
Unit I _COMPUTER ORGANISATON AND ARCHITECTURE_PPT.pptx
snehapriya84
?
Unit I _Computer organisation andarchitecture
Unit I _Computer organisation andarchitectureUnit I _Computer organisation andarchitecture
Unit I _Computer organisation andarchitecture
figeman282
?
Brief Introduction.ppt
Brief Introduction.pptBrief Introduction.ppt
Brief Introduction.ppt
MollyZolly
?
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
Zakaria Gomaa
?
AS & A Level Computer Science Chapter 4 Presentation
AS & A Level Computer Science Chapter 4 PresentationAS & A Level Computer Science Chapter 4 Presentation
AS & A Level Computer Science Chapter 4 Presentation
ArnelAvila6
?
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
?
Computer organization and architecture.pptx
Computer organization and architecture.pptxComputer organization and architecture.pptx
Computer organization and architecture.pptx
mynamemy
?
Computer organization and architecture|KTU
Computer organization and architecture|KTUComputer organization and architecture|KTU
Computer organization and architecture|KTU
ashlinpj36
?
Computer organization and architecture|KTU
Computer organization and architecture|KTUComputer organization and architecture|KTU
Computer organization and architecture|KTU
ashlinpj36
?

Recently uploaded (20)

Understanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptxUnderstanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
shyamraj55
?
EaseUS Partition Master Crack 2025 + Serial Key
EaseUS Partition Master Crack 2025 + Serial KeyEaseUS Partition Master Crack 2025 + Serial Key
EaseUS Partition Master Crack 2025 + Serial Key
kherorpacca127
?
Field Device Management Market Report 2030 - TechSci Research
Field Device Management Market Report 2030 - TechSci ResearchField Device Management Market Report 2030 - TechSci Research
Field Device Management Market Report 2030 - TechSci Research
Vipin Mishra
?
Fl studio crack version 12.9 Free Download
Fl studio crack version 12.9 Free DownloadFl studio crack version 12.9 Free Download
Fl studio crack version 12.9 Free Download
kherorpacca127
?
THE BIG TEN BIOPHARMACEUTICAL MNCs: GLOBAL CAPABILITY CENTERS IN INDIA
THE BIG TEN BIOPHARMACEUTICAL MNCs: GLOBAL CAPABILITY CENTERS IN INDIATHE BIG TEN BIOPHARMACEUTICAL MNCs: GLOBAL CAPABILITY CENTERS IN INDIA
THE BIG TEN BIOPHARMACEUTICAL MNCs: GLOBAL CAPABILITY CENTERS IN INDIA
Srivaanchi Nathan
?
1.1. Evolution-and-Scope-of-Business-Analytics.pptx
1.1. Evolution-and-Scope-of-Business-Analytics.pptx1.1. Evolution-and-Scope-of-Business-Analytics.pptx
1.1. Evolution-and-Scope-of-Business-Analytics.pptx
Jitendra Tomar
?
Cloud of everything Tech of the 21 century in Aviation
Cloud of everything Tech of the 21 century in AviationCloud of everything Tech of the 21 century in Aviation
Cloud of everything Tech of the 21 century in Aviation
Assem mousa
?
Wondershare Filmora Crack 14.3.2.11147 Latest
Wondershare Filmora Crack 14.3.2.11147 LatestWondershare Filmora Crack 14.3.2.11147 Latest
Wondershare Filmora Crack 14.3.2.11147 Latest
udkg888
?
[Webinar] Scaling Made Simple: Getting Started with No-Code Web Apps
[Webinar] Scaling Made Simple: Getting Started with No-Code Web Apps[Webinar] Scaling Made Simple: Getting Started with No-Code Web Apps
[Webinar] Scaling Made Simple: Getting Started with No-Code Web Apps
Safe Software
?
DevNexus - Building 10x Development Organizations.pdf
DevNexus - Building 10x Development Organizations.pdfDevNexus - Building 10x Development Organizations.pdf
DevNexus - Building 10x Development Organizations.pdf
Justin Reock
?
Unlock AI Creativity: Image Generation with DALL¡¤E
Unlock AI Creativity: Image Generation with DALL¡¤EUnlock AI Creativity: Image Generation with DALL¡¤E
Unlock AI Creativity: Image Generation with DALL¡¤E
Expeed Software
?
Transform Your Future with Front-End Development Training
Transform Your Future with Front-End Development TrainingTransform Your Future with Front-End Development Training
Transform Your Future with Front-End Development Training
Vtechlabs
?
Q4_TLE-7-Lesson-6-Week-6.pptx 4th quarter
Q4_TLE-7-Lesson-6-Week-6.pptx 4th quarterQ4_TLE-7-Lesson-6-Week-6.pptx 4th quarter
Q4_TLE-7-Lesson-6-Week-6.pptx 4th quarter
MariaBarbaraPaglinaw
?
DAO UTokyo 2025 DLT mass adoption case studies IBM Tsuyoshi Hirayama (ƽɽÒã)
DAO UTokyo 2025 DLT mass adoption case studies IBM Tsuyoshi Hirayama (ƽɽÒã)DAO UTokyo 2025 DLT mass adoption case studies IBM Tsuyoshi Hirayama (ƽɽÒã)
DAO UTokyo 2025 DLT mass adoption case studies IBM Tsuyoshi Hirayama (ƽɽÒã)
Tsuyoshi Hirayama
?
UiPath Automation Developer Associate Training Series 2025 - Session 1
UiPath Automation Developer Associate Training Series 2025 - Session 1UiPath Automation Developer Associate Training Series 2025 - Session 1
UiPath Automation Developer Associate Training Series 2025 - Session 1
DianaGray10
?
L01 Introduction to Nanoindentation - What is hardness
L01 Introduction to Nanoindentation - What is hardnessL01 Introduction to Nanoindentation - What is hardness
L01 Introduction to Nanoindentation - What is hardness
RostislavDaniel
?
MIND Revenue Release Quarter 4 2024 - Finacial Presentation
MIND Revenue Release Quarter 4 2024 - Finacial PresentationMIND Revenue Release Quarter 4 2024 - Finacial Presentation
MIND Revenue Release Quarter 4 2024 - Finacial Presentation
MIND CTI
?
Deno ...................................
Deno ...................................Deno ...................................
Deno ...................................
Robert MacLean
?
30B Images and Counting: Scaling Canva's Content-Understanding Pipelines by K...
30B Images and Counting: Scaling Canva's Content-Understanding Pipelines by K...30B Images and Counting: Scaling Canva's Content-Understanding Pipelines by K...
30B Images and Counting: Scaling Canva's Content-Understanding Pipelines by K...
ScyllaDB
?
Endpoint Backup: 3 Reasons MSPs Ignore It
Endpoint Backup: 3 Reasons MSPs Ignore ItEndpoint Backup: 3 Reasons MSPs Ignore It
Endpoint Backup: 3 Reasons MSPs Ignore It
MSP360
?
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptxUnderstanding Traditional AI with Custom Vision & MuleSoft.pptx
Understanding Traditional AI with Custom Vision & MuleSoft.pptx
shyamraj55
?
EaseUS Partition Master Crack 2025 + Serial Key
EaseUS Partition Master Crack 2025 + Serial KeyEaseUS Partition Master Crack 2025 + Serial Key
EaseUS Partition Master Crack 2025 + Serial Key
kherorpacca127
?
Field Device Management Market Report 2030 - TechSci Research
Field Device Management Market Report 2030 - TechSci ResearchField Device Management Market Report 2030 - TechSci Research
Field Device Management Market Report 2030 - TechSci Research
Vipin Mishra
?
Fl studio crack version 12.9 Free Download
Fl studio crack version 12.9 Free DownloadFl studio crack version 12.9 Free Download
Fl studio crack version 12.9 Free Download
kherorpacca127
?
THE BIG TEN BIOPHARMACEUTICAL MNCs: GLOBAL CAPABILITY CENTERS IN INDIA
THE BIG TEN BIOPHARMACEUTICAL MNCs: GLOBAL CAPABILITY CENTERS IN INDIATHE BIG TEN BIOPHARMACEUTICAL MNCs: GLOBAL CAPABILITY CENTERS IN INDIA
THE BIG TEN BIOPHARMACEUTICAL MNCs: GLOBAL CAPABILITY CENTERS IN INDIA
Srivaanchi Nathan
?
1.1. Evolution-and-Scope-of-Business-Analytics.pptx
1.1. Evolution-and-Scope-of-Business-Analytics.pptx1.1. Evolution-and-Scope-of-Business-Analytics.pptx
1.1. Evolution-and-Scope-of-Business-Analytics.pptx
Jitendra Tomar
?
Cloud of everything Tech of the 21 century in Aviation
Cloud of everything Tech of the 21 century in AviationCloud of everything Tech of the 21 century in Aviation
Cloud of everything Tech of the 21 century in Aviation
Assem mousa
?
Wondershare Filmora Crack 14.3.2.11147 Latest
Wondershare Filmora Crack 14.3.2.11147 LatestWondershare Filmora Crack 14.3.2.11147 Latest
Wondershare Filmora Crack 14.3.2.11147 Latest
udkg888
?
[Webinar] Scaling Made Simple: Getting Started with No-Code Web Apps
[Webinar] Scaling Made Simple: Getting Started with No-Code Web Apps[Webinar] Scaling Made Simple: Getting Started with No-Code Web Apps
[Webinar] Scaling Made Simple: Getting Started with No-Code Web Apps
Safe Software
?
DevNexus - Building 10x Development Organizations.pdf
DevNexus - Building 10x Development Organizations.pdfDevNexus - Building 10x Development Organizations.pdf
DevNexus - Building 10x Development Organizations.pdf
Justin Reock
?
Unlock AI Creativity: Image Generation with DALL¡¤E
Unlock AI Creativity: Image Generation with DALL¡¤EUnlock AI Creativity: Image Generation with DALL¡¤E
Unlock AI Creativity: Image Generation with DALL¡¤E
Expeed Software
?
Transform Your Future with Front-End Development Training
Transform Your Future with Front-End Development TrainingTransform Your Future with Front-End Development Training
Transform Your Future with Front-End Development Training
Vtechlabs
?
Q4_TLE-7-Lesson-6-Week-6.pptx 4th quarter
Q4_TLE-7-Lesson-6-Week-6.pptx 4th quarterQ4_TLE-7-Lesson-6-Week-6.pptx 4th quarter
Q4_TLE-7-Lesson-6-Week-6.pptx 4th quarter
MariaBarbaraPaglinaw
?
DAO UTokyo 2025 DLT mass adoption case studies IBM Tsuyoshi Hirayama (ƽɽÒã)
DAO UTokyo 2025 DLT mass adoption case studies IBM Tsuyoshi Hirayama (ƽɽÒã)DAO UTokyo 2025 DLT mass adoption case studies IBM Tsuyoshi Hirayama (ƽɽÒã)
DAO UTokyo 2025 DLT mass adoption case studies IBM Tsuyoshi Hirayama (ƽɽÒã)
Tsuyoshi Hirayama
?
UiPath Automation Developer Associate Training Series 2025 - Session 1
UiPath Automation Developer Associate Training Series 2025 - Session 1UiPath Automation Developer Associate Training Series 2025 - Session 1
UiPath Automation Developer Associate Training Series 2025 - Session 1
DianaGray10
?
L01 Introduction to Nanoindentation - What is hardness
L01 Introduction to Nanoindentation - What is hardnessL01 Introduction to Nanoindentation - What is hardness
L01 Introduction to Nanoindentation - What is hardness
RostislavDaniel
?
MIND Revenue Release Quarter 4 2024 - Finacial Presentation
MIND Revenue Release Quarter 4 2024 - Finacial PresentationMIND Revenue Release Quarter 4 2024 - Finacial Presentation
MIND Revenue Release Quarter 4 2024 - Finacial Presentation
MIND CTI
?
Deno ...................................
Deno ...................................Deno ...................................
Deno ...................................
Robert MacLean
?
30B Images and Counting: Scaling Canva's Content-Understanding Pipelines by K...
30B Images and Counting: Scaling Canva's Content-Understanding Pipelines by K...30B Images and Counting: Scaling Canva's Content-Understanding Pipelines by K...
30B Images and Counting: Scaling Canva's Content-Understanding Pipelines by K...
ScyllaDB
?
Endpoint Backup: 3 Reasons MSPs Ignore It
Endpoint Backup: 3 Reasons MSPs Ignore ItEndpoint Backup: 3 Reasons MSPs Ignore It
Endpoint Backup: 3 Reasons MSPs Ignore It
MSP360
?

Von Neumann Architecture

  • 1. Von Neumann Architecture Lecture by Chamodi Adikaram for Northshore College of Business & Technology
  • 2. Learning Objectives ? Understand the origin of von Neumann Architecture ? Understand von Neumann Architecture ? Understand its components and functionalities ? To be aware of other architectures
  • 3. What is an architecture? ? ¡°The complex or carefully designed structure of something.¡±
  • 5. Fixed Programs ? They were designed to do very speci?c operations ? A calculator is a ?xed program computer. ? It can do basic mathematics, but it cannot be used as a word processor or a gaming console. ? Changing the program of a ?xed-program machine requires rewiring, restructuring, or redesigning the machine. ? It could take three weeks to set up a program on ENIAC and get it working.
  • 6. Stored Programs ? A stored-program computer is one that stores program instructions in electronic memory ? Therefore easily reprogrammable ? Von Neumann is a stored program architecture (also known as Princeton architecture) introduced by John von Neumann, a Hungarian-American mathematician, physicist, and computer scientist.
  • 8. Von Neumann Architecture cntd¡­ ? The basic concept behind the von Neumann architecture is the ability to store program instructions in memory along with the data on which those instructions operate. ? The von Neumann architecture describes a general framework, or structure, that a computer's hardware, programming, and data should follow. ? Evan all the most modern computers and mobile devices are designed based on this fundamental concept. ? It had 3 basic components: 1. I/O Interfaces 2. CPU 3. Memory ? Buses (denoted by the arrows) carries the data around
  • 9. I/O Interfaces ? The I/O interfaces allow the computer's memory to receive information and send data to output devices. ? Allow the computer to communicate to the user and to secondary storage devices like disk and tape drives
  • 10. Central Processing Unit ? Can be considered the heart of the computing system ? Includes three main components: 1. Control Unit (CU) 2. Arithmetic Logic Unit (ALU) 3. Registers
  • 11. CPU: Control Unit ? Responsible for decoding the instructions and controlling how data moves around the computer system ? The execution of each instruction is determined by a sequence of control signals produced by the control unit.
  • 12. CPU: Arithmetic Logic Unit ? Carries out the calculations and logical decisions required by the program instructions. ? The inputs to an ALU are the data to be operated on, called operands, and a code indicating the operation to be performed; the ALU's output is the result of the performed operation.
  • 13. CPU: Registers ? Registers are memory locations with speci?c purpose ? Accumulator (AC)- Stores the results of calculations made by the ALU (temporary) ? Program counter (PC)- Keeps track of the location for the next instruction to be dealt with. The program counter then passes this next address to the memory address register (MAR) ? Memory Address Register (MAR)- Stores memory location for data or instructions that needs to be fetched from memory or stored into memory ? Memory Data Register (MDR)- Stores data or instructions fetched from memory or any data that is to be transferred and stored in memory ? Current Instruction Register (CIR)- Stores the most recently fetched instruction while it is waiting to be decoded and executed
  • 14. Memory ? The computer's memory is used to store program instructions and data. ? Consists of many memory cells (storage units) of a ?xed size. Each cell has an address associated with it. ? Two of the commonly used type of memories are RAM (random-access memory) and Secondary memory
  • 15. Memory cntd¡­ ? Memory width (W)- How many bits is each memory cell, (typically one byte =8 bits) ? Address width (N)- How many bits used to represent each address ? Address space- the number of uniquely identi?able memory locations (2N)
  • 16. Advantages of von Neumann Architecture ? Control Unit gets data and instruction in the same way from one memory. It simpli?es design and development of the Control Unit. ? Data from memory and from devices are accessed in the same way. ? Memory organization is in the hands of programmers.
  • 17. Disadvantages of von Neumann Architecture ? Serial instruction processing does not allow parallel execution of program. Parallel executions are simulated later by the Operating system. ? One bus is a bottleneck. Only one information can be accessed at the same time. ? Instruction stored in the same memory as the data can be accidentally rewritten by an error in a program.
  • 18. Alternative Architectures Harvard Architecture ? Memory for data was separated from the memory for instruction. ? Two memories with two Buses allow parallel access to data and instructions. Execution can be 2x faster. ? But control unit for two Buses is more complicated and more expensive.
  • 19. Summary ? Von Neumann architecture is based on stored programs concept. ? Has 3 main components. ? All modern computers still use this 70 year old fundamental concept ? Has its own advantages and disadvantages ? Availability of alternative architectures
  • 20. References ? University of Oxford? https://www.robots.ox.ac.uk/~dwm/Courses/2CO_2014/2CO-N2.pdf ? University of Texas? http://www.cs.utexas.edu/users/fussell/cs310h/lectures/Lecture_9-310h.pdf ? University of Victoria? http://www.ece.uvic.ca/~wlu/Teaching/Winter/lecture%20301.pdf ? Southern Illinois University? http://www2.cs.siu.edu/~cs401/Textbook/ch2.pdf ? Technical University of Ostrava? http://poli.cs.vsb.cz/edu/apps/eng/p01-archcomp.pdf ? Youtube tutorial? https://www.youtube.com/watch?v=ckDb_W72__c