Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago