SlideShare a Scribd company logo
Computer Architecture  By Mohamed ELARBI Office: SR036 Tel(Office): 2582137 Email:  [email_address] Office Hours: Sat (13:00-15:00), Sun (13:00-15:00), Mon (13:00-14:00)
Useful information: Textbook :  Computer Organization and Architecture.  By  William Stallings. Other resources: Computer Architecture . A quantitative Approach. John L. Hennessy & David A. Patterson Structured Computer Organization Fourth Edition, by A ndrew S. Tanenbaum http://cwx.prenhall.com/bookbind/pubbooks/tanenbaum2 /
Internet Resources - Web site for textbook http://WilliamStallings.com/COA6e.html links to sites of interest links to sites for courses that use the book errata list for book http://WilliamStallings.com/StudentSupport.html Math How-to Research resources
Internet Resources - Web sites to look for WWW Computer Architecture Home Page CPU Info Center ACM Special Interest Group on Computer Architecture IEEE Technical Committee on Computer Architecture Intel Technology Journal Manufacturer’s sites Intel, IBM, etc.
Parallel computer architectures, Distributed computing  Week 14  Parallel Processing , Cache coherence in parallel computing  Week 13 EPIC CPU Design, Operating System Issues, Paging & Segmentation  Week 12  Pipeline design, Branch prediction , Superscalar design  Weeks 10-11  Register and dataflow design, CPU control unit  Microprogrammed control , Hardwired control  Weeks 8-9  Representing information digitally, Instruction Sets [CISC/RISC], Addressing Modes  Weeks 6-7  Overall CPU organization , High-level issues in CPU design, Memory Hierarchy and cache, External memory , RAID organization of hard disks  Weeks 3-5  Introduction & vocabulary, History of computer architecture , Overview of computer organization,  Weeks 1-2 Topics Timetable
Topics Computer Architecture Computer Organization Organization and Architecture Structure and Function
Computer Architecture (1) Definition? “ The design of integrated system which provides a useful tool to the programmer.” (Baer) “ The study of the structure, behaviour, and design of computers.” (Hayes) “ The design of the system specification at a general or subsystem level.” (Abd-Alla) “ The art of designing a machine that will be a pleasure to work with.” (Foster) “ The interface between the hardware and the lowest level software.” (Hennessy and Patterson)
Computer Architecture (2) Therefore, computer architecture refers to Attributes of a system  visible  to programmers Attributes that have a direct impact on the execution of programs Attributes Instruction set Data representation I/O mechanisms Addressing techniques
Computer Organization Organization refers to operational units and their interconnections that realize the architectural specifications. Attributes: hardware details transparent to programmers Control signals Computer/peripheral interface Memory technology
Architecture & Organization (1) Architecture is  attributes visible to programmers Organization is  how features are   implemented Example: Architecture: multiply instruction? Organization: hardware multiply unit or done by repeated addition? (how is it implemented?) Example: IBM/370 architecture different models (organizations)
Architecture & Organization (2) Family Concept All Intel x86 family share the same basic architecture The IBM System/370 family share the same basic architecture This gives code compatibility (at least backwards) Organization differs between different versions
Some Definitions • Computer architecture  deals with the functional behavior of a computer system as viewed by a programmer (like the size of a data type – 32 bits to an integer). • Computer organization  deals with structural relationships that are not visible to the programmer (like clock frequency or the size of the physical memory). • There is a concept of   levels  in computer architecture. The basic idea is that there are many levels at which a computer can be considered, from the highest level, where the user is running programs, to the lowest level, consisting of transistors and wires .
Computer Architecture v. Computer Organization Architecture - logical design of a computer, allows you to write programs Instruction set (what is the instruction set?) Representation of data types (integers v. characters v. floating point types) Input/Output mechanisms (how does the computer communicate with the world?) Memory addressing techniques Organization - physical design of a computer How many registers? What is a register? How many registers does a typical CPU have?
Structure & Function (1) Computer Complex system=> How can we design/describe it? Hierarchic system: A set of interrelated subsystems, each subsystem hierarchic in structure until some lowest level of elementary subsystems is reached At each level of the system, the designer is concerned with  structure  and  function .
Structure & Function (2) Structure is the way in which components relate to each other Function is the operation of individual components as part of the structure
Function Basic computer functions: Data processing Data storage Data movement Control
Functional View The von Neumann Model • The von Neumann model consists of five major components: (1) input unit; (2) output unit; (3) arithmetic logic unit; (4) memory unit; (5) control unit.
The System Bus Model • A refinement of the von Neumann model, the system bus model has a CPU (ALU and control), memory, and an input/output unit. • Communication among components is handled by a shared pathway called the  system bus , which is made up of the data bus, the address bus, and the control bus. There is also a power bus, and some architectures may also have a separate I/O bus.
A Typical Computer System
The Motherboard • The five von Neumann components are visible in this example motherboard, in the context of the system bus model.
Scientific Prefixes • For computer memory, 1K = 2 10  = 1024. For everything else, like clock speeds, 1K = 1000, and likewise for 1M, 1G,  etc.
Digital Components Transistors Replaced vacuum tubes Smaller Cheaper Less heat dissipation Solid State device Made from Silicon (Sand) Invented 1947 at Bell Labs William Shockley et al. High level digital circuit designs are normally made using collections of logic gates referred to as components, rather than using individual logic gates. The majority function can be viewed as a component.
Microelectronics Literally - “small electronics” A computer is made up of gates, memory cells and interconnections These can be manufactured on a semiconductor e.g. silicon wafer
Levels of Integration Levels of integration (numbers of gates) in an integrated circuit (IC): Small scale integration (SSI): 10-100 gates.  Medium scale integration (MSI): 100 to 1000 gates. Large scale integration (LSI): 1000-10,000 logic gates. Very large scale integration (VLSI): 10,000-upward. These levels are approximate, but the distinctions are useful in comparing the relative complexity of circuits.
Generations of Computer First generation: Vacuum tube - 1946-1957 Second generation: Transistor - 1958-1964 Third generation: Integrated circuits – 1965 – 1971 Small scale integration - 1965 on Up to 100 devices on a chip Medium scale integration - to 1971 100-1000 devices on a chip Semiconductor memory (1970) Microprocessor (1971)
Generations of Computer Fourth generation: Large scale integration (LSI) - 1971-1977 1,000 - 100,000 devices on a chip Intel 8080: first general-purpose microprocessor (1974) Fifth generation: 1978 – present Very large scale integration (VLSI) - 1978 to date 100,000 - 100,000,000 devices on a chip Ultra large scale integration (ULSI) Over 100,000,000 devices on a chip
 
