SlideShare a Scribd company logo
Computer Science & Engineering
 Course Name: Computer Organization &
Architecture
1
CHAPTER:1
Introduction computer organization and
design logic
OUTLINE
 Introduction to computer Organization
and Architecture
 Computer Components
 Structure and Function
 Interconnection Structure
 Bus Interconnection
2
ECCS 3212 : Computer Organization and Architecture
Introduction
What is a computer ?
 A computer is an electronic device that
can accept, store and process data under
the control of a set of instructions.
 A computer is a machine that can
perform computation. It is difficult to
give a precise definition of computation.
3
ECCS 3212 : Computer Organization and Architecture
What is a digital computer?
 A digital computer accepts input, processes
and outputs data in digitized forms (as
opposed to analog forms) and stores the
result for later use.
 Computers are programmable, i.e., one
can solve one's own problems by a
computer.
4
ECCS 3212 : Computer Organization and Architecture
Computer Organization and Architecture
 Computer Organization and Architecture is the
study of internal working, structuring and
implementation of a computer system.
Architecture in computer system, refers to the
externally visual attributes of the system.
 Organization of computer system is the way of
practical implementation which results in
realization of architectural specifications of a
computer system.
 Organization will be the way the system is
structured 5
 Computer architecture refers to those
attributes of a system visible to a
programmer.
Instruction set, number of bits used for data
representation, I/O mechanisms, addressing
techniques.
 e.g. Is there a multiply instruction?
Definitions
Cont…
 Computer organization refers to the
operational units and their interconnections
that realize the architectural specifications.
 Organization is how features are
implemented
 Control signals, interfaces, memory
technology.
 e.g. Is there a hardware multiply unit or is
it done by repeated addition? 7
Computer Components
Block
diagram
of
a
digital
computer
Processor Unit
(ALU)
Storage, or
Memory Unit
Input
Devices
and
Control
Output
Devices
and
Control
Control Unit
8
ECCS 3212 : Computer Organization and Architecture
There are four main structural components:
 Central processing unit (CPU): Controls the
operation of the computer and performs its
data processing functions; often simply
referred to as processor.
 Supervises the flow of information between
the various units
9
ECCS 3212 : Computer Organization and Architecture
Computer Components
 It retrieves the instructions, one by one, from
the program that is stored in the memory
 For each instruction, the control unit informs
the processor to execute the operation
specified by the instructions & the processor
manipulates the data as specified by the
program.
10
ECCS 3212 : Computer Organization and Architecture
 Memory unit: Stores program as well as
input, output, and the intermediate data.
 System interconnection: Some mechanism
that provides for communication among
CPU, main memory, and I/O.
 Input /Ouput (I/O) unit: Moves data
between the computer and its external
environment.
11
ECCS 3212 : Computer Organization and Architecture
 The program and data prepared by the
user are transferred into the memory unit
by means of an input device such as a
keyboard.
 An output device, such as a printer, re-
ceives the result of the computations and
the printed results are presented to the
user.
12
ECCS 3212 : Computer Organization and Architecture
Structure & Function
 Structure is the way in which components
relate to each other
 Function is the operation of individual
components as part of the structure
13
ECCS 3212 : Computer Organization and Architecture
Cont…
 The input and output devices are special
digital systems driven by electromechanical
parts and controlled by electronic digital
circuits.
14
Function
All computer functions are:
 Data processing
 Data storage
 Data movement
 Control
15
ECCS 3212 : Computer Organization and Architecture
 The data may take a wide variety of forms,
and the range of processing requirements is
broad.
Store Data.
 Even if the computer is processing data on
the fly (i.e., data come in and get processed,
and the results go out immediately), the
computer must temporarily store at least
those pieces of data.
16
ECCS 3212 : Computer Organization and Architecture
Process Data
Move Data
 Between itself and the outside world.
 The computer’s operating environment
consists of devices that serve as either
sources or destinations of data
17
ECCS 3212 : Computer Organization and Architecture
Control
 A control unit manages the computer’s
resources and orchestrates the
performance of its functional parts in
response to those instructions
18
ECCS 3212 : Computer Organization and Architecture
Interconnection Structures
 A computer consists of a set of components
(CPU,memory,I/O) that communicate with
each other.
 The collection of paths connecting the
various modules is call the interconnection
structure.
19
ECCS 3212 : Computer Organization and Architecture
Cont…
 The design of this structure will depend on the
exchange that must be made between modules.
 All the units must be connected
 Different type of connection for different type
of unit
 Memory
 Input/Output
 CPU
20
Computer Modules
21
ECCS 3212 : Computer Organization and Architecture
Memory Connection
 Receives and sends data
 Receives addresses (of
locations)
 Receives control signals
 Read
 Write
 Timing
Input/Output Connection(1)
 Similar to memory from computer’s
viewpoint
 Output
 Receive data from computer
 Send data to peripheral
22
ECCS 3212 : Computer Organization and Architecture
Cont…
 Input
 Receive data from peripheral
 Send data to computer
 Receive control signals from computer send
control signals to peripherals
 e.g. spin disk
23
Input/Output Connection(2)
 Receive addresses from computer
 e.g. port number to identify peripheral
 Send interrupt signals (control)
CPU Connection
 Reads instruction and data
 Writes out data (after processing)
 Sends control signals to other units
 Receives (& acts on) interrupts
24
ECCS 3212 : Computer Organization and Architecture
Type of transfers
 Memory to CPU
 CPU to Memory
 I/O to CPU
 CPU to I/O
 I/O to or from Memory (DMA)
25
ECCS 3212 : Computer Organization and Architecture
Bus Interconnection
 A bus is a communication pathway connecting
two or more device.
 A key characteristic of a bus is that it is a shared
transmission medium.
 A bus consists of multiple pathways or lines.
 Each line is capable of transmitting signal
representing binary digit (1 or 0)
26
ECCS 3212 : Computer Organization and Architecture
The bus interconnection diagram
27
ECCS 3212 : Computer Organization and Architecture
Bus Interconnection
 A sequence of bits can be transmit across a single
line.
 Several lines can be used to transmit bits
simultaneously (in parallel).
 A bus that connects major components
(CPU,Memory,I/O) is called System Bus.
 The most common computer interconnection
structures are based on the use of one or more
system buses.
28
ECCS 3212 : Computer Organization and Architecture
Bus Structure
 A system bus consists of 50-100 lines.
 Each line is assigned a particular meaning or
function.
 On any bus the lines can be classified into 3
groups
 Data lines
 Address lines
 Control lines
29
ECCS 3212 : Computer Organization and Architecture
Data Lines
 Provide a path for moving data between system
modules.
 These lines, collectively, are called the data bus
 The data bus typically consists of 8,16 or 32
separate lines, the numbers of lines being
transferred to as the width of the data bus.
 Each line carry only 1 bit at a time, the number of
lines determines how many bits can transferred at
a time - overall system performance.
30
ECCS 3212 : Computer Organization and Architecture
The Address Lines
 Used to designate the source or destination of the
data on the data bus
 The width of the address bus determines the
maximum possible memory capacity of the
system.
31
ECCS 3212 : Computer Organization and Architecture
The Control Lines
 Used to control the access to and the use of the data
and address lines.
 Typical control lines include
 Memory write
 Memory read
 I/O write
 I/O read
 Clock
 Reset
 Bus request
 Bus grant
 Interrupt request
 Interrupt ACK
 Transfer ACK
32
ECCS 3212 : Computer Organization and Architecture
 Memory write: Causes data on the bus to be written
into the addressed location
 Memory read: Causes data from the addressed location
to be placed on the bus
 I/O write: Causes data on the bus to be output to the
addressed I/O port
 I/O read: Causes data from the addressed I/O port to be
placed on the bus
33
ECCS 3212 : Computer Organization and Architecture
 Transfer ACK: Indicates that data have been
