SlideShare a Scribd company logo
Unit-1- Chapter 2
 Introduction
 Central processing unit
 Communication among various units
Chap2 comp architecture
 Referred as brain of a computer
 Converts data(input) to information (output)
 Complex, exclusive set of electronic circuitry which
executes stored program instructions.
 Performs arithmetic and logical operations
 Operates only on binary data, composed of 0’s and
1’s
 Controls the usage of main memory to store data
and instructions
 Controls sequence of the operations.
 CPU consists of three main subsystems
 ALU
 CU
 Registers
 Arithmetic logic unit
 It contains electronic circuitry to execute arithmetic and
logical operations on the data available to it.
 ALU comprises of two things
 Arithmetic unit
 Logic unit
 Arithmetic unit
 Performs actual computing carrying out arithmetic
calculations.
 Such as addition, subtraction, multiplication and division
 Performs them at a very high speed.
 Logic unit
 Performs logical operations based on the instructions
provided to it
 Logical comparisons between the data items
 It compares numbers, letters and special characters
 Takes actions based on the result of comparison.
 Three conditions:
▪ Equal-to condition
▪ Less than condition
▪ Greater than condition
 ALU compares two values to determine if they are
equal
 Eg: no of tickets sold equals to the number of the
seats in the cinema hall, then houseful is declared.
 ALU compares the value to determine if one is less
than the other
 Eg: if a person purchases less than two tickets then
no discount rate is given.
 The computer determines if one of the value is
greater than the other.
 If person purchases greater than two tickets, he gets
a discount of 5% on ticket.
 Are special purpose , high speed temporary memory
units.
 They hold various types of data and information ,
instructions , addresses and intermediate results of
calculations.
 They offer extra space for the computer hence
speeds up the computer in calculations.
 The registers work under the direction of CU to
accept, hold and transfer the instruction or data and
perform arithmetic or logical operations at high
speed.
 When one instruction finishes its execution, next
execution will be ready in a register called program
counter
Chap2 comp architecture
Register name Function
Program Counter (PC) The PC keeps track of the next instruction
to be executed
Instruction Register (IR) Holds the instruction to be decoded by
the CPU
Memory Address Register (MAR) Holds the address of next location in the
memory to be accessed.
Memory Buffer Register(MBR) Used to store data either coming to CPU
or data being transferred by CPU
Accumulator(ACC) General purpose register used to store
the temporary results and results
produced by ALU
Data register (DR) The DR is used to store the operands and
other data.
 Instructions are normally stored in the consecutive
registers and are executed sequentially.
 CU reads an instruction from the memory by a
specific address in the registers and executes it.
 The next instruction is fetched from a sequence and
executed and so on.
 It contains circuitry that uses electrical signals to direct the
entire computer system to carry out, or execute , stored
program instructions.
 It does not execute the program instructions, it directs other
parts of the system to do so by communicating both ALU
and memory.
 Controls the I/O devices and transfer of data to and from the
primary storage.
 CU itself is controlled by the programs located in main
memory.
 CU decides which action will occur at which time.
 Following figure illustrates how the CU instructs other parts
of CPU.
Chap2 comp architecture
 A bus is a set of connections between two or more
components / devices which are designed for
transfer several . All bits of word from the source to
destination.
 A bus contains multiple paths, which are also
termed as lines, and each line is capable of
transferring one bit at a time.
 To transfer 8 bit at a time, eight lines are required.
 A bus can be unidirectional or bi-directional.
 In shared bus, only one source can transmit data at
one time, while one or more than one can receive
that signal.
 A bus that connects three components i.e. CPU,
memory and I/O devices is called system bus.
 A system bus contains of 50-100 separate lines
 They are categorized into three groups.
 Data lines
 Address lines
 Control lines
Chap2 comp architecture
Chap2 comp architecture
 Data lines
 They provide path for moving data between the system
modules.
 Data lines are collectively known as data bus.
 Consists of 8,16,32 separate lines
 No. of lines in a data bus is called the width of the data
bus.
 The width of the data bus determines the performance of
a computer system.
 Address lines
 It designates the source of data for a data bus.
 Memory is divided into a linear array of bytes or words, for
reading or writing any information on to memory
 The CPU needs to specify the address of a particular
location.
 This is supplied by the address bus.
 Width of address bus specifies the maximum possible
memory supported by the system.
 Control lines
 Used to control the access to data and the address bus
 Control lines are collectively are called control bus.
 Used for transmission of commands and timing signals
between the system modules.
 Timing signals indicate whether data and address
information is valid
 Command signals specify which operations are to be
performed.
 Used to reading/writing to I/O devices or the memory.
 Its an integral part of the CPU, it is separately placed
on the computer’s mother board
 Memory stores the data and programs as long as
the program requires it for the operations.
 CPU access the memory in random manner.
 Two types:
 Random Access Memory (RAM)
 Read Only Memory (ROM)
 provides the required information to the processor
 It is a block of sequential memory locations each of
them having a unique memory address and those
locations having a data element.
 It is volatile in nature, data remains as long as power
is switched on, it is lost when the power supply is
broken.
 Stores the initial start-up instructions and routines
in Basic Input / Output System (BIOS) which can be
read only the CPU , each time the system is on.
 Data is not volatile in nature
 The instructions built in ROM are built into the
electronic circuits of the chip called the firmware.
 Different kinds of ROM are available
 Programmable Read Only Memory (PROM)
 Erasable Programmable Read Only Memory (EPROM)
 Electrically Erasable Programmable Read Only Memory
(EEPROM)
 Very high speed , expensive piece of memory, used
to speed up the memory retrieval process.
 Without cache, very request from the CPU to access
the data would have been sent to main memory,
then the response is sent on the system bus
 This slows the process in computing terms
 Cache will store the frequently accessed data and
data that are around it, helps in achieving a quicker
response time.
Chap2 comp architecture
 The computer uses the logic to find out which data
are frequently accessed and keeps them in cache.
 Cache is categorized into three levels
 L1 cache
 L2 cache
 L3 cache
 Closest to the processor, hence termed as primary or L1
cache.
 Each time the processor requests for a data, the cache
controller on the chip uses a special circuitry to first
check whether the requested data is already present in
the cache.
 Cache ranges in size from 8 to 64 KB, with larger
amounts on a new processors
 It is fast because it is integrated into the processor.
 Two different ways that a processor can organize its
primary cache
 Unified cache- a single cache for both command
instructions and program data
 Spilt cache- separate cache for instruction and data.
 This cache is larger but slower than L1 cache.
 Used to see the recent accesses that is not picked by
the L1 cache
 Usually 64 to 2MB in size.
 L1 and L2 can be used together, missing data can be
retrieved from L2 cache.
 Presented on the motherboard of the computer
 Present in between the main memory and the
processor.
 Reduces the time gap between the request and
retrieval of the data and instructions
 Hence accesses the data faster than main memory.
 Ranges more than 3MB
 All units of the computer system, work conjunction
with each other to formulate a function computer
system.
 To have a proper coordination among these units , a
reliable and robust means of communication is
required.
 Processor to memory communication
 Processor-I/O devices communication
Chap2 comp architecture
 The entire process between processor and a memory
can be divided into two steps.
 Information transfer from the memory to the processor
 Writing information in the memory
 Information transfer
 Steps
 The processor places the address in the MAR through the
address bus
 The process issues a READ command through the control bus.
 The memory places required data on the data bus, which are
then transferred to the processor.
 Information written into the memory
 The processor places the address into the MAR through
address bus
 The processor places the data to be written in the memory
on the data bus.
 The processor issues a WRITE command to the memory on
the data bus
 The data are written In the memory at the address
specified in the MAR
 The main concern in the processor –memory
communication is the speed mismatch between the
memory and the processor.
 The memory speed is slower than the CPU’s speed
 CPU is forced to wait for the data.
 This reduced by using a small fast memory called
the cache between processor and memory.
 All the I/O devices are connected via system bus
 Each device in a computer system is first met with
the controller called the Direct Memory Access
(DMA) controller, which controls the operation of
that device.
 DMA is capable of taking over the system bus from
the CPU
 DMA can access the memory directly and used to