Moore’s Law: Computing power doubles every 18 months  for the same price.
 
Languages, Levels and Virtual Machines.
 
Translation One method of executing a program written in L1 is first to replace each instruction in it by an equivalent sequence of instructions in L0. The resulting program consists entirely of L0 instructions. The computer then executes the new L0 program instead of L1 program. This technique is called TRANSLATION !
Interpretation The other technique is to write a program in L0 that takes programs in L1 as input data and carries them out by examining each instruction in turn and executing the equivalent sequence of L0 instructions directly. This technique does not require first generating a new program in L0. It is called INTERPRETATION.
Multilevel Machines Most modern machines consist of two or more levels. Machines with as many as six levels even exist!
 
 
Questions?
Ad

More Related Content

What's hot (20)

pipelining
pipeliningpipelining
pipelining
Siddique Ibrahim
 
Introduction to Bus | Address, Data, Control Bus
Introduction to Bus | Address, Data, Control BusIntroduction to Bus | Address, Data, Control Bus
Introduction to Bus | Address, Data, Control Bus
Hem Pokhrel
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
Kumar
 
CPU Architecture - Basic
CPU Architecture - BasicCPU Architecture - Basic
CPU Architecture - Basic
Yong Heui Cho
 
Computer Systems Organization
Computer Systems OrganizationComputer Systems Organization
Computer Systems Organization
LiEdo
 
Chapter01Introducing Hardware
Chapter01Introducing HardwareChapter01Introducing Hardware
Chapter01Introducing Hardware
Patty Ramsey
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organization
Badrinath Kadam
 
Instruction pipeline: Computer Architecture
Instruction pipeline: Computer ArchitectureInstruction pipeline: Computer Architecture
Instruction pipeline: Computer Architecture
InteX Research Lab
 
Computer registers
Computer registersComputer registers
Computer registers
DeepikaT13
 
Introduction to Computer Architecture
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer Architecture
Ankush Srivastava
 
Processor types
Processor typesProcessor types
Processor types
Amr Aboelgood
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
mekind
 
BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE
Himanshu Sharma
 
Computer organization & architecture chapter-1
Computer organization & architecture chapter-1Computer organization & architecture chapter-1
Computer organization & architecture chapter-1
Shah Rukh Rayaz
 
Computer system bus
Computer system busComputer system bus
Computer system bus
Goran W. Hama Ali
 
Introduction to computer architecture and organization
Introduction to computer architecture and organizationIntroduction to computer architecture and organization
Introduction to computer architecture and organization
Muhammad Ishaq
 
Memory system
Memory systemMemory system
Memory system
gourav kottawar
 
Basics of the Computer System
Basics of the Computer SystemBasics of the Computer System
Basics of the Computer System
Ahsan Rahim
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
Punjab College Of Technical Education
 
Cache memory
Cache memoryCache memory
Cache memory
chauhankapil
 
Introduction to Bus | Address, Data, Control Bus
Introduction to Bus | Address, Data, Control BusIntroduction to Bus | Address, Data, Control Bus
Introduction to Bus | Address, Data, Control Bus
Hem Pokhrel
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
Kumar
 
CPU Architecture - Basic
CPU Architecture - BasicCPU Architecture - Basic
CPU Architecture - Basic
Yong Heui Cho
 
Computer Systems Organization
Computer Systems OrganizationComputer Systems Organization
Computer Systems Organization
LiEdo
 
Chapter01Introducing Hardware
Chapter01Introducing HardwareChapter01Introducing Hardware
Chapter01Introducing Hardware
Patty Ramsey
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organization
Badrinath Kadam
 
Instruction pipeline: Computer Architecture
Instruction pipeline: Computer ArchitectureInstruction pipeline: Computer Architecture
Instruction pipeline: Computer Architecture
InteX Research Lab
 
Computer registers
Computer registersComputer registers
Computer registers
DeepikaT13
 
Introduction to Computer Architecture
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer Architecture
Ankush Srivastava
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
mekind
 
BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE
Himanshu Sharma
 
Computer organization & architecture chapter-1
Computer organization & architecture chapter-1Computer organization & architecture chapter-1
Computer organization & architecture chapter-1
Shah Rukh Rayaz
 
Introduction to computer architecture and organization
Introduction to computer architecture and organizationIntroduction to computer architecture and organization
Introduction to computer architecture and organization
Muhammad Ishaq
 
Basics of the Computer System
Basics of the Computer SystemBasics of the Computer System
Basics of the Computer System
Ahsan Rahim
 

Viewers also liked (8)

Business-IT Alignment
Business-IT AlignmentBusiness-IT Alignment
Business-IT Alignment
Walter Adamson
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
Poojith Chowdhary
 
.NET Performance Boost
.NET Performance Boost.NET Performance Boost
.NET Performance Boost
GlobalLogic Ukraine
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
Gopikrishna Madanan
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
prasadpawaskar
 
Ntroduction to computer architecture and organization
Ntroduction to computer architecture and organizationNtroduction to computer architecture and organization
Ntroduction to computer architecture and organization
Fakulti seni, komputeran dan indusri kreatif
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
Rishabha Garg
 
The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017
LinkedIn
 
Ad

Similar to 0 introduction to computer architecture (20)

Lecturer1 introduction to computer architecture (ca)
Lecturer1   introduction to computer architecture (ca)Lecturer1   introduction to computer architecture (ca)
Lecturer1 introduction to computer architecture (ca)
ADEOLA ADISA
 
chapter 1 of computers organization .pdf
chapter 1 of computers organization .pdfchapter 1 of computers organization .pdf
chapter 1 of computers organization .pdf
nosybaahmed2
 
CH01-COA10e_Stallings .pptx
CH01-COA10e_Stallings                      .pptxCH01-COA10e_Stallings                      .pptx
CH01-COA10e_Stallings .pptx
SumeetRathi5
 
COA.pptx
COA.pptxCOA.pptx
COA.pptx
SumitKumarYadav87201
 
CS465Lec1.ppt computer architecture in the fall term
CS465Lec1.ppt computer architecture in the fall termCS465Lec1.ppt computer architecture in the fall term
CS465Lec1.ppt computer architecture in the fall term
ppavani10
 
lecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptx
lecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptx
lecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptx
aliashraf9689
 
1. Introduction to computer Organisation and architecture.ppt
1. Introduction to computer Organisation and architecture.ppt1. Introduction to computer Organisation and architecture.ppt
1. Introduction to computer Organisation and architecture.ppt
hfaymsgya9
 
