SlideShare une entreprise Scribd logo
1  sur  41
Computer Structure
Mr Arthur
Aims of Lesson 1
1. To discuss the 3 main parts of the
processor
2. To discuss the functions of these 3 parts
3. To introduce the address, data and control
buses
Block Diagram of the
Computer System
PROCESSOR
MAIN MEMORY
BACKING STORAGE
DEVICES
INPUT
DEVICES
OUTPUT
DEVICES
Parts of the Processor
 Control Unit
 Makes sure the program instructions are carried out
in the correct order
 Controls the ALU and Registers
 Makes sure everything happens in the correct place
at the correct time
 Registers
 A group of storage locations in the processor for
holding instructions being executed and addresses to
be accessed
 Arithmetic Logic Unit
 Carries out all calculations in the processor
 Carries out all logic functions using AND, OR and
NOT gates
The Processor Structure
Main
Memory
Other
registers
Arithmetic
and Logic
Unit
Memory
Address
Register
Memory
Data
Register
Control
Unit
Address Bus
Data Bus
Control Bus
Electronic
Clock
Clock Pulses
Buses
 Buses
 Three sets of wires
called buses connect the
processor to the memory
and input/output devices
 Address Bus
 Data Bus
 Control Bus
Buses
 Address Bus
 The address bus carries the address
information from the processor to main
memory and is unidirectional
 The number of wires in the address bus
affects how many storage locations can
be accessed
 Each of the wires in the bus can be
switched on or off
 A typical microcomputer has 32 wires in
the address bus and can therefore
address 2 locations
32
Using 2 wires you
could address 4
locations i.e.
01
10
00
11
4 wires = 16 locations
8 wires = 256 locations
16 wires = 65,536
locations
Aims of Lesson 2
1. To revise the role of the address bus
2. To introduce the data and control buses
3. To discuss the different control lines
1. Read/Write
2. Maskable/Non Maskable Interrupt
3. Reset
The Processor Structure
Main
Memory
Other
registers
Arithmetic
and Logic
Unit
Memory
Address
Register
Memory
Data
Register
Control
Unit
Address Bus
Data Bus
Control Bus
Electronic
Clock
Clock Pulses
1000 0001
Address Bus
 The address bus carries the address information
from the processor to main memory and is
unidirectional
 4 wires = 16 locations
 8 wires = 256 locations
 16 wires = 65,536 locations
 32 wires = 4,294,967,292 locations
0000 0000 0000 0000 0000 0000 0000 0000
1111 1111 1111 1111 1111 1111 1111 1111
The Processor Structure
Main
Memory
Other
registers
Arithmetic
and Logic
Unit
Memory
Address
Register
Memory
Data
Register
Control
Unit
Address Bus
Data Bus
Control Bus
Electronic
Clock
Clock Pulses
1001 0111
1001 0111
READ LINE
The Processor Structure
Main
Memory
Other
registers
Arithmetic
and Logic
Unit
Memory
Address
Register
Memory
Data
Register
Control
Unit
Address Bus
Data Bus
Control Bus
Electronic
Clock
Clock Pulses
0001 0001
READ LINE
The Processor Structure
Main
Memory
Other
registers
Arithmetic
and Logic
Unit
Memory
Address
Register
Memory
Data
Register
Control
Unit
Address Bus
Data Bus
Control Bus
Electronic
Clock
Clock Pulses
0001 0001
WRITE LINE
Buses
 Data Bus
 The data bus carries data to and from the processor
 The data bus is therefore bi-directional or 2 way
 The number of wires in the data bus determines the
quantity of data that the bus can carry
 Increasing the number of wires in the data bus is one
method of improving computer performance
Control Bus
 The control bus is made up of a number of
separate wires each with their own functions
 Read/Write Line
 Reading from or writing to Main Memory
 Reset
 Used to return the processor to its initial state
when the system freezes
 Clock
 The clock line carries a series of clock pulse at a
constant rate. These pulses synchronise the
processing
 Measure in Giga hertz
Control Bus
 Interrupts
 A signal from an input or output device that
causes a break in the processor’s current
program, for example, printer out of paper etc
 Maskable
 A piece of code can be written to ignore certain interrupts
 Non Maskable Interrupts
 The processor cannot mask or ignore the interrupt
Aims of Lesson 3
Last Lessons
 To revise the 3 different
buses
1. Address
2. Data
3. Control
 To discuss the different
control lines
1. Read/Write
2. Maskable/Non Maskable
Interrupt
3. Reset
4. Clock
 Today’s Lesson
 Discuss the Fetch Execute
cycle
 Total Addressable Memory