transfer data to and from the one memory location
to another.
Chap2 comp architecture
 DMA can use the system bus only when the CPU
does not require it or it should suspend the
operations currently being processed by the CPU.
 With a DMA controller, a dedicated data transfer
device reads the incoming data from a device and
stores that data in a system memory buffer for later
retrieval by the CPU.
 The DMA controller allows the peripheral devices to
access the memory for both read and write
operations without affecting the current state of
computer’s central processor.
 When a large amount of data is to be transferred from
the CPU, the DMA controller to be used.
 The DMA controller allows the I/O unit of exchange data
directly with the memory without going through CPU
except at the beginning (to issue the command) and at
the end (to clean up the command)
 While I/O operation is being performed by the DMA
controller, the CPU can start the execution of the some
other part of the same program or can start executing
some other program.
 Thus, DMA speeds up the speed of the I/O operations by
taking over the buses and eliminating CPU interventions

More Related Content

What's hot (20)

PPTX
Unit2fit
Akshay Rathi
 
DOCX
Bindura university of science education
Innocent Tauzeni
 
PPTX
Memory organization
Dhaval Bagal
 
PPTX
Chapter 10
Er. Nawaraj Bhandari
 
PPTX
Memory organization
ishapadhy
 
PDF
Cliff sugerman
clifford sugerman
 
PPT
Cpu organisation
Er Sangita Vishwakarma
 
PPTX
Unit iii
vishal choudhary
 
PPTX
Computer System Architecture
Brenda Debra
 
PPTX
Memory organization in computer architecture
Faisal Hussain
 
PPTX
Chapter 3 caal (1)
talhashahid40
 
PPTX
Memory Organization
Stella526835
 
PPTX
Chapter 5
Er. Nawaraj Bhandari
 
PPTX
Chapter 4
Er. Nawaraj Bhandari
 
PPTX
The Basic Organization of Computers
Tallat Satti
 
PPTX
Computer Architecture Design (CAD)
Saira Kanwal
 
PDF
COMPUTER ORGANIZATION NOTES Unit 5
Dr.MAYA NAYAK
 
PPT
Itc lec 3 Ip cycle , system unit, interface
AnzaDar3
 
PPT
07 Input Output
Jeanie Delos Arcos
 
PPT
Memory Organization
Mumthas Shaikh
 
Unit2fit
Akshay Rathi
 
Bindura university of science education
Innocent Tauzeni
 
Memory organization
Dhaval Bagal
 
Memory organization
ishapadhy
 
Cliff sugerman
clifford sugerman
 
Cpu organisation
Er Sangita Vishwakarma
 
Computer System Architecture
Brenda Debra
 
Memory organization in computer architecture
Faisal Hussain
 
Chapter 3 caal (1)
talhashahid40
 
Memory Organization
Stella526835
 
The Basic Organization of Computers
Tallat Satti
 
Computer Architecture Design (CAD)
Saira Kanwal
 
COMPUTER ORGANIZATION NOTES Unit 5
Dr.MAYA NAYAK
 
Itc lec 3 Ip cycle , system unit, interface
AnzaDar3
 
07 Input Output
Jeanie Delos Arcos
 
Memory Organization
Mumthas Shaikh
 

Viewers also liked (20)

PPT
Data types and Operators
raksharao
 
PPTX
Java-Unit 3- Chap2 exception handling
raksharao
 
PPTX
C#unit4
raksharao
 
PPTX
output devices
raksharao
 
PPTX
Chap2 class,objects
raksharao
 
PPTX
Chap2 exception handling
raksharao
 
PPTX
Chap1 packages
raksharao
 
PPTX
Chap1 array
raksharao
 
PPTX
Chap2 class,objects contd
raksharao
 
PPT
Control statements
raksharao
 
PPTX
FIT-Unit3 chapter 1 -computer program
raksharao
 
PPT
Using Input Output
raksharao
 
PDF
Module1 part2
raksharao
 
PPTX
java-Unit4 chap2- awt controls and layout managers of applet
raksharao
 
PPTX
Chap3 inheritance
raksharao
 
PDF
Module1 Mobile Computing Architecture
raksharao
 
PPTX
Chap3 primary memory
raksharao
 
PPTX
Chap2 input devices
raksharao
 
PPTX
Chap3 multi threaded programming
raksharao
 
PPT
Chap1 computer basics
raksharao
 
Data types and Operators
raksharao
 
Java-Unit 3- Chap2 exception handling
raksharao
 
C#unit4
raksharao
 
output devices
raksharao
 
Chap2 class,objects
raksharao
 
Chap2 exception handling
raksharao
 
Chap1 packages
raksharao
 
Chap1 array
raksharao
 
Chap2 class,objects contd
raksharao
 
Control statements
raksharao
 
FIT-Unit3 chapter 1 -computer program
raksharao
 
Using Input Output
raksharao
 
Module1 part2
raksharao
 
java-Unit4 chap2- awt controls and layout managers of applet
raksharao
 
Chap3 inheritance
raksharao
 
Module1 Mobile Computing Architecture
raksharao
 
Chap3 primary memory
raksharao
 
Chap2 input devices
raksharao
 
Chap3 multi threaded programming
raksharao
 
Chap1 computer basics
raksharao
 
Ad

Similar to Chap2 comp architecture (20)

PPT
Processing Devices
itsvineeth209
 
PPTX
Control unit
Sameer Patil
 
PPTX
COMPUTER ORGANIZATION for beginner and a
souviksaha568212
 
PPTX
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
PannaBushratul
 
PPT
Hcs Topic 2 Computer Structure V2
Kyle
 
PPT
Microprocessor
aaina_katyal
 
PPTX
CPU ARCHITECTURE and COMPUTER PROGRAMS G
akudzweisheguri
 
PPTX
COMPUTER_ORGANIZATION (1).pptx
nodov66591
 
PPTX
IS 139 Lecture 5
wajanga
 
PDF
Computer organisation and architecture module 1
abinrj123
 
PPTX
Internal and external hardware components of a computer
bethan_eastlake
 
PPTX
chapter2.pptxttttttttttttttttttttttttttt
12091yeasmin
 
PDF
ICT - Lecture Notes 3.pdf
HonKencyTress
 
PPTX
Computer architecture unit 1 ppt for IT students
ASHASITTeaching
 
PDF
In the heart of computers
Cintia Santos
 
PPT
Components of a digital computer.ppt
DibyenduBiswas31
 
PPTX
Comp App Lect 2 System Unit.pptx
MehwishKanwal14
 
PPT
Computer function-and-interconnection 3
Mujaheed Sulantingan
 
PPT
Computer function-and-interconnection 3
Mujaheed Sulantingan
 
Processing Devices
itsvineeth209
 
Control unit
Sameer Patil
 
COMPUTER ORGANIZATION for beginner and a
souviksaha568212
 
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
PannaBushratul
 
Hcs Topic 2 Computer Structure V2
Kyle
 
Microprocessor
aaina_katyal
 
CPU ARCHITECTURE and COMPUTER PROGRAMS G
akudzweisheguri
 
COMPUTER_ORGANIZATION (1).pptx
nodov66591
 
IS 139 Lecture 5
wajanga
 
Computer organisation and architecture module 1
abinrj123
 
Internal and external hardware components of a computer
bethan_eastlake
 
chapter2.pptxttttttttttttttttttttttttttt
12091yeasmin
 
ICT - Lecture Notes 3.pdf
HonKencyTress
 
Computer architecture unit 1 ppt for IT students
ASHASITTeaching
 
In the heart of computers
Cintia Santos
 
Components of a digital computer.ppt
DibyenduBiswas31
 
Comp App Lect 2 System Unit.pptx
MehwishKanwal14
 
Computer function-and-interconnection 3
Mujaheed Sulantingan
 
Computer function-and-interconnection 3
Mujaheed Sulantingan
 
Ad

More from raksharao (17)

PPTX
Unit 1-logic
raksharao
 
PPTX
Unit 1 rules of inference
raksharao
 
PPTX
Unit 1 quantifiers
raksharao
 
PPTX
Unit 1 introduction to proofs
raksharao
 
PPTX
Unit 7 verification & validation
raksharao
 
