Computer Architecture and Organization
Computer Architecture and Organization
Q1. (a) Differentiate between Von Newman Stored Program Concept and Harvard Stored 8
Program concept.
Ans There are two types of digital computer architectures that describe the functionality
and implementation of computer systems. One is the Von Neumann architecture
that was designed by the renowned physicist and mathematician John Von
Neumann in the late 1940s, and the other one is the Harvard architecture which was
based on the original Harvard Mark I relay-based computer which employed
separate memory systems to store data and instructions.
The original Harvard architecture used to store instructions on punched tape and
data in electro-mechanical counters. The Von Neumann architecture forms the basis
of modern computing and is easier to implement. Difference between the two is given
below:
Flynn’s classification –
1. Single-instruction, single-data (SISD) systems: An SISD computing system
is a uniprocessor machine which is capable of executing a single instruction,
operating on a single data stream. In SISD, machine instructions are
processed in a sequential manner and computers adopting this model are
popularly called sequential computers. Most conventional computers have
SISD architecture. All the instructions and data to be processed have to be
stored in primary memory.
The speed of the processing element in the SISD model is limited (dependent)
by the rate at which the computer can transfer information internally.
Dominant representative SISD systems are IBM PC, workstations.
2. Single-instruction, multiple-data (SIMD) systems: An SIMD system is a
multiprocessor machine capable of executing the same instruction on all the
CPUs but operating on different data streams. Machines based on an SIMD
model are well suited to scientific computing since they involve lots of vector
and matrix operations. So that the information can be passed to all the
processing elements (PEs) organized data elements of vectors can be divided
into multiple sets (N-sets for N PE systems) and each PE can process one data
set.
Dominant representative SIMD systems is Cray’s vector processing machine.
3. Multiple-instruction, single-data (MISD) systems: An MISD computing
system is a multiprocessor machine capable of executing different instructions
on different PEs but all of them operating on the same dataset .
(b) What do you mean by array multiplier? Design a 4x4 array multiplier. 9
Ans The logic circuit for the 4× 4 binary multiplication can be implemented by using
three binary full adders along with AND gates.
In the above operation the first partial product is obtained by multiplying B0 with
A3A2 A1A0, the second partial product is formed by multiplying B1 with A3A2
A1A0, likewise for 3rd and 4th partial products. So these partial products can be
implemented with AND gates as shown in figure. These partial products are then
added by using 4 bit parallel adder. The three most significant bits of first partial
product with carry (considered as zero) are added with second partial term in the
first full adder. Then the result is added to the next partial product with carry out
and it goes on till the final partial product, finally it produces 8 bit sum which
indicates the multiplication value of the two binary numbers.
Q3. (a) Explain Booth multiplication algorithm. Show step by step multiplication process 8
using Booth algorithm when following binary numbers are multiplied:
(+15) x (+13)
Ans Booth's multiplication algorithm is a multiplication algorithm that multiplies two
signed binary numbers in two's complement notation. The algorithm was invented
by Andrew Donald Booth in 1950 while doing research on crystallography at
Birkbeck College in Bloomsbury, London. Flowchart is given below:
Step by step multiplication process using Booth algorithm when following binary
numbers (+15) x (+13) are multiplied:
(b) Give the flowchart for addition and subtraction of two floating point numbers. 7
Ans Flowchart for addition and subtraction of two floating point numbers:
SET B (EVEN ROLL NOs)