Computer architecture lecture... 2 .pptx
Computer architecture lecture... 2 .pptxComputer architecture lecture... 2 .pptx
Computer architecture lecture... 2 .pptx
FatimaAhmed225812
 
module1_CA_for use of tribal network .pptx
module1_CA_for use of tribal network .pptxmodule1_CA_for use of tribal network .pptx
module1_CA_for use of tribal network .pptx
hckrrr3319
 
Week 1 intro to computer organization and assembly language
Week 1 intro to computer organization and assembly languageWeek 1 intro to computer organization and assembly language
Week 1 intro to computer organization and assembly language
AdeelAsghar36
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
oudesign
 
Computer Organization and Assembly Language introduction
Computer Organization and Assembly Language introductionComputer Organization and Assembly Language introduction
Computer Organization and Assembly Language introduction
asifiqra1110
 
Lecture on human computer interaction.pdf
Lecture on human computer interaction.pdfLecture on human computer interaction.pdf
Lecture on human computer interaction.pdf
patriciaacquah30o
 
Introduction to the operating and its types
Introduction to the operating and its typesIntroduction to the operating and its types
Introduction to the operating and its types
nazimsattar
 
Joemary.doc
Joemary.docJoemary.doc
Joemary.doc
cas123
 
Computer
ComputerComputer
Computer
Ali Kamran
 
01_Introduction (1).ppt
01_Introduction (1).ppt01_Introduction (1).ppt
01_Introduction (1).ppt
AmirZaman21
 
raymart aborque
raymart aborqueraymart aborque
raymart aborque
cas123
 
Fundamentals of Computer Design including performance measurements & quantita...
Fundamentals of Computer Design including performance measurements & quantita...Fundamentals of Computer Design including performance measurements & quantita...
Fundamentals of Computer Design including performance measurements & quantita...
Gaditek
 
Par com
Par comPar com
Par com
tttoracle
 
Lecturer1 introduction to computer architecture (ca)
Lecturer1   introduction to computer architecture (ca)Lecturer1   introduction to computer architecture (ca)
Lecturer1 introduction to computer architecture (ca)
ADEOLA ADISA
 
chapter 1 of computers organization .pdf
chapter 1 of computers organization .pdfchapter 1 of computers organization .pdf
chapter 1 of computers organization .pdf
nosybaahmed2
 
CH01-COA10e_Stallings .pptx
CH01-COA10e_Stallings                      .pptxCH01-COA10e_Stallings                      .pptx
CH01-COA10e_Stallings .pptx
SumeetRathi5
 
CS465Lec1.ppt computer architecture in the fall term
CS465Lec1.ppt computer architecture in the fall termCS465Lec1.ppt computer architecture in the fall term
CS465Lec1.ppt computer architecture in the fall term
ppavani10
 
lecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptx
lecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptx
lecture3-isa.pptxlecture3-isa.pptxlecture3-isa.pptx
aliashraf9689
 
1. Introduction to computer Organisation and architecture.ppt
1. Introduction to computer Organisation and architecture.ppt1. Introduction to computer Organisation and architecture.ppt
1. Introduction to computer Organisation and architecture.ppt
hfaymsgya9
 
Computer architecture lecture... 2 .pptx
Computer architecture lecture... 2 .pptxComputer architecture lecture... 2 .pptx
Computer architecture lecture... 2 .pptx
FatimaAhmed225812
 
module1_CA_for use of tribal network .pptx
module1_CA_for use of tribal network .pptxmodule1_CA_for use of tribal network .pptx
module1_CA_for use of tribal network .pptx
hckrrr3319
 
Week 1 intro to computer organization and assembly language
Week 1 intro to computer organization and assembly languageWeek 1 intro to computer organization and assembly language
Week 1 intro to computer organization and assembly language
AdeelAsghar36
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
oudesign
 
Computer Organization and Assembly Language introduction
Computer Organization and Assembly Language introductionComputer Organization and Assembly Language introduction
Computer Organization and Assembly Language introduction
asifiqra1110
 
Lecture on human computer interaction.pdf
Lecture on human computer interaction.pdfLecture on human computer interaction.pdf
Lecture on human computer interaction.pdf
patriciaacquah30o
 
Introduction to the operating and its types
Introduction to the operating and its typesIntroduction to the operating and its types
Introduction to the operating and its types
nazimsattar
 
Joemary.doc
Joemary.docJoemary.doc
Joemary.doc
cas123
 
01_Introduction (1).ppt
01_Introduction (1).ppt01_Introduction (1).ppt
01_Introduction (1).ppt
AmirZaman21
 
raymart aborque
raymart aborqueraymart aborque
raymart aborque
cas123
 
Fundamentals of Computer Design including performance measurements & quantita...
Fundamentals of Computer Design including performance measurements & quantita...Fundamentals of Computer Design including performance measurements & quantita...
Fundamentals of Computer Design including performance measurements & quantita...
Gaditek
 
Ad

Recently uploaded (20)

YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
Anti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptxAnti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptx
Mayuri Chavan
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACYUNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
DR.PRISCILLA MARY J
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Library Association of Ireland
 
Political History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptxPolitical History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
SPRING FESTIVITIES - UK AND USA -
SPRING FESTIVITIES - UK AND USA            -SPRING FESTIVITIES - UK AND USA            -
SPRING FESTIVITIES - UK AND USA -
Colégio Santa Teresinha
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
Anti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptxAnti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptx
Mayuri Chavan
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACYUNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
DR.PRISCILLA MARY J
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Library Association of Ireland
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 

0 introduction to computer architecture

  • 1. Computer Architecture By Mohamed ELARBI Office: SR036 Tel(Office): 2582137 Email: [email_address] Office Hours: Sat (13:00-15:00), Sun (13:00-15:00), Mon (13:00-14:00)
  • 2. Useful information: Textbook : Computer Organization and Architecture. By William Stallings. Other resources: Computer Architecture . A quantitative Approach. John L. Hennessy & David A. Patterson Structured Computer Organization Fourth Edition, by A ndrew S. Tanenbaum http://cwx.prenhall.com/bookbind/pubbooks/tanenbaum2 /
  • 3. Internet Resources - Web site for textbook http://WilliamStallings.com/COA6e.html links to sites of interest links to sites for courses that use the book errata list for book http://WilliamStallings.com/StudentSupport.html Math How-to Research resources
  • 4. Internet Resources - Web sites to look for WWW Computer Architecture Home Page CPU Info Center ACM Special Interest Group on Computer Architecture IEEE Technical Committee on Computer Architecture Intel Technology Journal Manufacturer’s sites Intel, IBM, etc.
  • 5. Parallel computer architectures, Distributed computing Week 14 Parallel Processing , Cache coherence in parallel computing Week 13 EPIC CPU Design, Operating System Issues, Paging & Segmentation Week 12 Pipeline design, Branch prediction , Superscalar design Weeks 10-11 Register and dataflow design, CPU control unit Microprogrammed control , Hardwired control Weeks 8-9 Representing information digitally, Instruction Sets [CISC/RISC], Addressing Modes Weeks 6-7 Overall CPU organization , High-level issues in CPU design, Memory Hierarchy and cache, External memory , RAID organization of hard disks Weeks 3-5 Introduction & vocabulary, History of computer architecture , Overview of computer organization, Weeks 1-2 Topics Timetable
  • 6. Topics Computer Architecture Computer Organization Organization and Architecture Structure and Function
  • 7. Computer Architecture (1) Definition? “ The design of integrated system which provides a useful tool to the programmer.” (Baer) “ The study of the structure, behaviour, and design of computers.” (Hayes) “ The design of the system specification at a general or subsystem level.” (Abd-Alla) “ The art of designing a machine that will be a pleasure to work with.” (Foster) “ The interface between the hardware and the lowest level software.” (Hennessy and Patterson)
  • 8. Computer Architecture (2) Therefore, computer architecture refers to Attributes of a system visible to programmers Attributes that have a direct impact on the execution of programs Attributes Instruction set Data representation I/O mechanisms Addressing techniques
  • 9. Computer Organization Organization refers to operational units and their interconnections that realize the architectural specifications. Attributes: hardware details transparent to programmers Control signals Computer/peripheral interface Memory technology
  • 10. Architecture & Organization (1) Architecture is attributes visible to programmers Organization is how features are implemented Example: Architecture: multiply instruction? Organization: hardware multiply unit or done by repeated addition? (how is it implemented?) Example: IBM/370 architecture different models (organizations)
  • 11. Architecture & Organization (2) Family Concept All Intel x86 family share the same basic architecture The IBM System/370 family share the same basic architecture This gives code compatibility (at least backwards) Organization differs between different versions
  • 12. Some Definitions • Computer architecture deals with the functional behavior of a computer system as viewed by a programmer (like the size of a data type – 32 bits to an integer). • Computer organization deals with structural relationships that are not visible to the programmer (like clock frequency or the size of the physical memory). • There is a concept of levels in computer architecture. The basic idea is that there are many levels at which a computer can be considered, from the highest level, where the user is running programs, to the lowest level, consisting of transistors and wires .
  • 13. Computer Architecture v. Computer Organization Architecture - logical design of a computer, allows you to write programs Instruction set (what is the instruction set?) Representation of data types (integers v. characters v. floating point types) Input/Output mechanisms (how does the computer communicate with the world?) Memory addressing techniques Organization - physical design of a computer How many registers? What is a register? How many registers does a typical CPU have?
  • 14. Structure & Function (1) Computer Complex system=> How can we design/describe it? Hierarchic system: A set of interrelated subsystems, each subsystem hierarchic in structure until some lowest level of elementary subsystems is reached At each level of the system, the designer is concerned with structure and function .
  • 15. Structure & Function (2) Structure is the way in which components relate to each other Function is the operation of individual components as part of the structure
  • 16. Function Basic computer functions: Data processing Data storage Data movement Control
  • 17. Functional View The von Neumann Model • The von Neumann model consists of five major components: (1) input unit; (2) output unit; (3) arithmetic logic unit; (4) memory unit; (5) control unit.
  • 18. The System Bus Model • A refinement of the von Neumann model, the system bus model has a CPU (ALU and control), memory, and an input/output unit. • Communication among components is handled by a shared pathway called the system bus , which is made up of the data bus, the address bus, and the control bus. There is also a power bus, and some architectures may also have a separate I/O bus.
  • 20. The Motherboard • The five von Neumann components are visible in this example motherboard, in the context of the system bus model.
  • 21. Scientific Prefixes • For computer memory, 1K = 2 10 = 1024. For everything else, like clock speeds, 1K = 1000, and likewise for 1M, 1G, etc.
  • 22. Digital Components Transistors Replaced vacuum tubes Smaller Cheaper Less heat dissipation Solid State device Made from Silicon (Sand) Invented 1947 at Bell Labs William Shockley et al. High level digital circuit designs are normally made using collections of logic gates referred to as components, rather than using individual logic gates. The majority function can be viewed as a component.
  • 23. Microelectronics Literally - “small electronics” A computer is made up of gates, memory cells and interconnections These can be manufactured on a semiconductor e.g. silicon wafer
  • 24. Levels of Integration Levels of integration (numbers of gates) in an integrated circuit (IC): Small scale integration (SSI): 10-100 gates. Medium scale integration (MSI): 100 to 1000 gates. Large scale integration (LSI): 1000-10,000 logic gates. Very large scale integration (VLSI): 10,000-upward. These levels are approximate, but the distinctions are useful in comparing the relative complexity of circuits.
  • 25. Generations of Computer First generation: Vacuum tube - 1946-1957 Second generation: Transistor - 1958-1964 Third generation: Integrated circuits – 1965 – 1971 Small scale integration - 1965 on Up to 100 devices on a chip Medium scale integration - to 1971 100-1000 devices on a chip Semiconductor memory (1970) Microprocessor (1971)
  • 26. Generations of Computer Fourth generation: Large scale integration (LSI) - 1971-1977 1,000 - 100,000 devices on a chip Intel 8080: first general-purpose microprocessor (1974) Fifth generation: 1978 – present Very large scale integration (VLSI) - 1978 to date 100,000 - 100,000,000 devices on a chip Ultra large scale integration (ULSI) Over 100,000,000 devices on a chip
  • 27.  
  • 28. Moore’s Law: Computing power doubles every 18 months for the same price.
  • 29.  
  • 30. Languages, Levels and Virtual Machines.
  • 31.  
  • 32. Translation One method of executing a program written in L1 is first to replace each instruction in it by an equivalent sequence of instructions in L0. The resulting program consists entirely of L0 instructions. The computer then executes the new L0 program instead of L1 program. This technique is called TRANSLATION !
  • 33. Interpretation The other technique is to write a program in L0 that takes programs in L1 as input data and carries them out by examining each instruction in turn and executing the equivalent sequence of L0 instructions directly. This technique does not require first generating a new program in L0. It is called INTERPRETATION.
  • 34. Multilevel Machines Most modern machines consist of two or more levels. Machines with as many as six levels even exist!
  • 35.  
  • 36.