Memory Read Operation
Main
Memory
Other
registers
Arithmetic
and Logic
Unit
Memory
Address
Register
Memory
Data
Register
Control
Unit
Address Bus
Data Bus
Control Bus
Electronic
Clock
Clock Pulses
1001 0111
READ LINE
Fetch Execute Cycle
 The processor places a value in the
Memory Address Register and sets up
the Address Bus with address
 Control Unit activates the Read line
 Instruction is transferred from memory
to processor using data bus
 Instruction is decoded
 Instruction is executed This may result in
another Memory Read
Operation or a
Memory Write
Operation
Memory Read
Operation
Memory Write Operation
Main
Memory
Other
registers
Arithmetic
and Logic
Unit
Memory
Address
Register
Memory
Data
Register
Control
Unit
Address Bus
Data Bus
Control Bus
Electronic
Clock
Clock Pulses
0001 0001
WRITE LINE
Memory Write Operation
1. The processor sets up the
Address bus
2. Processor sets up the data
bus with value to be written to
memory
3. Write line is activated
4. Contents are transferred to
the required storage location
in Main Memory
Total Addressable Memory
= Number of storage locations X Size of each
storage location
 What is the total addressable memory if you
have an 8 bit address bus and a 16 bit data
bus?
= 2 X 16
= 256 X 16 = 4096 bits
8
= 512 kilobytes
8
Total Addressable Memory
 What is the total
addressable memory if
you have a 32 bit
address bus and a 16
bit data bus?
= 2 X 16 bits
2 X 2 bytes
= 2
= 1 Gigabyte X 2
= 8 Gigabytes
 2 = 1 kilobyte
 2 = 1 megabyte
 2 = 1 gigabyte
32
32
33
10
20
30
3
Aims of Lesson 4
Last Lessons
 To revise the 3 different
buses
1. Address
2. Data
3. Control
 To discuss the different
control lines
1. Read/Write
2. Maskable/Non Maskable
Interrupt
3. Reset
4. Clock
 Discuss the Fetch Execute
cycle
 Total Addressable Memory
 Today’s Lesson
 Elements of Computer
Memory
 Registers
 Cache
 Main Memory
 Backing Storage
 Types of RAM
 Dynamic Random Access
Memory
 Static Random Access
Memory
 Video Random Access
Memory
Computer Memory
 The elements of
computer memory are
registers, cache, main
memory and backing
storage
 Registers
 Storage locations inside
the processor where data
can be accessed
immediately, or around 1
nanosecond 10
seconds
-9
Cache Memory
 A small amount of memory used to store often used
instructions
 Level 1 Cache = build in to the processor chip, speeds of
access = 5 nanoseconds
 Level 2 Cache = build on to processor or very close to it,
speed of access = 15 nanoseconds
Cache
Memory
(SRAM)
Processor
Main
Memory
(DRAM)
Dynamic Random Access
Memory
 DRAM is a type of RAM chip which needs to
have its contents constantly refreshed (about
1000 times per second)
 Typical access time = 50 nanoseconds
 Majority of computer’s main memory is made
up of DRAM as it is much cheaper that
SRAM
Static Random Access
Memory
 Used in the processors
cache memory
 SRAM does not need to
be constantly refreshed
 Much faster that
DRAM, typically 10
nanoseconds
 Keep contents as long
as power is applied to
RAM chip
Aims of Lesson 5
Last Lessons
 To revise the 3 different buses
1. Address
2. Data
3. Control
 To discuss the different control
lines
1. Read/Write
2. Maskable/Non Maskable
Interrupt
3. Reset
4. Clock
 Discuss the Fetch Execute cycle
 Total Addressable Memory
 Elements of Computer Memory
 Register, Cache, Main Memory,
Backing Storage
 DRAM, SRAM
 Today’s Lesson
 Video Random Access
Memory
 Types of ROM
 Backing Storage
 Comparing Computer Memory
 Measures of Performance
Video Random Access
Memory
 VRAM is used to hold the data which is
displayed on the monitor
 The amount of VRAM is directly related to the
number of colours and the screen resolution
 VRAM is sometimes contained in a separate
graphics card and can be upgraded to display
3D graphics
ROM
 Read Only Memory is a type of Memory where the
contents are stored permanently
 Holds the Bootstrap loader
 Programmable Read Only Memory = is empty of
data when you buy it and is programmed by the
user
 Erasable PROM = can be programmed, erased
and reprogrammed, using a UV light
 Flash ROM = May be programmed whilst inside
the computer and used in USB Pens and Memory
cards for cameras
Slow >1000000Backing Store
Optical Disk
Slow 1000000Backing Store
Hard Disk (Virtual Memory)
Fast 50 to 100Main Memory
ROM
Fast 50Main Memory
DRAM
Very Fast 5/15Cache
SRAM
Immediate 1Registers
Speed (nano seconds)Type of Memory
Measures of Performance
 Clock Speed = The number of pulses per second
measured in Ghz
 More clock cycles = more data fetched and executed
 Fetching 1 instruction may take 10 clock cycles
 MIPS = Millions of Instructions per second
 Measure of the average number of machine code
instructions executed
 FLOPS = Floating Point Operations Per Second
 Measure of the Arithmetical Calculating Speed of the
computer
Aims of Lesson 6
Last Lessons
 To revise the 3 different buses
1. Address
2. Data
3. Control
 To discuss the different control
lines
1. Read/Write
2. Maskable/Non Maskable Interrupt
3. Reset
4. Clock
 Discuss the Fetch Execute cycle
 Total Addressable Memory
 Elements of Computer Memory
 Register, Cache, Main Memory,
Backing Storage
 DRAM, SRAM
 Video Random Access Memory
 Types of ROM
 Backing Storage
 Comparing Computer Memory
 Measures of Performance
 Today’s Lesson
 Computer Structure Revision
Quiz
 Factors affecting system
performance
 Data Bus Width
 Use of cache
 Rate of transfer from
peripherals
 Other Factors
 Increasing clock speed
 Adding more Main Memory
 Increasing VRAM
 Adding more processors
Computer Structure Quiz
1. Name the 3 buses connecting the processor
to Memory and Input and Output devices
2. List 4 functions of control bus
3. Give the 5 steps in the fetch execute cycle
4. My computer has a 24 bit address bus and
a 16 bit data bus. Calculate the total
addressable memory
5. Which bus affects computer performance,
explain your answer
Computer Structure Quiz
1. What is cache memory
2. Name the 2 main types of RAM
3. List the following in order of speed of
access, with the fastest first
Cache Registers Backing Storage Main Memory
5. Name the 3 different types of ROM
6. Give 3 measures of computer performance
Factors Affecting System
Performance
 Data Bus Width
 Increasing the data bus width
increases the quantity of data
flowing between the processor and
memory
 word length
 Use of cache
 It is much faster to access
instructions and data from cache
than main memory
 Cache may have a separate data
bus called the backside bus
 Rate of transfer from
peripherals
 The rate of transfer is
determined by the type of
interface connecting peripheral
to processor
 USB 1 = 12 Megabits per
second
 USB 2 = 480 Megabits per
second
 Increasing clock speed
 Adding more Main
Memory
 Increasing VRAM
 Adding more processors
Current Trends
1. Increasing clock speeds
 Increase cannot go on indefinately
 Heat and power consumption problems
2. Increasing Memory
 Increased memory required to hold the
operating system
 Memory required for individual applications has
risen
3. Increasing Backing Storage
1. Increase in Video cameras, digital cameras,
mp3s require more backing storage
Data Representation –
Learning Aims
1. Detailed description of the purpose of the ALU and
the Control Unit
2. Description of the purpose of registers, to hold data
being processed, instructions being executed, and
addresses to be accessed
3. Description of the function of the data bus and the
address bus
4. Description of the read, write and timing functions
of the control lines
5. Identification of other control lines, including reset
and interrupt lines
Data Representation –
Learning Aims
1. Simple description, referring to the appropriate
buses and control lines, of the steps in the fetch
and execute cycle
2. Description of the following elements of computer
memory, registers, cache, main memory and
backing storage
3. Distinction between the above elements of
memory according to function and speed of access
4. The concept of addressability
Data Representation –
Learning Aims
1. Description and evaluation of the following
measures of performance; clock speed, MIPS,
FLOPS and application based tests
2. Description of the effect the following factors have
on system performance; data bus width, use of
cache memory, rate of data transfer to and from
peripherals
3. Description of the following trends in computer
hardware, including increasing clock speeds,
increasing memory and backing storage capacity

Contenu connexe

Tendances

instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
sheetal singh
 
CPU (Central Processing Units)
CPU (Central Processing Units)CPU (Central Processing Units)
CPU (Central Processing Units)
Prabin Maharjan
 
BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE
Himanshu Sharma
 
CHAPTER 1= Introduction to Computer
CHAPTER 1= Introduction to ComputerCHAPTER 1= Introduction to Computer
CHAPTER 1= Introduction to Computer
Shimels Derso
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
ZTE Nepal
 

Tendances (20)

instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
RAM/ROM and its TYPES
RAM/ROM and its TYPESRAM/ROM and its TYPES
RAM/ROM and its TYPES
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
CPU (Central Processing Units)
CPU (Central Processing Units)CPU (Central Processing Units)
CPU (Central Processing Units)
 
Computer organization
Computer organizationComputer organization
Computer organization
 
The Basic Organization of Computers
The Basic Organization of ComputersThe Basic Organization of Computers
The Basic Organization of Computers
 
Computer registers
Computer registersComputer registers
Computer registers
 
CPU-Central Processing Unit (With History and Complete Detail)
CPU-Central Processing Unit (With History and Complete Detail)CPU-Central Processing Unit (With History and Complete Detail)
CPU-Central Processing Unit (With History and Complete Detail)
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
 
BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE
 
What is computer
What is computerWhat is computer
What is computer
 
CPU and its components
CPU and its componentsCPU and its components
CPU and its components
 
Operating system and its types
Operating system and its types Operating system and its types
Operating system and its types
 
Central Processing Unit(CPU)
Central Processing Unit(CPU)Central Processing Unit(CPU)
Central Processing Unit(CPU)
 
Computer Organization
Computer OrganizationComputer Organization
Computer Organization
 
CHAPTER 1= Introduction to Computer
CHAPTER 1= Introduction to ComputerCHAPTER 1= Introduction to Computer
CHAPTER 1= Introduction to Computer
 
Instruction Cycle in Computer Organization.pptx
Instruction Cycle in Computer Organization.pptxInstruction Cycle in Computer Organization.pptx
Instruction Cycle in Computer Organization.pptx
 
Functional units
Functional unitsFunctional units
Functional units
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 

En vedette

Unit 1 basic structure of computers
Unit 1   basic structure of computersUnit 1   basic structure of computers
Unit 1 basic structure of computers
chidabdu
 
Block diagram of computer 02
Block diagram of computer 02Block diagram of computer 02
Block diagram of computer 02
ZTE Nepal
 
basic structure of computers
basic structure of computersbasic structure of computers
basic structure of computers
Himanshu Chawla
 
Block diagram by vasant
Block diagram by vasantBlock diagram by vasant
Block diagram by vasant
Vasant Yeluri
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
Qsrealm
 
Computer Structures
Computer StructuresComputer Structures
Computer Structures
guestfc2f62
 
Intro to Buses (Computer Architecture)
Intro to Buses  (Computer Architecture)Intro to Buses  (Computer Architecture)
Intro to Buses (Computer Architecture)
Matthew Levandowski
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
mekind
 
Computer hardware component. ppt
Computer hardware component. pptComputer hardware component. ppt
Computer hardware component. ppt
Naveen Sihag
 
Components of a computer system
Components of a computer systemComponents of a computer system
Components of a computer system
listergc
 
7. matherboard & sistem bus
7. matherboard & sistem bus7. matherboard & sistem bus
7. matherboard & sistem bus
Wandi Parlente
 

En vedette (20)

Unit 1 basic structure of computers
Unit 1   basic structure of computersUnit 1   basic structure of computers
Unit 1 basic structure of computers
 
Block diagram of computer 02
Block diagram of computer 02Block diagram of computer 02
Block diagram of computer 02
 
basic structure of computers
basic structure of computersbasic structure of computers
basic structure of computers
 
Block diagram by vasant
Block diagram by vasantBlock diagram by vasant
Block diagram by vasant
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
 
Computer Structures
Computer StructuresComputer Structures
Computer Structures
 
basics of computer system ppt
basics of computer system pptbasics of computer system ppt
basics of computer system ppt
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of information
 
Types and components of computer system
Types and components of computer systemTypes and components of computer system
Types and components of computer system
 
EASA Part-66 Module 5.6 : Basic Computer Structure
EASA Part-66 Module  5.6 : Basic Computer StructureEASA Part-66 Module  5.6 : Basic Computer Structure
EASA Part-66 Module 5.6 : Basic Computer Structure
 
Intel Processors
Intel ProcessorsIntel Processors
Intel Processors
 
Intro to Buses (Computer Architecture)
Intro to Buses  (Computer Architecture)Intro to Buses  (Computer Architecture)
Intro to Buses (Computer Architecture)
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Introduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts PresentationIntroduction to Basic Computer Concepts Presentation
Introduction to Basic Computer Concepts Presentation
 
Computer presentation
Computer presentationComputer presentation
Computer presentation
 
Computer hardware component. ppt
Computer hardware component. pptComputer hardware component. ppt
Computer hardware component. ppt
 
Computer Basics 101 Slide Show Presentation
Computer Basics 101 Slide Show PresentationComputer Basics 101 Slide Show Presentation
Computer Basics 101 Slide Show Presentation
 
Components of a computer system
Components of a computer systemComponents of a computer system
Components of a computer system
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
7. matherboard & sistem bus
7. matherboard & sistem bus7. matherboard & sistem bus
7. matherboard & sistem bus
 

