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 cache system with blocks of 23 words, and words of 22 bytes. Calculate the block number of the main memory for the address  115419 (decimal). Note: The anwer has to be provided in decimal (advise: convert 115419 to binary, work in binary and trasform the final solution from binary to decimal).

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

Calculate the hit time at  L2 cache in a 1.2GHz. processor assuming that the global average memory access time is 8.5 cycles, the hit rate at L1 is 91.9%, the miss penalty at L2 is 117 cycles, the number of misses at L2 is 76 and the number of misses at L1 is 3314. Give the result in ns.

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

In a computer the main memory has 24Mbytes, the cache has 21Kbytes with words of 23 bytes and blocks of 22 words. The configuration of the cache is 4-way set associative. If the processor generates the physical address 22007197 (decimal), calculate the set of Cache where the involved block can be located. Give the result in DECIMAL.

Переглянути це питання
Consider a cache memory of 4 bytes per block (words of 1 byte). Calculate the TAG for a 2-way set associative organization for the address 576782 (decimal), assuming 28 blocks in the cache. Note: the solution have to be written in decimal (advise: transform the address to binary, work in binary and transform the final result to decimal). Note: If the word is 1 byte, the byte_offset field does not exist.

Переглянути це питання
Consider a benchmark where 5% of the instructions are inconditional jumps, 8% are calling to routines, 10% are conditional branch (the branch condition is satisfied in 47% of the cases) and 3% are load instructions (lw) (33% of the loads are followed by an instruction with data dependency).

Consider two processors P0 and P1 both using the branch not taken predition technique. Nevertheless, for any jump (j, jal, beq & bne), the update of the PC in processor P0 is carried out in the memory stage whereas P1 updates the PC in the execution stage. The data hazards are solved by hardware (full forwarding).

Ignoring the initial transiet (4 cycles), calculate the CPI for the processor P0 (give the result with three decimal digits at least).

Переглянути це питання
Consider a benchmark where 5% of the instructions are inconditional jumps, 4% are calling to routines, 26% are conditional branch (the branch condition is satisfied in 78% of the cases) and 5% are load instructions (lw) (38% of the loads are followed by an instruction with data dependency).

Consider two processors P0 and P1 both using the branch not taken predition technique. The architecture of the processors uptade the PC as follow:

P0: j & jal, PC is updated in ID stage; conditional branches (beq & bne) in MEM stage

P1: j & jal, PC is uptated  in IF stage*; conditional branches (beq & bne) in EX stage

The data hazards are solved by hardware (full forwarding).

Ignoring the initial transiet (4 cycles), calculate the CPI for the processor P1,  (give the result with three decimal digits at least).

* This configuration is possible by using a (BTB)

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

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

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

Calculate the execution time for the next code, assuming that the clock cycle is 8 ns., assuming that different registers hold different values (for example the content of $4 is different from the content of $8). Consider that your processor has the forwarding configuration number (1) (see the different configurations below).

add $10,$4,$29

sub  $10,$0, $10

add $29,$29,$0

bne $0,$29,300

Forwarding configurations

(0) Full bypass

(1) Bypass between MEM-EXE only

(2) Forwarding inside the Register File only

(3) No bypass at all (only bubble insertion)

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

Calculate the execution time (in ns.) for the next code, assuming that the processor has full forwarding and it inserts bubble (stalls)  in the pipeline when needed. The cycle time is 25 ns.

Lw x29,100(x25)

add x28, x0, x28

Lw x25, 200(x28)

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

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 calculate 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 there are forwarding in the RF (Register File) only (no bypasses in the rest of stages). The cycle time is 19 ns.

add $6,$26,$19

mul $14, $28, $6

sub $19, $28,$14

or   $25, $14,$19

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

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

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

Browser

Додати до Chrome