An instrument processes 2400 independent measurement pairs. Each pair contains values A and B, each occupying 4 bytes in main memory. For every pair, the processor calculates U = A + B and V = A − B, then writes both results to main memory. Each result occupies 4 bytes.
Compare two specified implementations:
For this question, memory traffic means the total number of data bytes transferred between main memory and the processor. Count only the stated operand reads and result writes. Ignore instruction transfers and transfer overhead, and assume every stated read or write reaches main memory.
Find Q's operand-read traffic in bytes, P's total memory traffic in bytes, and the percentage reduction in total memory traffic when changing from P to Q. Give byte counts as exact integers and the percentage to one decimal place.
Unlock full course notes by signing up
Adding the unit timings
A measurement controller performs one task with the following timings:
All activities occur sequentially without overlap. These times include all associated instruction fetching and control activity; there are no other delays. What is the total elapsed time? Give your answer in milliseconds, to two decimal places.
Following successive register updates
A test board contains two registers, R and S. A register is a small storage location inside the processor. Its ALU reads operands and produces results.
Initially, R contains 6 and S contains 4. The board completes the following actions in order. Each action reads the current values before writing its result, and only the named destination changes. Assume every result fits in its register.
Replace R with R + S.
Testing a whole-task improvement claim
A controller's task has four sequential contributions, with no overlap:
Two redesigns are evaluated separately against the original controller:
Redesign A doubles the effective ALU operation rate while keeping the number of ALU operations fixed.
Diagnosing a missing result update
A simplified CPU executes an ADD instruction with operands 111111 and 777. The correct operands reach the ALU, and the ALU is selected for addition. Its output is connected to a result register that previously held 555.
The result register captures new data at a clock edge only when its load signal is 111; when the load signal is 000, it retains its previous value. At the relevant clock edge, the measured load signal is 000. There are no resets or other writes to this register. A display faithfully reads the register and shows 555. The ALU output value has not been measured.
A technician claims that the displayed value proves the ALU is faulty. Evaluate that claim by addressing all three points: