Csi 01
Csi 01
1.COMPUTER
ORGANIZATION
Content
After studying this chapter, the student should be able to: ▪ Define the Turing
model of a computer.
▪ A computer acts as a black box that accepts input data, processes thedata,
and creates output
▪ This model could represent a specific-purpose computer (or processor)thatis
data (Figure 1.1).
designed to do a single job, such as controlling the temperatureofa
building or controlling the
▪ However, computers, as the term is used today, are
fuel usage in a car.
general-purpose
machines. They can do many different types of tasks
Figure -1.1 A single-purpose computing
machine
3. Programmable data processors
An extra element is added to the specific computing machine: the program. ▪ A program is a set of
The output data depends on the combination of two factors: the input dataandtheprogram.
▪ With the same input data, we can generate different output if we change theprogram.
▪ Memory is the storage area. This is where programs and data are storedduringprocessing
▪ Arithmetic logic unit (ALU) is where calculation and logical operations takeplace▪ Control unit
▪ The input subsystem accepts input data and the programfromoutside thecomputer, while the output
subsystem sends the result of processing to
theoutsideworld.
Figure 1.5 The Von Neumann model
Subsystems
3. The stored program concept
▪ One instruction may request the control unit to jump to some previous or
following instruction,
but this does not mean that the instructions are not executed sequentially.
Figure 1.7 Fetches Executecycle
History of Computers
Figure 1.7
History of Computers
3 - COMPUTERGENERATIONS
1. Overview
Figure 1.8
Generation of Computers
2. First Generation (1945-1956)
▪ Fifth Generation computing devices, based on artificial intelligence, arestill indevelopment, though
there are some applications such as voice recognition, that ▪ The ability to
are being used today.
translate a foreign language is also moderately possible withfifth ▪ The goal of
generation computers.
fifth generation computing is to develop devices that respondto
natural language input and are capable
of learning and self-organization.
▪ We can divide the parts that make up a computer into three broadcategories or subsystem: the
central processing unit (CPU) , the mainmemory, and the input/output subsystem.
Figure 1.18 Computer hardware
(subsystems)
5 - CENTRAL PROCESSINGUNIT
Introduction
Figure
1.19 Central processing unit (CPU)
The arithmetic logic unit (ALU)
▪ The control unit controls the operation of each subsystem. Controllingisachieved through
signals sent from the control unit to other subsystems.
Figure 1.22 Using an control unit
6-MAIN MEMORY
Introduction
▪ The total number of uniquely identifiable locations in memory is calledtheaddress space. For
example, a memory with 64 kilobytes andawordsizeof 1 byte has an address space that
ranges from0 to 65,535.
address anysingle
word in memory?
▪ Example 5.2
▪ A computer has 32 MB (megabytes) of memory.
How many bits are needed to address any
single byte in memory?
Two main types of memory exist: RAM and ROM. ▪ Random access memory (RAM)
▪ Read-only memory (ROM)
Memory hierarchy
▪ Computer users need a lot of memory, especially memory that is very fast and inexpensive. This demandis not
always possible to satisfy— very fast memory is usually not cheap. A compromise needs tobemade.
▪ Cache memory is faster than main memory, but slower than the CPU and its registers. ▪ Cache memory,
which is normally small in size, is placed between the CPU and main memory.
Figure 1.25 Hierarchical levels of memory.
7 - INPUT/OUTPUTSUBSYSTEM
Introduction
▪ his subsystem allows a computer to communicate with the outside world and to store programs anddataeven when
the power is off.
▪ Input/output devices can be divided into two broad categories: non-storage and storage devices.
Non-storage & Storage devices
Storage devices
▪ SSD technology uses electronic interfaces compatible with traditional block
input/output (I/O) hard disk drives,
thus permitting simple replacement in common applications, like SATA Express.
8-
SUBSYSTEMINTERCONNECTI
ON
Introduction
▪ In this section, we explore how these three subsystems (CPU, main memory, and I/O) are interconnected.
▪ The CPU and memory are normally connected by three groups of connections, each called a bus: databus,address
bus and control bus.
Figure 1.28 CPU and memory
Connecting I/O devices
▪ There is a need for some sort of intermediary to handle this difference. Input/output devices
are therefore attached to the buses throughinput/output controllers or interfaces.
▪ The CPU usually uses the same bus to read data from or write data to main memory and I/Odevice. Theonly
difference is the instruction.
▪ If the instruction refers to a word in main memory, data transfer is between main memory and the CPU. ▪ If the
instruction identifies an I/O device, data transfer is between the I/O device and the CPU. ▪ here are two methods for
▪ The architecture and organization of computers has gone through many changes inrecent decades.
▪ In this section we discuss some common architectures and organization that differ fromthesimple
computer architecture we discussed earlier.
CISC
▪ CISC stands for complex instruction set computer.
The strategy behind CISC architectures is to have a
large set of instructions, including complex ones.
▪ The idea is that if the control unit can do two or three of these phasessimultaneously, the next
instruction can start before the previous oneisfinished.
▪ Traditionally a computer had a single control unit, a single arithmetic logic unit and a single memoryunit. With the
evolution in technology and the drop in the cost of computer hardware, today we can haveasingle computer with
multiple control units, multiple arithmetic logic units and multiple memoryunits.
▪ This idea is referred to as parallel processing. Like pipelining, parallel processing can improve throughput.