Assignment: - 4
Assignment: - 4
Assignment: - 4
Submitted by:-
PANKAJ RAMPAL
A29
E3004
Group 1
Submitted to:-
Lect. Richa Malhotra
PART A
Q1: Design a four bit combinational circuit Incrementer and Decrementer using full
adders.
A 4-bit combinational circuit using full adder: As increment means adding 1 bit to the
least significant bit of the input.. For getting its increment we have to add one carry to each
of the full hadder. Full adder increment=A+1
4-bit combinational circuit decrementer: A circuit that subtracts one to a four bit binary number.
Figure:
Ans2:
a) A=11011001
B=10110100
O=01101101
b) A=11011001
B=00100100
O=11111101
Q3: Starting from initial value of R=11011101, determine the sequence of binary values
in R after a logic shift left followed by circular shift right, followed by a logical shift
right and a circular shift.
Ans:
Ans:-
The MESI protocol is a method of insuring cache coherence in a multiprocessor machine.
With shared memory and more than one processor, it is vital to ensure that data in a
processor's cache is an accurate reflection of main memory.
M - Modified
The data in the cache line is modified and is guaranteed to only reside in this cache.
The copy in main memory is not up to date, so when the cache line leaves the
modified state the data must be written back to main memory.
E - Exclusive
The data in the cache line is unmodified, but is guaranteed to only reside in this
cache.
S - Shared
The data in the cache line is unmodified, and there may also be copies of it in other
caches.
I - Invalid
Ans:-
Since the hardwired control has been historically faster, both of these two types of machine
are implemented by using the hardwired control in the microcomputer design educational
environment
Micro programmed is very flexible. After making the control unit of micro programmed, we
can change the computer instruction set simply by altering the micro program stored in
control memory. But in Hardwired Once the control unit is designed and built, it is very
difficult and we can say that impossible to alter its architecture and instruction set.
For example:
Taking our basic computer as an example, we notice that its four-bit op-code permits up
to 16 instructions. Therefore, we could add seven more instructions to the instruction set
by simply expanding its micro program. To do this with the hard- wired version of our
computer would require a complete redesign of the controller circuit hardware.
• . Another advantage to using micro-programmed control is the fact that the task of
designing the computer in the first place is simplified. The process of specifying
the architecture and instruction set is now one of software (micro-programming)
as opposed to hardware design.
Q6: Parallel processing is a useful concept. But are there any constraints in the
implementation of parallel processing environment? How one can overcome such
constraints?
SIMD:
MIMD: