Thapar University 2010 B.E Computer science information technology (CSIT) Computer System Architecture - Question Paper
Course Code: CS004
Date: 11/03/2010 Time: 2hrs MM: 30
Thapar University, Patiala. Computer Science & Engineering Department B.E (2nd year COE, EIC)
Course Name: Computer System Architecture Instructor: Prateek Bhatia, Karun Verma, Navjot Kaur
Note: All the Questions are compulsory and attempt in order. Use of Calculator is not allowed. Draw neat and clean diagrams wrherever required.
1. a) Design a sequential circuit with two T flip-flops A and B and twfo 3
inputs E and x. When E=0, the circuit remains in the same state regardless of the value of x. When E=I and x=l the sequence is
00,11,10,01,00 and repeat. When E=1 and x=0, the sequence is
00,01,10,11,00 and repeat,
b) A computer System has 24 address lines, for a total memory 3 addressability of 224=16 MB. However, the system needs to be provided with only 2 MB of physical memory, by making use of two memory devices of 1 MB each. The 2MB of memory provided are to occupy the lowest addresses in the total addressable memory of the system. Outline using a circuit diagram how you would decode and make use of the 24 system address lines to achieve this design objective.
2. a) Using 8-bit twos complement integers, perform the following 2
4
3
i) Add a register to the bus system CTR (count register) to be selected with S2SiSo=000
ii) Replace the ISZ instruction with an instruction that loads a number into CTR
LDC address CTKrMladdress]
iii) Add a register reference instruction ICS: increment CTR and skip next instruction if Zero. Discuss the advantage of this change as compared to ISZ.
b) Design an arithmetic circuit w'ith one selection variable S and two 3 n-bit data inputs A and B. The circuit generates the following four arithmetic operations in conjunction with input carry Cin. Draw the logic diagram for the first two stages.
S Cin=0
Cta-1
0 D=A-1
1 D=A+B
D-A+B+l
D=A+1
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SC 4- 0 |
Design Hardware on Common Bus System for Memory (Read,Write), AR(Increment, Load), PC(Load, Increment)
5. a) What is the importance of overflow in Arithmetic Shift operation? 2 How it is detected?
b) Design a common bus system for 16 registers 4-bit each using 2 three state bus buffers.
i
c) Simplify the Boolean function F together with the dont care 2 conditions d in (1) sum of product from and (2) product of sum form
F(w9xtytz)-'L(09l,2tl7,8tlQ) d(wtx,y,z)='L(5,6,11,15)
Attachment: |
Earning: Approval pending. |