logo

Crowdly

Browser

Додати до Chrome

Estructura de Computadores (2025-26, Grado en Ingeniería del Software. Plan 2023 Grupo B, Grado en Ingeniería Informática. Plan 2023 Grupo B y Grado en Matemáticas + Ingeniería Informática. Plan 2023 Grupo B)

Шукаєте відповіді та рішення тестів для Estructura de Computadores (2025-26, Grado en Ingeniería del Software. Plan 2023 Grupo B, Grado en Ingeniería Informática. Plan 2023 Grupo B y Grado en Matemáticas + Ingeniería Informática. Plan 2023 Grupo B)? Перегляньте нашу велику колекцію перевірених відповідей для Estructura de Computadores (2025-26, Grado en Ingeniería del Software. Plan 2023 Grupo B, Grado en Ingeniería Informática. Plan 2023 Grupo B y Grado en Matemáticas + Ingeniería Informática. Plan 2023 Grupo B) в informatica.cv.uma.es.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Consider a RISC-V architecture of 6 states IF, ID, EX1,EX2,M,WB where the new stage EX2 is due to the multiplication operation (mul). This operation takes two cycles. Thus, the adition/substraction/logical operations take one cycle (and calculate the result in the EX1 stage) whereas de multiplication calculte its result in EX2.

Calculate the execution time (in ns.) for the next code, assuming that the processor has a hazard unit to insert as many bubbles (stalls) as required and the next bypasses are available:

 EX1-EX1, EX2-EX1, M-EX1, RF (Register File). The cycle time is 19 ns.

add x3,x26,x19

mul x12, x28, x3

sub x19, x28,x12

or   x25, x12,x19

Переглянути це питання

Consider a RISC-V architecture of 6 states IF, ID, EX1,EX2,M,WB where the new stage EX2 is due to the multiplication operation (mul). This operation takes two cycles. Thus, the adition/substraction/logical operations take one cycle (and calculate the result in the EX1 stage) whereas de multiplication calculte its result in EX2.

Calculate the execution time (in ns.) for the next code, assuming that the processor has the configuration (0) and a hazard unit to insert as many bubbles as required. The cycle time is 21 ns.

add $1,$26,$21

mul $10, $28, $1

sub $21, $28,$10

or   $25, $10,$21

CONFIGURATIONS:

(0) --> By pases EX1-EX1, EX2-EX1, M-EX1, RF (Regiter File)

(1) --> Only in RF

Переглянути це питання

Calculate the total execution time in ns. for a pipelined RISC-V processor for the next code, assuming that the clock cycle is 14 ns. There is forwarding in the Register File only (the rest of data hazards are solved by bubble insertion).

or x12,x3,x5

sub x27,x10,x0

and x12,x0,x27

Переглянути це питання

Calculate the execution time (in ns.) for the next code, assuming that the processor has the configuration (2) and a hazard unit to insert as many stalls (bubbles) as required. The cycle time is 14 ns.

Lw x2,100(x14)

add x10, x0, x2

Lw x14, 200(x10)

sub x22, x10,x30

CONFIGURATIONS:

(0) --> Full bypass

(1) --> Bypases Mem-ALU and in the RF

(2) --> Bypass MEM-ALU only

Переглянути це питання

Consider that the number of cycles for the execution of some instructions of a ISA is given by

add --> 6 cycles

xor  --> 2 cycles

lw   --> 2 cycles

sw   --> 4 cycles

multi --> 4 cycles

For the next code:

add $1,$2,$3

lw $4,100($2)

lw $5,100($3)

multi $6,$6,-1

xor  $1,$2,$3

add $8, $2,$13

sw $4,200($3)

sw $14,200($10)

add $11,$12,$13

lw $15,100($3)

Calculate

the speed-up (in percentage) for the execution of this code if we

improve the add instruction such that the execution time in the new

processor for the add operation is now 2. Provide the result with

two decimals.

Переглянути це питання

Consider that the number of cycles for the execution of some instructions of a ISA is given by

add --> 5 cycles

xor  --> 2 cycles

lw   --> 2 cycles

sw   --> 5 cycles

multi --> 5 cycles

For the next code:

add $1,$2,$3

lw $4,100($2)

lw $5,100($3)

multi $6,$6,-1

xor  $1,$2,$3

add $8, $2,$13

sw $4,200($3)

sw $14,200($10)

add $11,$12,$13

lw $15,100($3)

Calculate fraction of the execution time devoted to the add operation (that is, calculate the parameter fm of the amdahl's law). Provide the result with 3 decimals

Переглянути це питання

The ISA of a processor has four types of instructions: arithmetic, store, load and  branch which require 1, 4, 3 and 2 cycles respectively. Assume a program composed by 553 arithmetic operations, 208 stores, 552 loads and 581 branches. What is the execution time of the program in a 1.9 GHz processor? Give the result in microseconds (μs). 

Переглянути це питання

Find the number of instructions (NI) in the execution of a program which takes  94 μs. We know that  the average number of cycles per instruction (CPI) is 2.0 and that the processor works at  486 MHz (note: if a decimal value is obtained in the result, please write only the integer part; for example, if the solution is 3.6, you will write 3).

Переглянути це питання

Find the average number of cycles per instruction (CPI) in the execution of a program which takes 6.6 μs to be executed, and taking into account that the number of executed instructions (instructions count) is 6171.6 with a processor working at  1214 MHz (give the solution with only one decimal).

Переглянути це питання

Find the clock rate (in MHz) required for a processor taking into account that the execution of a program takes  2.5 μs, the number of cycles per instruction (CPI) is 4.0 and the instruction count (NI) is 501 (note: in case of having a decimal value, please write only the integer part; for example, it the solution is 4.7, you should write 4)

Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на informatica.cv.uma.es?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome