Metraipolis › archive › dc_533f316ba480
Scratchpad memory — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Scratchpad_memory
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-05T23:39:53.514Z
- SHA-256 of the archived text
484f7c60dd3bbf91d26dadd59d7c30ab707b43462f004c12f224da2e6504a34c- Stable URL of this page
https://metraipolis.com/documento/dc_533f316ba480
How to cite
Scratchpad memory — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Scratchpad_memory (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_533f316ba480 (Metraipolis archive dc_533f316ba480, sha256 484f7c60dd3bbf91d26dadd59d7c30ab707b43462f004c12f224da2e6504a34c)
BibTeX
@misc{dc533f316ba480,
title = {Scratchpad memory — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Scratchpad_memory},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_533f316ba480; sha256 484f7c60dd3bbf91d26dadd59d7c30ab707b43462f004c12f224da2e6504a34c},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Scratchpad_memory. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Scratchpad memory (SPM), also known as scratchpad, scratchpad RAM or local store in computer terminology, is an internal memory, usually high-speed, used for temporary storage of calculations, data, and other work in progress. In reference to a microprocessor (or CPU), scratchpad refers to a special high-speed memory used to hold small items of data for rapid retrieval. It is similar to the usage and size of a scratchpad in life: a pad of paper for preliminary notes or sketches or writings, etc. When the scratchpad is a hidden portion of the main memory then it is sometimes referred to as bump storage. In some systems it can be considered similar to the L1 cache in that it is the next closest memory to the ALU after the processor registers, with explicit instructions to move data to and from main memory, often using DMA-based data transfer. In contrast to a system that uses caches, a system with scratchpads is a system with non-uniform memory access (NUMA) latencies, because the memory access latencies to the different scratchpads and the main memory vary. Another difference from a system that employs caches is that a scratchpad commonly does not contain a copy of data that is also stored in the main memory. Scratchpads are employed for simplification of caching logic, and to guarantee a unit can work without main memory contention in a system employing multiple processors, especially in multiprocessor system-on-chip for embedded systems. They are mostly suited for storing temporary results (as it would be found in the CPU stack) that typically wouldn't need to always be committing to the main memory; however when fed by DMA, they can also be used in place of a cache for mirroring the state of slower main memory. The same issues of locality of reference apply in relation to efficiency of use; although some systems allow strided DMA to access rectangular data sets. Another difference is that scratchpads are explicitly manipulated by applications. They may be useful for real-time applications, where predictable timing is hindered by cache behavior. Scratchpads are not used in mainstream desktop processors where generality is required for legacy software to run from generation to generation, in which the available on-chip memory size may change. They are better implemented in embedded systems, special-purpose processors and game consoles, where chips are often manufactured as MPSoC, and where software is often tuned to one hardware configuration. Tema degli esploratori: calcolo e infrastrutture (deposito sistematico; ricerca «AI accelerator»). Fonte: Wikipedia in inglese, voce «Scratchpad memory» — https://en.wikipedia.org/wiki/Scratchpad_memory Wikidata Q3928159 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q3928159 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Scratchpad_memory?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1329227301, consultata il 2026-10-05T23:14:39.531Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: d87f18e17fae8372d833f8bb1a0edb8e8643f1484d86879c3f4ae2aa018d00a6