PPTX
Unit 6 input modeling problems
raksharao
 
PPTX
Unit 6 input modeling
raksharao
 
PPTX
Unit 5 general principles, simulation software
raksharao
 
PPTX
Unit 5 general principles, simulation software problems
raksharao
 
PPTX
Unit 4 queuing models
raksharao
 
PPTX
Unit 4 queuing models problems
raksharao
 
PPTX
Unit 3 random number generation, random-variate generation
raksharao
 
PPTX
Unit 1 introduction contd
raksharao
 
PPTX
Unit 1 introduction
raksharao
 
PPTX
java Unit4 chapter1 applets
raksharao
 
PPTX
FIT-Unit3 chapter2- Computer Languages
raksharao
 
PPTX
Chap1 secondary storage
raksharao
 
Unit 1-logic
raksharao
 
Unit 1 rules of inference
raksharao
 
Unit 1 quantifiers
raksharao
 
Unit 1 introduction to proofs
raksharao
 
Unit 7 verification & validation
raksharao
 
Unit 6 input modeling problems
raksharao
 
Unit 6 input modeling
raksharao
 
Unit 5 general principles, simulation software
raksharao
 
Unit 5 general principles, simulation software problems
raksharao
 
Unit 4 queuing models
raksharao
 
Unit 4 queuing models problems
raksharao
 
Unit 3 random number generation, random-variate generation
raksharao
 
Unit 1 introduction contd
raksharao
 
Unit 1 introduction
raksharao
 
java Unit4 chapter1 applets
raksharao
 
FIT-Unit3 chapter2- Computer Languages
raksharao
 
Chap1 secondary storage
raksharao
 

Recently uploaded (20)

PDF
Artificial Neural Network-Types,Perceptron,Problems
Sharmila Chidaravalli
 
PPTX
Basics of Electrical Engineering and electronics .pptx
PrabhuNarayan6
 
PDF
aAn_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
PDF
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
PPTX
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
PPTX
Distribution reservoir and service storage pptx
dhanashree78
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PDF
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
PPTX
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
PPTX
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
PDF
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
PPTX
Seminar Description: YOLO v1 (You Only Look Once).pptx
abhijithpramod20002
 
PPT
Footbinding.pptmnmkjkjkknmnnjkkkkkkkkkkkkkk
mamadoundiaye42742
 
PPTX
template.pptxr4t5y67yrttttttttttttttttttttttttttttttttttt
SithamparanaathanPir
 
PDF
Module - 5 Machine Learning-22ISE62.pdf
Dr. Shivashankar
 
PPTX
UNIT 1 - INTRODUCTION TO AI and AI tools and basic concept
gokuld13012005
 
PPT
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
PPTX
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
PDF
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
Artificial Neural Network-Types,Perceptron,Problems
Sharmila Chidaravalli
 
Basics of Electrical Engineering and electronics .pptx
PrabhuNarayan6
 
aAn_Introduction_to_Arcadia_20150115.pdf
henriqueltorres1
 
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
Distribution reservoir and service storage pptx
dhanashree78
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
Seminar Description: YOLO v1 (You Only Look Once).pptx
abhijithpramod20002
 
Footbinding.pptmnmkjkjkknmnnjkkkkkkkkkkkkkk
mamadoundiaye42742
 
template.pptxr4t5y67yrttttttttttttttttttttttttttttttttttt
SithamparanaathanPir
 
Module - 5 Machine Learning-22ISE62.pdf
Dr. Shivashankar
 
UNIT 1 - INTRODUCTION TO AI and AI tools and basic concept
gokuld13012005
 
New_school_Engineering_presentation_011707.ppt
VinayKumar304579
 
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 

Chap2 comp architecture

  • 2.  Introduction  Central processing unit  Communication among various units
  • 4.  Referred as brain of a computer  Converts data(input) to information (output)  Complex, exclusive set of electronic circuitry which executes stored program instructions.  Performs arithmetic and logical operations  Operates only on binary data, composed of 0’s and 1’s  Controls the usage of main memory to store data and instructions  Controls sequence of the operations.
  • 5.  CPU consists of three main subsystems  ALU  CU  Registers  Arithmetic logic unit  It contains electronic circuitry to execute arithmetic and logical operations on the data available to it.
  • 6.  ALU comprises of two things  Arithmetic unit  Logic unit  Arithmetic unit  Performs actual computing carrying out arithmetic calculations.  Such as addition, subtraction, multiplication and division  Performs them at a very high speed.
  • 7.  Logic unit  Performs logical operations based on the instructions provided to it  Logical comparisons between the data items  It compares numbers, letters and special characters  Takes actions based on the result of comparison.  Three conditions: ▪ Equal-to condition ▪ Less than condition ▪ Greater than condition
  • 8.  ALU compares two values to determine if they are equal  Eg: no of tickets sold equals to the number of the seats in the cinema hall, then houseful is declared.
  • 9.  ALU compares the value to determine if one is less than the other  Eg: if a person purchases less than two tickets then no discount rate is given.
  • 10.  The computer determines if one of the value is greater than the other.  If person purchases greater than two tickets, he gets a discount of 5% on ticket.
  • 11.  Are special purpose , high speed temporary memory units.  They hold various types of data and information , instructions , addresses and intermediate results of calculations.  They offer extra space for the computer hence speeds up the computer in calculations.
  • 12.  The registers work under the direction of CU to accept, hold and transfer the instruction or data and perform arithmetic or logical operations at high speed.  When one instruction finishes its execution, next execution will be ready in a register called program counter
  • 14. Register name Function Program Counter (PC) The PC keeps track of the next instruction to be executed Instruction Register (IR) Holds the instruction to be decoded by the CPU Memory Address Register (MAR) Holds the address of next location in the memory to be accessed. Memory Buffer Register(MBR) Used to store data either coming to CPU or data being transferred by CPU Accumulator(ACC) General purpose register used to store the temporary results and results produced by ALU Data register (DR) The DR is used to store the operands and other data.
  • 15.  Instructions are normally stored in the consecutive registers and are executed sequentially.  CU reads an instruction from the memory by a specific address in the registers and executes it.  The next instruction is fetched from a sequence and executed and so on.
  • 16.  It contains circuitry that uses electrical signals to direct the entire computer system to carry out, or execute , stored program instructions.  It does not execute the program instructions, it directs other parts of the system to do so by communicating both ALU and memory.  Controls the I/O devices and transfer of data to and from the primary storage.  CU itself is controlled by the programs located in main memory.  CU decides which action will occur at which time.  Following figure illustrates how the CU instructs other parts of CPU.
  • 18.  A bus is a set of connections between two or more components / devices which are designed for transfer several . All bits of word from the source to destination.  A bus contains multiple paths, which are also termed as lines, and each line is capable of transferring one bit at a time.  To transfer 8 bit at a time, eight lines are required.
  • 19.  A bus can be unidirectional or bi-directional.  In shared bus, only one source can transmit data at one time, while one or more than one can receive that signal.  A bus that connects three components i.e. CPU, memory and I/O devices is called system bus.  A system bus contains of 50-100 separate lines  They are categorized into three groups.  Data lines  Address lines  Control lines
  • 22.  Data lines  They provide path for moving data between the system modules.  Data lines are collectively known as data bus.  Consists of 8,16,32 separate lines  No. of lines in a data bus is called the width of the data bus.  The width of the data bus determines the performance of a computer system.
  • 23.  Address lines  It designates the source of data for a data bus.  Memory is divided into a linear array of bytes or words, for reading or writing any information on to memory  The CPU needs to specify the address of a particular location.  This is supplied by the address bus.  Width of address bus specifies the maximum possible memory supported by the system.
  • 24.  Control lines  Used to control the access to data and the address bus  Control lines are collectively are called control bus.  Used for transmission of commands and timing signals between the system modules.  Timing signals indicate whether data and address information is valid  Command signals specify which operations are to be performed.  Used to reading/writing to I/O devices or the memory.
  • 25.  Its an integral part of the CPU, it is separately placed on the computer’s mother board  Memory stores the data and programs as long as the program requires it for the operations.  CPU access the memory in random manner.  Two types:  Random Access Memory (RAM)  Read Only Memory (ROM)
  • 26.  provides the required information to the processor  It is a block of sequential memory locations each of them having a unique memory address and those locations having a data element.  It is volatile in nature, data remains as long as power is switched on, it is lost when the power supply is broken.
  • 27.  Stores the initial start-up instructions and routines in Basic Input / Output System (BIOS) which can be read only the CPU , each time the system is on.  Data is not volatile in nature  The instructions built in ROM are built into the electronic circuits of the chip called the firmware.  Different kinds of ROM are available  Programmable Read Only Memory (PROM)  Erasable Programmable Read Only Memory (EPROM)  Electrically Erasable Programmable Read Only Memory (EEPROM)
  • 28.  Very high speed , expensive piece of memory, used to speed up the memory retrieval process.  Without cache, very request from the CPU to access the data would have been sent to main memory, then the response is sent on the system bus  This slows the process in computing terms  Cache will store the frequently accessed data and data that are around it, helps in achieving a quicker response time.
  • 30.  The computer uses the logic to find out which data are frequently accessed and keeps them in cache.  Cache is categorized into three levels  L1 cache  L2 cache  L3 cache
  • 31.  Closest to the processor, hence termed as primary or L1 cache.  Each time the processor requests for a data, the cache controller on the chip uses a special circuitry to first check whether the requested data is already present in the cache.  Cache ranges in size from 8 to 64 KB, with larger amounts on a new processors  It is fast because it is integrated into the processor.  Two different ways that a processor can organize its primary cache  Unified cache- a single cache for both command instructions and program data  Spilt cache- separate cache for instruction and data.
  • 32.  This cache is larger but slower than L1 cache.  Used to see the recent accesses that is not picked by the L1 cache  Usually 64 to 2MB in size.  L1 and L2 can be used together, missing data can be retrieved from L2 cache.
  • 33.  Presented on the motherboard of the computer  Present in between the main memory and the processor.  Reduces the time gap between the request and retrieval of the data and instructions  Hence accesses the data faster than main memory.  Ranges more than 3MB
  • 34.  All units of the computer system, work conjunction with each other to formulate a function computer system.  To have a proper coordination among these units , a reliable and robust means of communication is required.  Processor to memory communication  Processor-I/O devices communication
  • 36.  The entire process between processor and a memory can be divided into two steps.  Information transfer from the memory to the processor  Writing information in the memory  Information transfer  Steps  The processor places the address in the MAR through the address bus  The process issues a READ command through the control bus.  The memory places required data on the data bus, which are then transferred to the processor.
  • 37.  Information written into the memory  The processor places the address into the MAR through address bus  The processor places the data to be written in the memory on the data bus.  The processor issues a WRITE command to the memory on the data bus  The data are written In the memory at the address specified in the MAR
  • 38.  The main concern in the processor –memory communication is the speed mismatch between the memory and the processor.  The memory speed is slower than the CPU’s speed  CPU is forced to wait for the data.  This reduced by using a small fast memory called the cache between processor and memory.
  • 39.  All the I/O devices are connected via system bus  Each device in a computer system is first met with the controller called the Direct Memory Access (DMA) controller, which controls the operation of that device.  DMA is capable of taking over the system bus from the CPU  DMA can access the memory directly and used to transfer data to and from the one memory location to another.
  • 41.  DMA can use the system bus only when the CPU does not require it or it should suspend the operations currently being processed by the CPU.  With a DMA controller, a dedicated data transfer device reads the incoming data from a device and stores that data in a system memory buffer for later retrieval by the CPU.  The DMA controller allows the peripheral devices to access the memory for both read and write operations without affecting the current state of computer’s central processor.
  • 42.  When a large amount of data is to be transferred from the CPU, the DMA controller to be used.  The DMA controller allows the I/O unit of exchange data directly with the memory without going through CPU except at the beginning (to issue the command) and at the end (to clean up the command)  While I/O operation is being performed by the DMA controller, the CPU can start the execution of the some other part of the same program or can start executing some other program.  Thus, DMA speeds up the speed of the I/O operations by taking over the buses and eliminating CPU interventions