accepted from or placed on the bus
 Bus request: Indicates that a module needs to
gain control of the bus
 Bus grant: Indicates that a requesting module
has been granted control of the bus
 Interrupt request: Indicates that an interrupt
is pending
34
ECCS 3212 : Computer Organization and Architecture
 Interrupt ACK: Acknowledges that the pending
interrupt has been recognized
 Clock: Is used to synchronize operations
 Reset: Initializes all modules
35
ECCS 3212 : Computer Organization and Architecture
The operation of the bus
If one module wishes to send data
 obtain the use of the bus
 transfer data via the bus
If one module wishes to request data
 obtain the use of the bus
 transfer request to the other module over the
control and address lines, then wait for that
second module to send the data.
36
ECCS 3212 : Computer Organization and Architecture
Physical Bus Architecture
 System bus is a number of parallel electrical
conductors.
 The conductors are metal lines attched in a card or
printed circuit board.
 The bus extends across all of the components that
taps into the bus lines.
37
ECCS 3212 : Computer Organization and Architecture
38
ECCS 3212 : Computer Organization and Architecture
Single Bus Problems
 Lots of devices on one bus leads to:
 Propagation delays
 Long data paths mean that co-ordination of
bus use can adversely affect performance
 If aggregate data transfer approaches bus
capacity
 The solution are : Using multiple buses to
overcome the problems.
39
ECCS 3212 : Computer Organization and Architecture
Bus Design
 Type
 Dedicated
 Multiplexed
 Bus Width
 Address
 Data
 Timing
 Synchronous
 Asynchronous
 Method of Arbitration
 Centralized
 Distributed
 Data Transfer Type
 Read
 Write
 Read-modify-write
 Read-after-write
 Block
40
ECCS 3212 : Computer Organization and Architecture

More Related Content

Similar to ECCS 3212 Chapter_1_COA part 1.pptx

Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science educationInnocent Tauzeni
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System ArchitectureBrenda Debra
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Designmekind
 
DCS ( Distributed Control System )
DCS ( Distributed Control System )DCS ( Distributed Control System )
DCS ( Distributed Control System )Automation123
 
COMPUTER_ORGANIZATION.ppttwhehteeeteehte
COMPUTER_ORGANIZATION.ppttwhehteeeteehteCOMPUTER_ORGANIZATION.ppttwhehteeeteehte
COMPUTER_ORGANIZATION.ppttwhehteeeteehteNishaTariq1
 
COMPUTER_ORGANIZATION.pptx
COMPUTER_ORGANIZATION.pptxCOMPUTER_ORGANIZATION.pptx
COMPUTER_ORGANIZATION.pptxnodov66591
 
Introduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptxIntroduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptxVishalGaur54
 
COMPUTER_ORGANIZATION.pdf
COMPUTER_ORGANIZATION.pdfCOMPUTER_ORGANIZATION.pdf
COMPUTER_ORGANIZATION.pdfnodov66591
 
microprocessor architecture
microprocessor architecture microprocessor architecture
microprocessor architecture Nadeem Hilal Wani
 
Intermediate machine architecture
Intermediate machine architectureIntermediate machine architecture
Intermediate machine architectureJohn Cutajar
 

Similar to ECCS 3212 Chapter_1_COA part 1.pptx (20)

Chapter 1 CSC118
Chapter 1 CSC118 Chapter 1 CSC118
Chapter 1 CSC118
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
computer Unit 3
computer Unit 3computer Unit 3
computer Unit 3
 
Csc118 chapter1
Csc118 chapter1Csc118 chapter1
Csc118 chapter1
 
Dcs write up
Dcs write upDcs write up
Dcs write up
 
DCS ( Distributed Control System )
DCS ( Distributed Control System )DCS ( Distributed Control System )
DCS ( Distributed Control System )
 
Chapter 3 caal (1)
Chapter 3 caal (1)Chapter 3 caal (1)
Chapter 3 caal (1)
 
COMPUTER_ORGANIZATION.ppttwhehteeeteehte
COMPUTER_ORGANIZATION.ppttwhehteeeteehteCOMPUTER_ORGANIZATION.ppttwhehteeeteehte
COMPUTER_ORGANIZATION.ppttwhehteeeteehte
 
Csc 2313 (lecture 1)
Csc 2313 (lecture 1)Csc 2313 (lecture 1)
Csc 2313 (lecture 1)
 
Csc 2313 (lecture 1)
Csc 2313 (lecture 1)Csc 2313 (lecture 1)
Csc 2313 (lecture 1)
 
Chapter 1.pdf
Chapter 1.pdfChapter 1.pdf
Chapter 1.pdf
 
Co unit 1
Co unit 1Co unit 1
Co unit 1
 
COMPUTER_ORGANIZATION.pptx
COMPUTER_ORGANIZATION.pptxCOMPUTER_ORGANIZATION.pptx
COMPUTER_ORGANIZATION.pptx
 
Introduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptxIntroduction to 8085 Microprocessor.pptx
Introduction to 8085 Microprocessor.pptx
 
COMPUTER_ORGANIZATION.pdf
COMPUTER_ORGANIZATION.pdfCOMPUTER_ORGANIZATION.pdf
COMPUTER_ORGANIZATION.pdf
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
microprocessor architecture
microprocessor architecture microprocessor architecture
microprocessor architecture
 
Intermediate machine architecture
Intermediate machine architectureIntermediate machine architecture
Intermediate machine architecture
 

Recently uploaded

Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdfKamal Acharya
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf884710SadaqatAli
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edgePaco Orozco
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopEmre Günaydın
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234AafreenAbuthahir2
 
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docxThe Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docxCenterEnamel
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfAbrahamGadissa
 
Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdfKamal Acharya
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdfKamal Acharya
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringDr. Radhey Shyam
 
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data StreamKIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data StreamDr. Radhey Shyam
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdfAhmedHussein950959
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsAtif Razi
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxwendy cai
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdfKamal Acharya
 
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Aryaabh.arya
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientistgettygaming1
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industriesMuhammadTufail242431
 

Recently uploaded (20)

Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docxThe Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
The Ultimate Guide to External Floating Roofs for Oil Storage Tanks.docx
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
 
Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
 
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data StreamKIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptx
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdf
 
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 

