• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 17 páginas
Examen

for cs 501

Document preview thumbnail
Vista previa 3 fuera de 17 páginas

Exam study book Advanced Computer Architectures of Sajjan G. Shiva - ISBN: 9781351992091 (exam preparation)

Vista previa del contenido

CS501- Advance Computer Architecture
Solved Subjective DEC 01,2012
From Midterm Papers
MC100401285 PSMD01




MIDTERM EXAMINATION
Spring 2012
CS501- Advance Computer Architecture
1- Two approaches for control unit.
Answer:- (Page 150)
Additionally, there are two different approaches to the control unit design; it can be either hard-wired or micro-
programmed


2- What is micro program?
Answer:- (Page 222)
A collection of microinstructions is called a microprogram. These microprograms generate the sequence of
necessary control signals required to process an instruction. These microprograms are stored in a memory
called the control store.


3- structural RTL for mov ra, rb
Answer:- (Page 164)




1

,4- Structural RTL and explanation for instruction fetch.
Answer:- (Page 152)
The instruction fetch procedure takes three time steps as shown in the table. During the first time step, T0,
address of the instruction is moved to the Memory Address Register (MAR) and value of PC is incremented. In
T1 the instruction is brought from the memory into the Memory Buffer Register (MBR), and the incremented
PC is updated. In the third and final timestep of the instruction fetch phase, the instruction from the memory
buffer register is written into the IR for execution. What follows the instruction fetch phase, is the instruction
execution phase. The number of timing steps taken by the execution phase generally depends on the type and
function of instruction. The more complex the instruction and its implementation, the more timing steps it will
require completing execution. In the following discussion, we will take a look at various types of instructions,
related timing steps requirements and data path implementations of these in terms of the structural RTL.




MIDTERM EXAMINATION
Spring 2012
CS501- Advance Computer Architecture

Q1. Which register holds the address of the next instruction to be executed in the processor? (2 Marks)
Answer:- (Page 28)
The program counter (PC) that holds the address of the next instruction in memory that is to be executed.

Q2. What do you know about Machine Exception? (2 Marks)
Answer:- (Page 197)
• Anything that interrupts the normal flow of execution of instructions in the processor is called an exception.
• Exceptions may be generated by an external or internal event such as a mouse click or an attempt to divide by
zero etc.
• External exceptions or interrupts are generally asynchronous (do not depend on the system clock) while
internal exceptions are synchronous (paced by internal clock)




2

, Q3. How exception may be generated write the difference between external and internal exceptions?
(3marks)
Answer:- (Page 197)
External exceptions or interrupts are generally asynchronous (do not depend on the system clock) while internal
exceptions are synchronous (paced by internal clock)


Q4. Write the structure RTL description for mov instruction (3 Marks)
Answer:- (Page 164)
In mov instruction the data in register rb, which is the source register, is to be moved in the register ra, which is
the destination register. In first three steps, mov instruction is fetched. In step T3 the contents of register rb are
placed in buffer register C through the ALSU unit while in step T4 the buffer register C transfers the data to
register ra through internal uni-bus.

Q5. Write the structure RTL description for shift instruction? (5 Marks)
Answer:- (Page 157)
Shift instructions are rather complicated in the sense that they require extra hardware to hold and decrement the
count. For an ALSU that can perform only single bit shifts, the data must be repeatedly cycled through the
ALSU and the count decremented until it reaches zero. This approach presents some timing problems, which
can be overcome by employing multiple-bit shifts using a barrel shifter.



MIDTERM EXAMINATION
Spring 2012
CS501- Advance Computer Architecture
Q - Write a structural RTL for Shift instruction for Uni-Bus data path implementation.
shiftr ra, rb, c1 [5 Marks]
Answer:- (Page 163)




3

Libro relacionado
 image
Editorial: 2018 ISBN: 9781351992091 Edición: Desconocido

Información del documento

Subido en
24 de febrero de 2022
Número de páginas
17
Escrito en
2006/2007
Tipo
Examen
Contiene
Preguntas y respuestas
$7.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
2
Última venta
-



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes