Altera Nios II C2H Compiler Manuel d'utilisateur Page 62

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 138
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 61
3–22 9.1 Altera Corporation
Nios II C2H Compiler User Guide November 2009
Memory Accesses
port. After some number of clock cycles determined by the slave memory
latency and arbitration delay, valid readdata returns to the master port.
(See section “Read Operations with Latency” on page 3–37.)
Data Computation
For write operations to dereferenced pointers, data-computation logic in
the accelerator computes the value of the expression to write to memory.
This value is the write-data for an Avalon-MM master transfer to
memory. Data-computation logic operates in parallel with the address-
computation logic.
Consider the pointer dereference in the following code which performs a
write operation:
*(ptr_to_int + i) = x + y;
Figure 3–10 shows an example of the logic created for this pointer
dereference for a write operation.
Figure 3–10. Data Generation for a Write Operation
Vue de la page 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 137 138

Commentaires sur ces manuels

Pas de commentaire