You are on page 1of 1

Final term assignment (30 marks)

• Submit individual assignment to provided link in teams section on or before 30 th december 2020. After 30th
December, submission link will close.
• Remember to write your name , ID in your proper assignment cover page, full assignment should be handwritten
and then create pdf. Save your file according to your ID
• Individual submission is mandatory, late submission is not allowed. One who does not submit will lose 30 marks
from theory section.

1. Compare in between bus organization, scratchpad memory and two port memory system. [5]

2. (a) For a processor unit with 16-bit control word variable as in Table 2, prepare the control [5]
words using Table 1 in hexadecimal for the below listed micro-operations:
i) R1R1+R5
ii) R3  0
ii) R1R2
iv) R4SHL R6
v) R7 CRC (R1 OR R6)

(b) Draw the flow chart of sign magnitude addition and subtraction of A & B, according to control [10]
logic diagram, include all the steps and then draw the control state diagram. Include control
state outputs using microinstructions table also.

3. (a) Design a 3-bit shifter for the shift operations listed in Table 1 [5]
(b) Design a 2 bit ALU using table 1 [5]
Table 1:
Function of selection variables
Binary
Code F with F with
B A D H
Cin = 0 Cin = 1
Input
000 Data Input Data A A+1 None Shift Left with IL=0

001 R1 R1 A+B` A+B`+1 R1 Circulate-Left with Carry


010 R2 R2 A+B+1 A+B R2 Shift Right with IR=0
011 R3 R3 A-1 A R3 1’s to the output Bus
A XOR
100 R4 R4 - R4 -
B
101 R5 R5 A′ - R5 No shift
A AND Circulate-Right with Carry
110 R6 R6 - R6
B
111 R7 R7 A OR B - R7 0’s to the output Bus

You might also like