Unit 6 Coa
Unit 6 Coa
Prepared by:
Subject:- COA Asst.Shweta
Prof. SJoshi
Y JOSHI 1
Code:-3140707 (CSE Department,ACET)
Topics to be covered
• Flynn's taxonomy,
• Parallel Processing,
• Pipelining,
• Arithmetic Pipeline,
• Instruction Pipeline,
• RISC Pipeline,
• Vector Processing,
• Array Processors
Shweta Joshi 2
Parallel Processing
A parallel processing system is able to perform concurrent
data processing to achieve faster execution time
Shweta Joshi 4
Flynn’s Taxonomy
There are variety of ways parallel processing can be classified.
Parallel processing occuring in instruction stream/data stream
or both.
Shweta Joshi 5
5
Pipelining
Pipelining is a technique of decomposing a
sequential process into suboperations, with each
sub process being executed in a special dedicated
segment that operates concurrently with all other
segments.
Pipeline can be visualized as collection processing
segments. And binary info flows through each of
them
Pipeline implies flow of info similar to industry
assembly line.
Shweta Joshi 6
Pipelining example
for example we want
to perform combined
multiply and add
operations with
stream of numbers
Ai*Bi + Ci for
i=1,2,3…7
The sub operations
performed in each
segment of the
pipeline are as
follows:
R1 Ai, R2 Bi
R3 R1 * R2 R4
Ci
R5 R3 + R4 Shweta Joshi 7
Pipelining example
Content of registers of pipelining example
•The five
registers are
loaded with new
data every clock
pulse.
•The effect of
each clock is
shown in table as
shown
Shweta Joshi 11
Pipelining
Instruction Pipeline
Consider the timing of
instruction pipeline as
shown adjoining
FI : Instruction Fetch
DA : Decode Instruction
& calculate EA
FO : Operand Fetch
EX : Execution
Shweta Joshi 13
RISC PipelinePipelining
• There are several techniques
for reducing branch penalties
one of the method is ofdelayed
branch
Shweta Joshi 14
Vector Processing
Computers with vector processing capabilities are in demand in specialized
applications. The following are representative application areas where vector
processing is of the utmost importance.
•Long-range weather forecasting
•Petroleum explorations
•Seismic data analysis
•Medical diagnosis
•Aerodvnamics and space flight simulations
•Artificial intelligence and expert systems
•Mapping the human genome
•Image processing
Shweta Joshi 15
Vector Processing
It allows operations to be specified with a single vector
instruction of the
Form
C(1 : 100) = A(1 : 100) + B(1 : 100)
The vector instruction includes the initial address of the
operands, the length
of the vectors, and the operation to be performed, aU in one
composite instruction.
A possible instruction format for a vector instruction is shown
in Fig
Shweta Joshi 16
Vector Processing
Pipeline and vector processors often require simultaneous access to memory from
two or more sources. An instruction pipeline may require the fetching of an
instruction and an operand at the same time from two different segments.
Similarly, an arithmetic pipeline usually requires two or more operands to enter the
pipeline at the same time. Instead of using two memory buses for simultaneous
access, the memory can be partitioned into a number of modules connected to a
common memory address and data buses.
In an interleaved memory,
different sets of addresses
are assigned to different
memory modules.
Shweta Joshi 17
Array Processors
•An array processor is a processor that performs
computations on large arrays of data..
•An attached array processor is an auxiliary processor
attached to a general-purpose computer. It is intended to
improve the performance of the host computer in specific
numerical computation tasks.
•An SIMD array processor is a processor that has a single-
instruction multiple-data organization. It manipulates vector
instructions by means of multiple functional units responding
to a common instruction.
•Although both types of array processors manipulate vectors,
their internal organization is different.
Shweta Joshi 18
Array Processors
Attached array
processor with
host computer.
SIMD array
processor
organization.
Shweta Joshi 19
References
• Images , descriptive Tables , from Computer System Architecture, Morris
Mano, 3rd edition Prentice Hall
Shweta Joshi 20