Tutorial 11: Processor Part 3 and Arithmetic¶
Question 1¶
Given the set of instructions below, answer the following:
Indentify the data dependencies.
Draw a time diagram showing the clock cycles each pipelined stage takes for each instruction (see slide #65 in lecture #6), in the following two scenarios:
The processor has no forward paths.
The processor has a forward path from
Rz
to the input of the ALU and another path fromRy
to the input of the ALU.
ADD R1, R2, R3
SUB R5, R1, R4
LDR R6, [R7]
LSL R8, R6, #1
Quesion 2¶
Design a circuit to convert a 32-bit signed integer, that is represented in 2’s complement, into single-precision floating point representation specified by IEEE 754 standard below.