ECCS 3212 Chapter_1_COA part 1.pptx

  • 1. Computer Science & Engineering  Course Name: Computer Organization & Architecture 1
  • 2. CHAPTER:1 Introduction computer organization and design logic OUTLINE  Introduction to computer Organization and Architecture  Computer Components  Structure and Function  Interconnection Structure  Bus Interconnection 2 ECCS 3212 : Computer Organization and Architecture
  • 3. Introduction What is a computer ?  A computer is an electronic device that can accept, store and process data under the control of a set of instructions.  A computer is a machine that can perform computation. It is difficult to give a precise definition of computation. 3 ECCS 3212 : Computer Organization and Architecture
  • 4. What is a digital computer?  A digital computer accepts input, processes and outputs data in digitized forms (as opposed to analog forms) and stores the result for later use.  Computers are programmable, i.e., one can solve one's own problems by a computer. 4 ECCS 3212 : Computer Organization and Architecture
  • 5. Computer Organization and Architecture  Computer Organization and Architecture is the study of internal working, structuring and implementation of a computer system. Architecture in computer system, refers to the externally visual attributes of the system.  Organization of computer system is the way of practical implementation which results in realization of architectural specifications of a computer system.  Organization will be the way the system is structured 5
  • 6.  Computer architecture refers to those attributes of a system visible to a programmer. Instruction set, number of bits used for data representation, I/O mechanisms, addressing techniques.  e.g. Is there a multiply instruction? Definitions
  • 7. Cont…  Computer organization refers to the operational units and their interconnections that realize the architectural specifications.  Organization is how features are implemented  Control signals, interfaces, memory technology.  e.g. Is there a hardware multiply unit or is it done by repeated addition? 7
  • 8. Computer Components Block diagram of a digital computer Processor Unit (ALU) Storage, or Memory Unit Input Devices and Control Output Devices and Control Control Unit 8 ECCS 3212 : Computer Organization and Architecture
  • 9. There are four main structural components:  Central processing unit (CPU): Controls the operation of the computer and performs its data processing functions; often simply referred to as processor.  Supervises the flow of information between the various units 9 ECCS 3212 : Computer Organization and Architecture Computer Components
  • 10.  It retrieves the instructions, one by one, from the program that is stored in the memory  For each instruction, the control unit informs the processor to execute the operation specified by the instructions & the processor manipulates the data as specified by the program. 10 ECCS 3212 : Computer Organization and Architecture
  • 11.  Memory unit: Stores program as well as input, output, and the intermediate data.  System interconnection: Some mechanism that provides for communication among CPU, main memory, and I/O.  Input /Ouput (I/O) unit: Moves data between the computer and its external environment. 11 ECCS 3212 : Computer Organization and Architecture
  • 12.  The program and data prepared by the user are transferred into the memory unit by means of an input device such as a keyboard.  An output device, such as a printer, re- ceives the result of the computations and the printed results are presented to the user. 12 ECCS 3212 : Computer Organization and Architecture
  • 13. Structure & Function  Structure is the way in which components relate to each other  Function is the operation of individual components as part of the structure 13 ECCS 3212 : Computer Organization and Architecture
  • 14. Cont…  The input and output devices are special digital systems driven by electromechanical parts and controlled by electronic digital circuits. 14
  • 15. Function All computer functions are:  Data processing  Data storage  Data movement  Control 15 ECCS 3212 : Computer Organization and Architecture
  • 16.  The data may take a wide variety of forms, and the range of processing requirements is broad. Store Data.  Even if the computer is processing data on the fly (i.e., data come in and get processed, and the results go out immediately), the computer must temporarily store at least those pieces of data. 16 ECCS 3212 : Computer Organization and Architecture Process Data
  • 17. Move Data  Between itself and the outside world.  The computer’s operating environment consists of devices that serve as either sources or destinations of data 17 ECCS 3212 : Computer Organization and Architecture
  • 18. Control  A control unit manages the computer’s resources and orchestrates the performance of its functional parts in response to those instructions 18 ECCS 3212 : Computer Organization and Architecture
  • 19. Interconnection Structures  A computer consists of a set of components (CPU,memory,I/O) that communicate with each other.  The collection of paths connecting the various modules is call the interconnection structure. 19 ECCS 3212 : Computer Organization and Architecture
  • 20. Cont…  The design of this structure will depend on the exchange that must be made between modules.  All the units must be connected  Different type of connection for different type of unit  Memory  Input/Output  CPU 20
  • 21. Computer Modules 21 ECCS 3212 : Computer Organization and Architecture Memory Connection  Receives and sends data  Receives addresses (of locations)  Receives control signals  Read  Write  Timing
  • 22. Input/Output Connection(1)  Similar to memory from computer’s viewpoint  Output  Receive data from computer  Send data to peripheral 22 ECCS 3212 : Computer Organization and Architecture
  • 23. Cont…  Input  Receive data from peripheral  Send data to computer  Receive control signals from computer send control signals to peripherals  e.g. spin disk 23
  • 24. Input/Output Connection(2)  Receive addresses from computer  e.g. port number to identify peripheral  Send interrupt signals (control) CPU Connection  Reads instruction and data  Writes out data (after processing)  Sends control signals to other units  Receives (& acts on) interrupts 24 ECCS 3212 : Computer Organization and Architecture
  • 25. Type of transfers  Memory to CPU  CPU to Memory  I/O to CPU  CPU to I/O  I/O to or from Memory (DMA) 25 ECCS 3212 : Computer Organization and Architecture
  • 26. Bus Interconnection  A bus is a communication pathway connecting two or more device.  A key characteristic of a bus is that it is a shared transmission medium.  A bus consists of multiple pathways or lines.  Each line is capable of transmitting signal representing binary digit (1 or 0) 26 ECCS 3212 : Computer Organization and Architecture
  • 27. The bus interconnection diagram 27 ECCS 3212 : Computer Organization and Architecture
  • 28. Bus Interconnection  A sequence of bits can be transmit across a single line.  Several lines can be used to transmit bits simultaneously (in parallel).  A bus that connects major components (CPU,Memory,I/O) is called System Bus.  The most common computer interconnection structures are based on the use of one or more system buses. 28 ECCS 3212 : Computer Organization and Architecture
  • 29. Bus Structure  A system bus consists of 50-100 lines.  Each line is assigned a particular meaning or function.  On any bus the lines can be classified into 3 groups  Data lines  Address lines  Control lines 29 ECCS 3212 : Computer Organization and Architecture
  • 30. Data Lines  Provide a path for moving data between system modules.  These lines, collectively, are called the data bus  The data bus typically consists of 8,16 or 32 separate lines, the numbers of lines being transferred to as the width of the data bus.  Each line carry only 1 bit at a time, the number of lines determines how many bits can transferred at a time - overall system performance. 30 ECCS 3212 : Computer Organization and Architecture
  • 31. The Address Lines  Used to designate the source or destination of the data on the data bus  The width of the address bus determines the maximum possible memory capacity of the system. 31 ECCS 3212 : Computer Organization and Architecture
  • 32. The Control Lines  Used to control the access to and the use of the data and address lines.  Typical control lines include  Memory write  Memory read  I/O write  I/O read  Clock  Reset  Bus request  Bus grant  Interrupt request  Interrupt ACK  Transfer ACK 32 ECCS 3212 : Computer Organization and Architecture
  • 33.  Memory write: Causes data on the bus to be written into the addressed location  Memory read: Causes data from the addressed location to be placed on the bus  I/O write: Causes data on the bus to be output to the addressed I/O port  I/O read: Causes data from the addressed I/O port to be placed on the bus 33 ECCS 3212 : Computer Organization and Architecture
  • 34.  Transfer ACK: Indicates that data have been accepted from or placed on the bus  Bus request: Indicates that a module needs to gain control of the bus  Bus grant: Indicates that a requesting module has been granted control of the bus  Interrupt request: Indicates that an interrupt is pending 34 ECCS 3212 : Computer Organization and Architecture
  • 35.  Interrupt ACK: Acknowledges that the pending interrupt has been recognized  Clock: Is used to synchronize operations  Reset: Initializes all modules 35 ECCS 3212 : Computer Organization and Architecture
  • 36. The operation of the bus If one module wishes to send data  obtain the use of the bus  transfer data via the bus If one module wishes to request data  obtain the use of the bus  transfer request to the other module over the control and address lines, then wait for that second module to send the data. 36 ECCS 3212 : Computer Organization and Architecture
  • 37. Physical Bus Architecture  System bus is a number of parallel electrical conductors.  The conductors are metal lines attched in a card or printed circuit board.  The bus extends across all of the components that taps into the bus lines. 37 ECCS 3212 : Computer Organization and Architecture
  • 38. 38 ECCS 3212 : Computer Organization and Architecture
  • 39. Single Bus Problems  Lots of devices on one bus leads to:  Propagation delays  Long data paths mean that co-ordination of bus use can adversely affect performance  If aggregate data transfer approaches bus capacity  The solution are : Using multiple buses to overcome the problems. 39 ECCS 3212 : Computer Organization and Architecture
  • 40. Bus Design  Type  Dedicated  Multiplexed  Bus Width  Address  Data  Timing  Synchronous  Asynchronous  Method of Arbitration  Centralized  Distributed  Data Transfer Type  Read  Write  Read-modify-write  Read-after-write  Block 40 ECCS 3212 : Computer Organization and Architecture