View worked solution
Answer: 456
To find the minimum number of times the DMA controller needs to acquire control of the system bus, we calculate the maximum amount of data that can be transferred in a single DMA operation.
1. Maximum Transfer Size per DMA Operation:
Since the memory is byte-addressable and the data count register of the DMA controller is , the maximum number of bytes that can be transferred in one go is:
Converting this to kilobytes (where ):
2. Total File Size to Transfer:
3. Number of DMA Transfers Required:
Each DMA transfer requires the DMA controller to request and obtain control of the system bus once. The total number of transfers is:
Thus, the DMA controller needs to get control of the system bus at least 456 times.
Free practice · Your answers on this page are not saved.
