COA_lec1
COA_lec1
Examples of architectural attributes include the instruction set, the number of bits
used to represent various data types (e.g., numbers, characters), I/O mechanisms,
and techniques for addressing memory.
Many computer manufacturers offer a family of computer models, all with the same
architecture but with differences in organization. Consequently, the different models
in the family have different price and performance characteristics.
A prominent example of both these phenomena is the IBM System/370 architecture.
This architecture was first introduced in 1970 and included a number of models. The
customer with modest requirements could buy a cheaper, slower model and, if
demand increased, later upgrade to a more expensive, faster model without having
to abandon software that had already been developed.
Over the years, IBM has introduced many new models with improved technology to
replace older models, offering the customer greater speed, lower cost, or both.
These newer models retained the same architecture so that the customer’s software
investment was protected. Remarkably, the System/370 architecture, with a few
enhancements, has survived to this day as the architecture of IBM’s mainframe
product line.
1
The hierarchical nature of complex systems is essential to both their design and their
description. The designer need only deal with a particular level of the system at a
time. At each level, the system consists of a set of components and their
interrelationships.
of the system at the next lower level. At each level, the designer is concerned with
structure and function:
In terms of description, we have two choices: starting at the bottom and building up
to a complete description, or beginning with a top view and decomposing the system
into its subparts.
2
Function
Both the structure and functioning of a computer are, in essence, simple. Figure 1
depicts the basic functions that a computer can perform. In general terms, there are
only four:
• Data processing
• Data storage
• Data movement
• Control
The computer, of course, must be able to process data. The data may take a wide
variety of forms. It is also essential that a computer 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
that are being worked on at any given moment.
The computer must be able to 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.
When data are received from or delivered to a device that is directly connected to
the computer, the process is known as input–output (I/O), and the device is referred
to as a peripheral .When data are moved over longer distances, to or from a remote
device, the process is known as data communications.
The number of possible operations that can be performed is few. Figure 2 depicts
the four possible types of operations. The computer can function as a data
movement device (Figure 2a), simply transferring data from one peripheral or
communications line to another. It can also function as a data storage device (Figure
2b), with data transferred from the external environment to computer storage (read)
and vice versa (write). The final two diagrams show operations involving data
processing, on data either in storage (Figure 2c) or en route between storage and the
external environment (Figure 2d).
3
Figure 2 Possible Computer Operations
Structure
4
Figure 3 the computer
Figure 1.4 shows that there are four main structural components which are:
- Central processing unit (CPU): Controls the operation of the computer and
performs its data processing functions; often simply referred to as processor.
- Main memory: Stores data.
- I/O: Moves data between the computer and its external environment.
- System interconnection: Some mechanism that provides for communication
among CPU, main memory, and I/O. A common example of system
interconnection is by means of a system bus, consisting of a number of
conducting wires to which all the other components attach.
- Control unit: Controls the operation of the CPU and hence the computer
- Arithmetic and logic unit (ALU): Performs the computer’s data processing
functions
- Registers: Provides storage internal to the CPU
- CPU interconnection: Some mechanism that provides for communication
among the control unit, ALU, and registers
5
Figure 4 The Computer: Top-Level Structure