ECR 209/CSC 212 - Noor Nabi
ECR 209/CSC 212 - Noor Nabi
Introduction
4
ECR209/CSC212 -Noor Nabi
Structure - Top Level
Peripherals Computer
Central Main
Processing Memory
Unit
Computer
Systems
Interconnection
Input
Output
Communication
lines
5
ECR209/CSC212 -Noor Nabi
Computer:
Central processing unit:
controls the operation of the computer and perform its data
processing functions; also called processor
Main memory:
stores data temporarily
I/O:
Moves data between computer and its external environment.
System interconnection:
Mechanism that provides for communication among CPU, main
memory and I/O
6
ECR209/CSC212 -Noor Nabi
Structure - The CPU
CPU
Computer Arithmetic
Registers and
I/O Login Unit
System CPU
Bus
Internal CPU
Memory Interconnection
Control
Unit
7
ECR209/CSC212 -Noor Nabi
CPU
Control Unit:
controls the operation of the CPU and hence the computer
Arithmetic and logic Unit (ALU):
Performs computers data processing functions
Registers:
Provides storage internal to the CPU
CPU interconnection:
Mechanism that provides for communication among the control
unit, ALU, and registers.
8
ECR209/CSC212 -Noor Nabi
Structure - The Control Unit
Control Unit
CPU
Sequencing
ALU Logic
Control
Internal
Unit
Bus
Control Unit
Registers Registers and
Decoders
Control
Memory
9
ECR209/CSC212 -Noor Nabi
Control Unit
Control memory:
store control signal selection and sequencing information
Control unit registers and decoders:
detects and executes the microinstruction
Sequencing logic:
sets the logic to execute next microinstruction.
10
ECR209/CSC212 -Noor Nabi
Microprocessor vs. Microcomputer
11
ECR209/CSC212 -Noor Nabi
Microcontroller
An I/O oriented single-chip microcomputer
12
ECR209/CSC212 -Noor Nabi
Microcontroller Applications
Cars
Engine fuel injection
Transmission control
Suspension and ride control
Instrument display
Braking system
Home Appliances
Washing machine
Microwave oven
Refrigerator
Sports Equipment
Exercise Machine
Heart Rate Monitor
13
ECR209/CSC212 -Noor Nabi
Microcontroller Applications
Consumer Electronics
Digital/Film cameras
Televisions
CD players
Telephone
Computer Peripherals
Printers
Scanners
Disk drive controllers
Wireless desktop
Robots
14
ECR209/CSC212 -Noor Nabi