Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

COS3721 ASSIGNMENT 1 SOLUTIONS 2023

Beoordeling
-
Verkocht
3
Pagina's
11
Geüpload op
31-03-2023
Geschreven in
2022/2023

COS3721 ASSIGNMENT 1 SOLUTIONS 2023

Instelling
Vak

Voorbeeld van de inhoud

COS3721 ASSIGNMENT 1 SOLUTIONS 2023


QUESTION 1


1.1 Direct memory access is used for high-speed I/O devices in order to avoid increasing the


CPU’s execution load.


a. How does the CPU interface with the device to coordinate the transfer? (2)


To initiate a DMA transfer, the CPU first sets up the DMA registers, which contain a pointer


to the source of a transfer, a pointer to the destination of the transfer, and a counter of the

number of bytes to be transferred. Then the DMA controller proceeds to place addresses on

the bus to perform transfers, while the CPU is available to accomplish other work.


b. How does the CPU know when the memory operations are complete? (2)


When the device is finished with its operation, it interrupts the CPU to indicate the

completion of the operation. Both the device and the CPU can be accessing memory

simultaneously. The memory controller provides access to the memory bus in a fair manner

to these two entities.


c. The CPU is allowed to execute other programs while the DMA controller is

transferring


data. Does this process interfere with the execution of the user programs? If so, describe


what forms of interference are caused?(4)


Both the CPU and the DMA controller are bus masters. A problem would be created if both

the CPU and the DMA controller want to access the memory at the same time. Accordingly,

the CPU should be momentarily prevented from accessing main memory when the DMA

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
31 maart 2023
Aantal pagina's
11
Geschreven in
2022/2023
Type
Tentamen (uitwerkingen)
Bevat
Onbekend

Onderwerpen

$19.16
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
hiltontutorials University of South Africa (Unisa)
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1905
Lid sinds
7 jaar
Aantal volgers
1219
Documenten
858
Laatst verkocht
7 maanden geleden

3.7

359 beoordelingen

5
145
4
83
3
56
2
28
1
47

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen