Question: 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.

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 1 MHz. The CPU runs at 10 MHz. Each bus transaction (transfer) between any two devices on the bus takes 6 bus cycles, 2 of which are used to transfer data, and the remaining cycles are used by the bus protocol. The bus has 16 data lines, transferring 16 bits per data-transfercycle. The I/O device receives 100 bytes at a time. While processing the received data, for each received byte, the CPU generates 10 bytes. Only generated data is transferred from the CPU to system memory. If the I/O device receives new data 100 times per second (100 bytes each), how many CPU cycles can be spent processing each set of data (100 bytes) without violating the real-time requirements? Assume that the memory is fast enough to handle any requests received by the memory controller

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!