Question: Question 2 [ 1 2 pts ] : A real - time system receives data through an I / O device, the CPU processes the

Question 2[12 pts]:
A real-time system receives data through an I/O device, the CPU processes the data, then the results of the processing are transferred to system memory. The I/O device, the CPU, and the memory controller are all on the same system bus, which runs at 2MHz. The CPU runs at 8MHz. Assume that each bus transaction (transfer) between the I/O device and CPU on the bus takes 3 bus cycles, one cycle is used to transfer data, and the remaining two cycles are used by the bus protocol. Assume that the transfer between the CPU and memory is done using a burst of 16 transfers such that the overhead for each burst is 4
cycles while each data transfer takes 2 cycles. The bus has 32 data lines, transferring 32 bits per data-transfer cycle.
The I/O device receives 1024 bytes at a time. While processing the received data, for each received byte, the CPU generates 2 bytes. Only generated data is transferred from the CPU to system memory.
If the I/O device receives new data at a rate of 150 times per second (1024 bytes each), how many CPU cycles can be spent processing each byte without violating the real-time requirements?
Assume that the memory is fast enough to handle any number of requests received by the memory controller.
 Question 2[12 pts]: A real-time system receives data through an I/O

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!