Motorola DSP56305 Manuel d'utilisateur Page 62

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 112
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 61
MOTOROLA Optimizing DSP56300/DSP56600 Applications 5-1
This section
discusses the
instruction cache
and some other
memory features.
Section 5
INSTRUCTION CACHE AND MEMORY FEATURES
The DSP56300 supports running programs from the external
memory, but each fetch of a program word inserts wait states
(depending on the memory type, with a minimum of one wait state
per fetch). The performance of such a program may be severely
impaired, but the user is able to reduce his system cost by using
slower and cheaper memory devices, such as slow EPROMs and
Dynamic RAMs. The common way to maintain program speed with
these wait states is program overlays, which are handled by
software. The instruction cache allows an external code to execute
automatically at the highest speed of on-chip execution without the
need for program overlays, yet use slow memory devices. Detailed
information about the instruction cache can be found in Section 5
of the
DSP56300 Family Manual
.
5.1 THE INSTRUCTION CACHE
The instruction cache includes a controller (part of the DSP56300
core) and a cacheable memory array (part of the on-chip Program
RAM) that may be used to store the cached instructions. When the
cache controller is disabled (the Cache Enable bit in the SR is
cleared), the cacheable memory behaves like regular Program RAM,
and is accessible to the user as part of the internal program memory
space. When the cache controller is enabled (the Cache Enable bit in
the SR is set), the cacheable memory is used by the cache controller
to store the cached instructions, and is not accessible to the user. The
address space onto which it was previously mapped is now
considered external. When the cache is enabled, the cache controller
checks each external program address before it is fetched. If it was
not fetched before, it is a cache “miss”. The address is fetched from
the external memory, and stored in the cache memory in parallel to
it's execution. If that address was fetched before, it is a cache “hit”,
meaning that a copy of the instruction was previously stored in the
cache. The cache controller blocks the external access and the
instruction is fetched from the cache. From the pipeline's point of
view, an external fetch with a cache “hit” is equivalent to an internal
fetch—no wait states are inserted.
Vue de la page 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 111 112

Commentaires sur ces manuels

Pas de commentaire