microcontrollerswebpages.iust.ac.ir/s_ebadollahi/files/micro/chapter 5a.pdf · 2019. 4. 6. ·...
TRANSCRIPT
![Page 1: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/1.jpg)
MICROCONTROLLERSChapter 5
Memory
Dr. Saeed Ebadollahi
![Page 2: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/2.jpg)
References:
•Prentice Hall–edition rd3-Mano M.Morris-Computer System Architecture
•Computer Organization & Design: The Hardware/Software Interface - David A. Patterson, John L. Hennessy – 5th edition – Morgan Kaufmann
![Page 3: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/3.jpg)
Introduction
![Page 4: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/4.jpg)
Introduction (Cont.)
![Page 5: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/5.jpg)
Locality
![Page 6: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/6.jpg)
Locality (Cont.)
![Page 7: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/7.jpg)
Memory Hierarchy
![Page 8: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/8.jpg)
Memory Hierarchy (Cont.)
![Page 9: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/9.jpg)
Memory Hierarchy (Cont.)
![Page 10: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/10.jpg)
![Page 11: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/11.jpg)
Memory Hierarchy (Cont.)
![Page 12: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/12.jpg)
Memory Hierarchy (Cont.)
![Page 13: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/13.jpg)
Hit Rate and Miss Rate
![Page 14: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/14.jpg)
Hit Rate and Miss Rate (Cont.)
![Page 15: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/15.jpg)
Hit Time and Miss Penalty
![Page 16: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/16.jpg)
Hit Time and Miss Penalty (Cont.)
![Page 17: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/17.jpg)
The Big Picture
![Page 18: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/18.jpg)
The Big Picture
![Page 19: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/19.jpg)
Memory Technologies
![Page 20: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/20.jpg)
Memory Prices in 2012
![Page 21: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/21.jpg)
SRAM
![Page 22: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/22.jpg)
DRAM
![Page 23: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/23.jpg)
DRAM (Cont.)
![Page 24: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/24.jpg)
DRAM (Cont.)
![Page 25: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/25.jpg)
DRAM (Cont.)
![Page 26: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/26.jpg)
DRAM (Cont.)
![Page 27: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/27.jpg)
DRAM Size and Price
![Page 28: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/28.jpg)
Flash Memory
![Page 29: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/29.jpg)
Disk Memory
![Page 30: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/30.jpg)
Basics of Caches
![Page 31: MICROCONTROLLERSwebpages.iust.ac.ir/s_ebadollahi/files/micro/Chapter 5a.pdf · 2019. 4. 6. · processor. Memory hierarchies take advantage of spatial locality by moving blocks consisting](https://reader035.vdocuments.net/reader035/viewer/2022071416/6111f130a7e603344640bd81/html5/thumbnails/31.jpg)
Basics of Caches (Cont.)