Similaire à Computer Structure Slides

Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
Naruin
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
Naruin
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
ekul
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
Kyle
 
11. Computer Systems Hardware 1
11. Computer Systems   Hardware 111. Computer Systems   Hardware 1
11. Computer Systems Hardware 1
New Era University
 
Three Central Processing Unit
Three   Central Processing UnitThree   Central Processing Unit
Three Central Processing Unit
MISY
 
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxCOMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
PannaBushratul
 

Similaire à Computer Structure Slides (20)

Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
 
Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
 
11. Computer Systems Hardware 1
11. Computer Systems   Hardware 111. Computer Systems   Hardware 1
11. Computer Systems Hardware 1
 
Computer Architecture | Computer Fundamental and Organization
Computer Architecture | Computer Fundamental and OrganizationComputer Architecture | Computer Fundamental and Organization
Computer Architecture | Computer Fundamental and Organization
 
Chap2 comp architecture
Chap2 comp architectureChap2 comp architecture
Chap2 comp architecture
 
Processing Devices
Processing DevicesProcessing Devices
Processing Devices
 
Ch 01 os8e
Ch 01  os8eCh 01  os8e
Ch 01 os8e
 
Three Central Processing Unit
Three   Central Processing UnitThree   Central Processing Unit
Three Central Processing Unit
 
Components of the System Unit.pdf
Components of the System Unit.pdfComponents of the System Unit.pdf
Components of the System Unit.pdf
 
Register & Memory
Register & MemoryRegister & Memory
Register & Memory
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
 
Computer structurepowerpoint
Computer structurepowerpointComputer structurepowerpoint
Computer structurepowerpoint
 
Bc0040
Bc0040Bc0040
Bc0040
 
Unit 1 four part pocessor and memory
Unit 1 four part pocessor and memoryUnit 1 four part pocessor and memory
Unit 1 four part pocessor and memory
 
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxCOMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
 
Chapter1
Chapter1Chapter1
Chapter1
 
CH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdfCH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdf
 
Unit 1 processormemoryorganisation
Unit 1 processormemoryorganisationUnit 1 processormemoryorganisation
Unit 1 processormemoryorganisation
 

Plus de iarthur

Info systems design and development
Info systems design and developmentInfo systems design and development
Info systems design and development
iarthur
 
Software development slides
Software development slidesSoftware development slides
Software development slides
iarthur
 
All about me by mike
All about me by mikeAll about me by mike
All about me by mike
iarthur
 
Software development slides
Software development slidesSoftware development slides
Software development slides
iarthur
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
iarthur
 
Graphics slides
Graphics slidesGraphics slides
Graphics slides
iarthur
 
Internet slides
Internet slidesInternet slides
Internet slides
iarthur
 
Software development slides
Software development slidesSoftware development slides
Software development slides
iarthur
 
Int 2 software slides 2010
Int 2 software slides 2010Int 2 software slides 2010
Int 2 software slides 2010
iarthur
 
Int 2 networks 2010
Int 2 networks 2010Int 2 networks 2010
Int 2 networks 2010
iarthur
 
Int 2 peripherals 2010
Int 2 peripherals 2010Int 2 peripherals 2010
Int 2 peripherals 2010
iarthur
 
Int 2 computer structure 2010
Int 2 computer structure 2010Int 2 computer structure 2010
Int 2 computer structure 2010
iarthur
 
Int 2 data representation 2010
Int 2 data representation 2010Int 2 data representation 2010
Int 2 data representation 2010
iarthur
 
Networking slides
Networking slidesNetworking slides
Networking slides
iarthur
 
Networking slides
Networking slidesNetworking slides
Networking slides
iarthur
 
Non Profit Making
Non Profit MakingNon Profit Making
Non Profit Making
iarthur
 
Word Processing Slides
Word Processing SlidesWord Processing Slides
Word Processing Slides
iarthur
 
Intro To Computer Hardware
Intro To Computer HardwareIntro To Computer Hardware
Intro To Computer Hardware
iarthur
 
Spreadsheets
SpreadsheetsSpreadsheets
Spreadsheets
iarthur
 
Int 2 Accounting
Int 2 AccountingInt 2 Accounting
Int 2 Accounting
iarthur
 

Plus de iarthur (20)

Info systems design and development
Info systems design and developmentInfo systems design and development
Info systems design and development
 
Software development slides
Software development slidesSoftware development slides
Software development slides
 
All about me by mike
All about me by mikeAll about me by mike
All about me by mike
 
Software development slides
Software development slidesSoftware development slides
Software development slides
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Graphics slides
Graphics slidesGraphics slides
Graphics slides
 
Internet slides
Internet slidesInternet slides
Internet slides
 
Software development slides
Software development slidesSoftware development slides
Software development slides
 
Int 2 software slides 2010
Int 2 software slides 2010Int 2 software slides 2010
Int 2 software slides 2010
 
Int 2 networks 2010
Int 2 networks 2010Int 2 networks 2010
Int 2 networks 2010
 
Int 2 peripherals 2010
Int 2 peripherals 2010Int 2 peripherals 2010
Int 2 peripherals 2010
 
Int 2 computer structure 2010
Int 2 computer structure 2010Int 2 computer structure 2010
Int 2 computer structure 2010
 
Int 2 data representation 2010
Int 2 data representation 2010Int 2 data representation 2010
Int 2 data representation 2010
 
Networking slides
Networking slidesNetworking slides
Networking slides
 
Networking slides
Networking slidesNetworking slides
Networking slides
 
Non Profit Making
Non Profit MakingNon Profit Making
Non Profit Making
 
Word Processing Slides
Word Processing SlidesWord Processing Slides
Word Processing Slides
 
Intro To Computer Hardware
Intro To Computer HardwareIntro To Computer Hardware
Intro To Computer Hardware
 
Spreadsheets
SpreadsheetsSpreadsheets
Spreadsheets
 
Int 2 Accounting
Int 2 AccountingInt 2 Accounting
Int 2 Accounting
 

Dernier

Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
lizamodels9
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
amitlee9823
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
lizamodels9
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
dlhescort
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
amitlee9823
 

Dernier (20)

How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperity
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture concept
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 

Computer Structure Slides

  • 2. Aims of Lesson 1 1. To discuss the 3 main parts of the processor 2. To discuss the functions of these 3 parts 3. To introduce the address, data and control buses
  • 3. Block Diagram of the Computer System PROCESSOR MAIN MEMORY BACKING STORAGE DEVICES INPUT DEVICES OUTPUT DEVICES
  • 4. Parts of the Processor  Control Unit  Makes sure the program instructions are carried out in the correct order  Controls the ALU and Registers  Makes sure everything happens in the correct place at the correct time  Registers  A group of storage locations in the processor for holding instructions being executed and addresses to be accessed  Arithmetic Logic Unit  Carries out all calculations in the processor  Carries out all logic functions using AND, OR and NOT gates
  • 5. The Processor Structure Main Memory Other registers Arithmetic and Logic Unit Memory Address Register Memory Data Register Control Unit Address Bus Data Bus Control Bus Electronic Clock Clock Pulses
  • 6. Buses  Buses  Three sets of wires called buses connect the processor to the memory and input/output devices  Address Bus  Data Bus  Control Bus
  • 7. Buses  Address Bus  The address bus carries the address information from the processor to main memory and is unidirectional  The number of wires in the address bus affects how many storage locations can be accessed  Each of the wires in the bus can be switched on or off  A typical microcomputer has 32 wires in the address bus and can therefore address 2 locations 32 Using 2 wires you could address 4 locations i.e. 01 10 00 11 4 wires = 16 locations 8 wires = 256 locations 16 wires = 65,536 locations
  • 8. Aims of Lesson 2 1. To revise the role of the address bus 2. To introduce the data and control buses 3. To discuss the different control lines 1. Read/Write 2. Maskable/Non Maskable Interrupt 3. Reset
  • 9. The Processor Structure Main Memory Other registers Arithmetic and Logic Unit Memory Address Register Memory Data Register Control Unit Address Bus Data Bus Control Bus Electronic Clock Clock Pulses 1000 0001
  • 10. Address Bus  The address bus carries the address information from the processor to main memory and is unidirectional  4 wires = 16 locations  8 wires = 256 locations  16 wires = 65,536 locations  32 wires = 4,294,967,292 locations 0000 0000 0000 0000 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1111
  • 11. The Processor Structure Main Memory Other registers Arithmetic and Logic Unit Memory Address Register Memory Data Register Control Unit Address Bus Data Bus Control Bus Electronic Clock Clock Pulses 1001 0111 1001 0111 READ LINE
  • 12. The Processor Structure Main Memory Other registers Arithmetic and Logic Unit Memory Address Register Memory Data Register Control Unit Address Bus Data Bus Control Bus Electronic Clock Clock Pulses 0001 0001 READ LINE
  • 13. The Processor Structure Main Memory Other registers Arithmetic and Logic Unit Memory Address Register Memory Data Register Control Unit Address Bus Data Bus Control Bus Electronic Clock Clock Pulses 0001 0001 WRITE LINE
  • 14. Buses  Data Bus  The data bus carries data to and from the processor  The data bus is therefore bi-directional or 2 way  The number of wires in the data bus determines the quantity of data that the bus can carry  Increasing the number of wires in the data bus is one method of improving computer performance
  • 15. Control Bus  The control bus is made up of a number of separate wires each with their own functions  Read/Write Line  Reading from or writing to Main Memory  Reset  Used to return the processor to its initial state when the system freezes  Clock  The clock line carries a series of clock pulse at a constant rate. These pulses synchronise the processing  Measure in Giga hertz
  • 16. Control Bus  Interrupts  A signal from an input or output device that causes a break in the processor’s current program, for example, printer out of paper etc  Maskable  A piece of code can be written to ignore certain interrupts  Non Maskable Interrupts  The processor cannot mask or ignore the interrupt
  • 17. Aims of Lesson 3 Last Lessons  To revise the 3 different buses 1. Address 2. Data 3. Control  To discuss the different control lines 1. Read/Write 2. Maskable/Non Maskable Interrupt 3. Reset 4. Clock  Today’s Lesson  Discuss the Fetch Execute cycle  Total Addressable Memory
  • 18. Memory Read Operation Main Memory Other registers Arithmetic and Logic Unit Memory Address Register Memory Data Register Control Unit Address Bus Data Bus Control Bus Electronic Clock Clock Pulses 1001 0111 READ LINE
  • 19. Fetch Execute Cycle  The processor places a value in the Memory Address Register and sets up the Address Bus with address  Control Unit activates the Read line  Instruction is transferred from memory to processor using data bus  Instruction is decoded  Instruction is executed This may result in another Memory Read Operation or a Memory Write Operation Memory Read Operation
  • 20. Memory Write Operation Main Memory Other registers Arithmetic and Logic Unit Memory Address Register Memory Data Register Control Unit Address Bus Data Bus Control Bus Electronic Clock Clock Pulses 0001 0001 WRITE LINE
  • 21. Memory Write Operation 1. The processor sets up the Address bus 2. Processor sets up the data bus with value to be written to memory 3. Write line is activated 4. Contents are transferred to the required storage location in Main Memory
  • 22. Total Addressable Memory = Number of storage locations X Size of each storage location  What is the total addressable memory if you have an 8 bit address bus and a 16 bit data bus? = 2 X 16 = 256 X 16 = 4096 bits 8 = 512 kilobytes 8
  • 23. Total Addressable Memory  What is the total addressable memory if you have a 32 bit address bus and a 16 bit data bus? = 2 X 16 bits 2 X 2 bytes = 2 = 1 Gigabyte X 2 = 8 Gigabytes  2 = 1 kilobyte  2 = 1 megabyte  2 = 1 gigabyte 32 32 33 10 20 30 3
  • 24. Aims of Lesson 4 Last Lessons  To revise the 3 different buses 1. Address 2. Data 3. Control  To discuss the different control lines 1. Read/Write 2. Maskable/Non Maskable Interrupt 3. Reset 4. Clock  Discuss the Fetch Execute cycle  Total Addressable Memory  Today’s Lesson  Elements of Computer Memory  Registers  Cache  Main Memory  Backing Storage  Types of RAM  Dynamic Random Access Memory  Static Random Access Memory  Video Random Access Memory
  • 25. Computer Memory  The elements of computer memory are registers, cache, main memory and backing storage  Registers  Storage locations inside the processor where data can be accessed immediately, or around 1 nanosecond 10 seconds -9
  • 26. Cache Memory  A small amount of memory used to store often used instructions  Level 1 Cache = build in to the processor chip, speeds of access = 5 nanoseconds  Level 2 Cache = build on to processor or very close to it, speed of access = 15 nanoseconds Cache Memory (SRAM) Processor Main Memory (DRAM)
  • 27. Dynamic Random Access Memory  DRAM is a type of RAM chip which needs to have its contents constantly refreshed (about 1000 times per second)  Typical access time = 50 nanoseconds  Majority of computer’s main memory is made up of DRAM as it is much cheaper that SRAM
  • 28. Static Random Access Memory  Used in the processors cache memory  SRAM does not need to be constantly refreshed  Much faster that DRAM, typically 10 nanoseconds  Keep contents as long as power is applied to RAM chip
  • 29. Aims of Lesson 5 Last Lessons  To revise the 3 different buses 1. Address 2. Data 3. Control  To discuss the different control lines 1. Read/Write 2. Maskable/Non Maskable Interrupt 3. Reset 4. Clock  Discuss the Fetch Execute cycle  Total Addressable Memory  Elements of Computer Memory  Register, Cache, Main Memory, Backing Storage  DRAM, SRAM  Today’s Lesson  Video Random Access Memory  Types of ROM  Backing Storage  Comparing Computer Memory  Measures of Performance
  • 30. Video Random Access Memory  VRAM is used to hold the data which is displayed on the monitor  The amount of VRAM is directly related to the number of colours and the screen resolution  VRAM is sometimes contained in a separate graphics card and can be upgraded to display 3D graphics
  • 31. ROM  Read Only Memory is a type of Memory where the contents are stored permanently  Holds the Bootstrap loader  Programmable Read Only Memory = is empty of data when you buy it and is programmed by the user  Erasable PROM = can be programmed, erased and reprogrammed, using a UV light  Flash ROM = May be programmed whilst inside the computer and used in USB Pens and Memory cards for cameras
  • 32. Slow >1000000Backing Store Optical Disk Slow 1000000Backing Store Hard Disk (Virtual Memory) Fast 50 to 100Main Memory ROM Fast 50Main Memory DRAM Very Fast 5/15Cache SRAM Immediate 1Registers Speed (nano seconds)Type of Memory
  • 33. Measures of Performance  Clock Speed = The number of pulses per second measured in Ghz  More clock cycles = more data fetched and executed  Fetching 1 instruction may take 10 clock cycles  MIPS = Millions of Instructions per second  Measure of the average number of machine code instructions executed  FLOPS = Floating Point Operations Per Second  Measure of the Arithmetical Calculating Speed of the computer
  • 34. Aims of Lesson 6 Last Lessons  To revise the 3 different buses 1. Address 2. Data 3. Control  To discuss the different control lines 1. Read/Write 2. Maskable/Non Maskable Interrupt 3. Reset 4. Clock  Discuss the Fetch Execute cycle  Total Addressable Memory  Elements of Computer Memory  Register, Cache, Main Memory, Backing Storage  DRAM, SRAM  Video Random Access Memory  Types of ROM  Backing Storage  Comparing Computer Memory  Measures of Performance  Today’s Lesson  Computer Structure Revision Quiz  Factors affecting system performance  Data Bus Width  Use of cache  Rate of transfer from peripherals  Other Factors  Increasing clock speed  Adding more Main Memory  Increasing VRAM  Adding more processors
  • 35. Computer Structure Quiz 1. Name the 3 buses connecting the processor to Memory and Input and Output devices 2. List 4 functions of control bus 3. Give the 5 steps in the fetch execute cycle 4. My computer has a 24 bit address bus and a 16 bit data bus. Calculate the total addressable memory 5. Which bus affects computer performance, explain your answer
  • 36. Computer Structure Quiz 1. What is cache memory 2. Name the 2 main types of RAM 3. List the following in order of speed of access, with the fastest first Cache Registers Backing Storage Main Memory 5. Name the 3 different types of ROM 6. Give 3 measures of computer performance
  • 37. Factors Affecting System Performance  Data Bus Width  Increasing the data bus width increases the quantity of data flowing between the processor and memory  word length  Use of cache  It is much faster to access instructions and data from cache than main memory  Cache may have a separate data bus called the backside bus  Rate of transfer from peripherals  The rate of transfer is determined by the type of interface connecting peripheral to processor  USB 1 = 12 Megabits per second  USB 2 = 480 Megabits per second  Increasing clock speed  Adding more Main Memory  Increasing VRAM  Adding more processors
  • 38. Current Trends 1. Increasing clock speeds  Increase cannot go on indefinately  Heat and power consumption problems 2. Increasing Memory  Increased memory required to hold the operating system  Memory required for individual applications has risen 3. Increasing Backing Storage 1. Increase in Video cameras, digital cameras, mp3s require more backing storage
  • 39. Data Representation – Learning Aims 1. Detailed description of the purpose of the ALU and the Control Unit 2. Description of the purpose of registers, to hold data being processed, instructions being executed, and addresses to be accessed 3. Description of the function of the data bus and the address bus 4. Description of the read, write and timing functions of the control lines 5. Identification of other control lines, including reset and interrupt lines
  • 40. Data Representation – Learning Aims 1. Simple description, referring to the appropriate buses and control lines, of the steps in the fetch and execute cycle 2. Description of the following elements of computer memory, registers, cache, main memory and backing storage 3. Distinction between the above elements of memory according to function and speed of access 4. The concept of addressability
  • 41. Data Representation – Learning Aims 1. Description and evaluation of the following measures of performance; clock speed, MIPS, FLOPS and application based tests 2. Description of the effect the following factors have on system performance; data bus width, use of cache memory, rate of data transfer to and from peripherals 3. Description of the following trends in computer hardware, including increasing clock speeds, increasing memory and backing storage capacity