Professional Documents
Culture Documents
EC6009 Unit 1 IQ
EC6009 Unit 1 IQ
net
UNIT- I
PART-A
1. Define Parallelism
Parallel computing is a type of computation in which many calculations or the
execution of processes are carried out concurrently. ... There are several different
forms of parallel computing: bit-level, instruction-level, data, and task parallelism.
2. How the pipelining techniques helps the Parallelism.
Pipelining is an implementation technique where multiple instructions are
overlapped in execution. Thecomputer pipeline is divided in stages.
3. What is Superscalar architecture
In a superscalar computer, the central processing unit (CPU) manages multiple
instruction pipelines to execute several instructions concurrently during a clock
cycle.
4. Define degree of parallelism
The number of parallel execution servers associated with a single operation is known
as the degree of parallelism (DOP). Parallel execution is designed to effectively use
multiple CPUs.
5. What is the need for reduced instruction chip?
• Relatively few instruction types and addressing modes.
• Fixed and easily decoded instruction formats.
• Fast single-cycle instruction execution.
RISC CISC
Simple instructions take one cycle per Complex instruction take multiple
Few instructions and address modes areUsed. Many instruction and address
Modes.
Fixed format instructions are used. Variable format instructions are used
Instructions are compiled and then executed by Instructions are interpreted by the
hardware.
Microprogram and then executed.
RISC machines are multiple registerset. CISC machines use single registerSet.
RISC machines are higly piplined CISC machines are not piplined.
9. Define CPI
MIPS: One alternative to time as the metric is MIPS(Million Instruction Per Second)
This MIPS measurement is also called Native MIPS to distinguish it from some
It is the one that contains control units that use fixed logic circuits to interpret
instructions
and generate control signals from them. Here,the fixed logic circuit block includes
combinational
circuit that generates the required control outputs for decoding and encoding functions.
14. What are the steps required for a pipelinened processor to process the instruction?
A hazard is also called as hurdle .The situation that prevents the next instruction in
the instruction stream from executing during its designated Clock cycle. Stall is introduced
by hazard. (Ideal stage)
1. Data hazards.
2. Instruction hazards.
3. Structural hazards.
A data hazard is any condition in which either the source or the destination operands
of
an instruction are not available at the time expected in pipeline. As a result some operation
has
example, this may be a result of miss in cache, requiring the instruction to be fetched from
the
main memory. Such hazards are called as Instruction hazards or Control hazards.
The structural hazards is the situation when two instructions require the use of a
given
hardware resource at the same time. The most common case in which this hazard may arise
is
access to memory.
reading or writing the same memory location. Assume that i is executed before J. So, the
hazards
1. RAW hazard
2. WAW hazard
3. WAR hazard
Instruction ‘j’ tries to read a source operand before instruction ‘i’ writes it.
Instruction ‘j’ tries to write a source operand before instruction ‘i’ writes it.
Instruction ‘j’ tries to write a source operand before instruction ‘i’ reads it.
Data hazards in the instruction pipelining can prevented by the following techniques.
a)Operand Forwarding
b)Software Approach
Many instruction in localized area of the program are executed repeatedly during
some time period and the remainder of the program is accessed relatively infrequently .this
is referred as locality of reference.
The time that elapses between the initiation of an operation and completion of that
operation ,for example ,the time between the READ and the MFC signals .This is Referred to
as memory access time.
The minimum time delay required between the initiations of two successive memory
operations, for example, the time between two successive READ operations.
Memories that consist of circuits capable of retaining the state as long as power is
applied are known as static memories.
32. List out Various branching technique used in micro program control unit?
a) Bit-Oring
* Pc is loaded with address of interrupt handler and handling program to handle it.
1. Processor clock
3.Pipelining
4.Clock rate
5.Instruction set
6.Compiler
A special control unit may be provided to enable transfer a block of data directly
between
an external device and memory without contiguous intervention by the CPU. This approach
is called DMA.
PART – B
1. Describe the classical 5-stage pipelining for a RISC processor.
2. Explain in detail how the pipelining is implemented with reference to a MIPS
processor?
3. Describe in detail what makes pipelining hard to implement?
4. What are exceptions? Mention its types. Explain its requirements and need for
maintaining precise exceptions.
5. What is dynamic scheduling? Explain with suitable examples the Tomasulo’s
algorithm for MIPS processor.
6. What is branch prediction? Explain the various schemes in detail.