Memory in Embedded Systems. Tajana Simunic Rosing Department of Computer Science and Engineering University of California, San Diego.
|
|
- Janel Clementine Caldwell
- 6 years ago
- Views:
Transcription
1 Memory in Embedded Systems Tajana Simunic Rosing Department of Computer Science and Engineering University of California, San Diego.
2 Hardware platform architecture
3 Traditional Memory Hierarchies Why SRAM as Cache? Why DRAM as main memory? Why Flash as SSD? Why HDD as Secondary storage? Speed Density Non-volatility & speed Price & density 3
4 Embedded memory hierarchy Registers Very fast, next to ALU, power hungry Cache Small, expensive, fast memory stores a copy of likely accessed parts L1, L2, L3 Predictability Scratchpad memory Main memory Large, inexpensive, slower Permanence Non-volatile memories Processor Registers Cache Main memory SSD Disk & Backup (Black box)
5 Caches and CPUs Servers: L1,L2 &L3 cache on chip Embedded: L1, L2 on chip Intel Xeon Server Raspberry Pi 3
6 Cache Designed with SRAM, Usually on same chip as processor Cache operation: Request for main memory access (read or write) First, check cache for copy cache hit cache miss Design choices cache mapping Direct - each memory location maps onto exactly one cache entry Fully associative anywhere in memory, never implemented Set-associative - each memory location can go into one of n set write techniques Write-through - write to main memory at each update Write-back write only when dirty block replaced replacement policies Random LRU: least-recently used FIFO: first-in-first-out Tag Index Offset V T D = Tag Index Offset V T D = V T D = Valid Data Valid Data
7 Cache impact on system performance Most important parameters in terms of performance: Total size of cache (data and control info tags etc) Degree of associativity Data block size Larger caches -> lower miss rates, higher access cost Average memory access time (h1=l1 hit rate, h2=l2 hit rate) tav = h1tl1 + (h2-h1)tl2 + (1- h2-h1)tmain e.g., if miss cost = 20 2 Kbyte: miss rate = 20%, hit cost = 2 cycles, average access time 5.6 cycles 4 Kbyte: miss rate = 10%, hit cost = 3 cycles, access 4.7 cycles 8 Kbyte: miss rate = 8%, hit cost = 4 cycles, access 4.8 cycles Your project: Cash miss rate affects execution time note the relationship between the data & cache sizes and the execution time Study the relationship between the cash miss rate at top speed and at lower speed/power of execution
8 Predictability Embedded systems are often real-time: Have to guarantee meeting timing constraints. Pre-run-time scheduling - predictability Time-triggered, statically scheduled operating systems Predictable cache design?
9 Scratch pad memories (SPM) Hierarchy main Example SPM processor no tag memory Address 0 space scratch pad memory ARM7TDMI well-known for low power consumption FFF..
10 Why not just use a cache? Worst case execution time (WCET) may be large [P. Marwedel et al., ASPDAC, 2004]
11 ARMv8 memory hierarchy Tightly coupled memory (TCM) = Scratchpad!
12 Memory management unit (MMU) Memory management unit translates addresses: CPU logical address memory management unit physical address main memory Duties of MMU Handles DRAM refresh, bus interface & arbitration Takes care of memory sharing among multiple CPUs Translates logic memory addresses from processor to physical memory addresses of DRAM Modern CPUs often come with MMU built-in
13 Address translation Mapping logical to physical addresses Two basic schemes: Segmented memory footprint can change dynamically usually only a few segments per process; e.g. data and stack Paged size preassigned can be combined (x86) page 1 page 2 segment 1 memory segment 2 SEGMENTATION Involves programmer Separate compiling Separate protection Shared PAGING Transparent to programmer No separate compiling No separate protection No sharing
14 ARM memory management Memory region types: section: 1 MB block large (64KB) & small (4KB) pages Address is marked as section or page-mapped Two-level translation scheme
15 ARM address translation Translation table base register descriptor 1st level table 1st index 2nd index concatenate offset concatenate descriptor 2nd level table physical address
16 Register file Fastest But biggest size built from D-FFs Volatile Memory SRAM: Static RAM Memory cell uses flip-flop to store bit Requires 6 transistors Holds data as long as power supplied DRAM: Dynamic RAM Memory cell uses MOS transistor and capacitor to store a bit DRAM scaling limit is around 55 nm, at which point the charge stored in the capacitor is too small to be detected More compact than SRAM Refresh required due to capacitor leak word s cells refreshed when read Slower to access than SRAM CLK OUT1 OUT2 OUT3 OUT4 R S R S R S R S D Q D Q D Q D Q IN1 IN2 IN3 IN4 Data' W DRAM Data SRAM Data W
17 m words RAM organization Stores large number of bits m x n: m words of n bits each k = Log2(m) address input signals or m = 2^k words e.g., 4,096 x 8 memory: 32,768 bits 12 address input signals 8 input/output data signals Memory access r/w: selects read or write enable A 0 A 1 rd/wr 4 4 RAM 2 4 decoder enable: read or write only when asserted multiport: multiple accesses to different locations simultaneously To every cell internal view I 3 I 2 I 1 Q 3 Q 2 Q 1 I 0 Q 0 Memory cell r/w enable A 0 m n memory n bits per word memory external view 2 k n read and write memory A k-1 Q n-1 Q 0
18 BCM2837 SoC Raspberry Pi 3 Memory Architecture Broadcom BCM2837 SoC CPU: Quad-core Cortex-A53: L1 and L2 cache GPU: VideoCore IV Processor: exclusive memory system Main Memory: 1GB RAM : Shared by CPU and GPU ARM Cortex-A53 L1 Cache (per core) I Cache D Cache VideoCore IV Per slice I Cache Uniform cache Textual Memory Unit L2 Cache L2 Cache Used by CPU Used by GPU Main Memory
19 Cortex-A53 Memory: Snoop Control Unit Cache coherence: Consistency of shared data that can be stored in multiple caches BUS Snoop Control Unit (SCU): Cache coherence mechanism between L1 D-Cache and L2 Cache Keep track of allocated data in each processor s line When a write is observed at a processor, invalidate the cache line of other processors Broadcast mechanism is used. L2 Memory System Pros: faster if enough bandwidth is available Cons: not scalable due to the broadcast overhead on buses
20 Cortex-A53 Memory: L1 Cache 64KB L1 Cache Instruction Cache (I-Cache) 64-byte cache lines 2-way set-associative Data Cache (D-Cache) 64-byte cache lines 4-way set-associative Pseudo random cache replacement Data cache unit has a controller for MOESI full cache coherency protocol M (Modified): The line is only in this cache and is dirty. O (Owned): The line is possibly in more than one cache and is dirty. Avoids writing a dirty cache line back to main memory when another processor tries to read it. Instead, the owner will supply the modified data directly to the other processor E (Exclusive):The line is only in this cache and is clean. S (Shared): The line is possibly in more than one cache and is clean Any snoop request to that cache line will be filled from memory, rather than a cache -> slow share of clean lines I (Invalid): The line is not in this cache.
21 VideoCore 4 (GPU) Memory Specialized to accelerate 3D/multimedia data Vertex Pipe Memory(VPM): shared cache that is system-wide performs DMA from main memory to read/write vertex data L2 Cache: shared by all slices Per-slice memory Icache: instruction cache Uniforms Cache: Stores a stream of data Texture and Memory Lookup Unit (TMU): Stores general-purpose data and textures FIFO-based texture lookup
22 Raspberry Pi 3: Main Memory (RAM) Divided in ARM Cortex-53 and VideoCore 4 components Partially shared (e.g. frame buffer) Kernel is loaded from 0x8000 (32KB) Local peripherals: Reserved memory area for ARM timer: 64-bit timing signal IRQs (Interrupt Requests) to cores Mailbox (part of local peripherals) memory area to facilitate communication between ARM and VideoCore DMA, GPIO, PCM, etc SD RAM VC SD RAM ARM 1. Write data to the mailbox 2. Issue special Interrupts to either ARM core or VideoCore Local peripherals 0x4001_FFFF
23 Raspberry Pi 3: MMU In 32-bit mode, ARMv8 address translation resembles the ARMv7 Extended VMSAv7 MMU Virtual memory system architecture Security extension Large physical address extension Virtualization extension Uses 2 Level TLBs L1 MMU 2 micro TLBs: I-cache (IuTLB) and D-cache (DuTLB) 10 entry full-associative L2 MMU A unified TLB 256 entry 2-way set-assoc.
24 Non-volatile memory A new class of data storage/memory devices Emerging NVMs have exciting features: Non-volatile like Flash ( ~ 10 years) Fast access times (~ SRAM) High density (~ DRAM) NVM blurs the distinction between Memory (fast, expensive, volatile) & Storage (slow, cheap, non-volatile) Key issues: Slow writes, low endurance, costly and complex manufacturing
25 floating-gate transistor Older NVMs Mask or fuse programmed ROM Erasable Programmable ROM (EPROM) Uses floating-gate transistor in each cell Programmer uses higher-than-normal voltage so electrons tunnel into the gate Electrons become trapped in the gate Only done for cells that should store 0 Other cells will be 1 To erase, shine ultraviolet light onto chip Gives trapped electrons energy to escape Requires chip package to have window Electronically-Erasable Programmable ROM (EEPROM) Erasing one word at a time electronically vs. UV light Flash memory Like EEPROM, but large blocks of words can be erased simultaneously EEPROM & FLASH are in-system programmable word enable data line 1 cell data addr e Ð e Ð data line 0 trapped electrons en write busy 1024x32 EEPROM cell
26 1T-1C FeRAM Similar in construction to DRAM Both cell types include one capacitor and one access transistor DRAM cell capacitor use a linear dielectric; FeRAM includes ferroelectric material, typically lead zirconate titanate (PZT) Writing is accomplished by applying a field across the ferroelectric layer by charging the plates on either side of it, forcing the atoms inside into the "up /logic 1 or "down /logic "0 Advantage: No need for refresh 99% lower power than DRAM Similar performance to DRAM Disadvantage: It is unclear how it will scale as materials stop being ferroelectric at small sizes (now produced in 130nm) Reads are destructive data has to be rewritten
27 STT-RAM: Spin-Transfer Torque RAM The spin torque direction of electrons to flip a bit in a magnetic tunneling junction (MTJ) Advantages: High endurance & fast reads Disadvantages: Write energy: large current needed to reorient the magnetization for most commercial applications.; Write latency: low ON/OFF resistance ratio (~2) Asymmetric write: Writing a 1 needs much more time and energy than writing a 0 (a) Structure of MTJ (b) Parallel: bit 0 (low resistance) (c) Anti-Parallel: bit 1 (high resistance)
28 Domain Wall Memory (DWM) Similar to STT-RAM structure Advantage: needs only one tunneling barrier and fixed layer area savings Disadvantages: complexity of design, read/write delay due to sequential access Ferromagnetic tape Domain Wall Free Layer Domain Fixed Layer Extra Domains MTJ
29 Shift-based DWM Writes by shifting data of one of the two fixed layers with the desirable direction comp Advantage: faster writes than a traditional DWM Disadvantage: cost and manufacturing complexity Polarized direction 1-bit DWM is fast Multi-bit DWM is area efficient, but needs extra latency for shifting
30 PCM: Phase Change Memory Phase Change Memory (PCM) Flips a bit by changing the state of material Crystalline (SET) and amorphous (RESET) phase Advantages: better scalability than other emerging technologies Disadvantages: Slow in write (non-symmetric write operation) Low endurance (10 7 ) PCM Cell Phases PCM Operation Candidate for DRAM replacement
31 ReRAM: Resistive RAM Two types: Access-based (1T-1R) and crossbar ReRAM (1T-nR) Access-based ReRAM (1T-1R) A dielectric, which is normally insulating can be made to conduct through after application of a sufficiently high voltage Advantage: Very fast reads and writes ~ 20ns Very high density Disadvantage: Limited endurance (10 5 ) 31
32 Crossbar ReRAM Crossbar ReRAM (1T-nR) Advantage: Highly scalable Can be implemented at the top of the chip with in 3D architecture Very low energy consumption Low cost (possible replacement for Flash) Disadvantage: Much slower than 1T-1R ~us
33 Crossbar RRAM Applications Crossbar 1T-nR 1T-1R 33
34 Active vs Passive Power The blue area marks active power in the power equations The red area marks passive power in the power equations Passive power is unproductive. It just causes heat For memories it is leakage and refresh power, which is typically smaller than maximum active power For disks it is keeping the motor spinning and the standby power of the electronics, which is typically larger than the maximum active power For PCM it is the leakage and small standby power and is typically much smaller than the maximum active power. P DRAM P Disk P V dd I leak V dd I refresh CV d r I V I PCM I standby V dd i&c I active s& t V 2 dd V dd passive active is the portion of time that the device is active and productive is the normalized power of the disk motor f
35 NVRAM Comparison
36 NVMs Comparison STT-RAM: SRAM cache replacement PCRAM: DRAM main memory and storage ReRAM: NAND flash, embedded NOR flash
37 Summary Memory hierarchy Needs: speed, low power, predictable Cache design Mapping, replacement & write policies Memory types ROM vs RAM, types of ROM/RAM NVM Many new technologies that are still maturing Excellent target for big data and energy-efficient applications
38 Take a look at: Energy Efficient Computing The rate of data generation is beyond the capability of current computing systems Solutions for energy efficient computing: Approximation computing Near data computing Approximate computing Hindering computer systems efficiency by demanding too much accuracy from them E.g. Allow =4 Balance between energy and accuracy
39 Near Data Computing Data movement from main memory to caches is dominates energy consumption in many apps Near data computing: Preform analysis in the main memory and send only the result back to the processor Bring computation closer to data Often helpful for machine learning algorithms Contact Mohsen 39 Imani at:
40 Sources and References Frank Vahid, Tony Givargis, Embedded System Design, Wiley, Wayne Wolf, Computers as Components, Morgan Kaufmann, Peter Marwedel, Embedded Systems Design, 2004.
41 Phase-change RAM Bit-line PCRAM programmable resistor Word -line Access device (transistor, diode) Voltage temperature RESET pulse T melt Potential headache: High power/current affects scaling! SET pulse T cryst time Potential headache: If crystallization is slow affects performance!
Mohsen Imani. University of California San Diego. System Energy Efficiency Lab seelab.ucsd.edu
Mohsen Imani University of California San Diego Winter 2016 Technology Trend for IoT http://www.flashmemorysummit.com/english/collaterals/proceedi ngs/2014/20140807_304c_hill.pdf 2 Motivation IoT significantly
More informationCSE140: Components and Design Techniques for Digital Systems. Register Transfer Level (RTL) Design. Tajana Simunic Rosing
CSE140: Components and Design Techniques for Digital Systems Register Transfer Level (RTL) Design Tajana Simunic Rosing RTL Design Process Example: Simple data encryption/decryption device B =1, set offset
More informationCSE140: Components and Design Techniques for Digital Systems. Register Transfer Level (RTL) Design. Tajana Simunic Rosing
CSE140: Components and Design Techniques for Digital Systems Register Transfer Level (RTL) Design Tajana Simunic Rosing Welcome to CSE 140! Where we are going today: RTL examples, Memory Upcoming: HW6
More informationEmbedded Systems Design: A Unified Hardware/Software Introduction. Outline. Chapter 5 Memory. Introduction. Memory: basic concepts
Hardware/Software Introduction Chapter 5 Memory Outline Memory Write Ability and Storage Permanence Common Memory Types Composing Memory Memory Hierarchy and Cache Advanced RAM 1 2 Introduction Memory:
More informationEmbedded Systems Design: A Unified Hardware/Software Introduction. Chapter 5 Memory. Outline. Introduction
Hardware/Software Introduction Chapter 5 Memory 1 Outline Memory Write Ability and Storage Permanence Common Memory Types Composing Memory Memory Hierarchy and Cache Advanced RAM 2 Introduction Embedded
More informationContents. Memory System Overview Cache Memory. Internal Memory. Virtual Memory. Memory Hierarchy. Registers In CPU Internal or Main memory
Memory Hierarchy Contents Memory System Overview Cache Memory Internal Memory External Memory Virtual Memory Memory Hierarchy Registers In CPU Internal or Main memory Cache RAM External memory Backing
More informationCS 320 February 2, 2018 Ch 5 Memory
CS 320 February 2, 2018 Ch 5 Memory Main memory often referred to as core by the older generation because core memory was a mainstay of computers until the advent of cheap semi-conductor memory in the
More informationChapter 4 Main Memory
Chapter 4 Main Memory Course Outcome (CO) - CO2 Describe the architecture and organization of computer systems Program Outcome (PO) PO1 Apply knowledge of mathematics, science and engineering fundamentals
More informationLecture 8: Virtual Memory. Today: DRAM innovations, virtual memory (Sections )
Lecture 8: Virtual Memory Today: DRAM innovations, virtual memory (Sections 5.3-5.4) 1 DRAM Technology Trends Improvements in technology (smaller devices) DRAM capacities double every two years, but latency
More informationEE414 Embedded Systems Ch 5. Memory Part 2/2
EE414 Embedded Systems Ch 5. Memory Part 2/2 Byung Kook Kim School of Electrical Engineering Korea Advanced Institute of Science and Technology Overview 6.1 introduction 6.2 Memory Write Ability and Storage
More informationCOSC 243. Memory and Storage Systems. Lecture 10 Memory and Storage Systems. COSC 243 (Computer Architecture)
COSC 243 1 Overview This Lecture Source: Chapters 4, 5, and 6 (10 th edition) Next Lecture Control Unit and Microprogramming 2 Electromagnetic Induction Move a magnet through a coil to induce a current
More informationMultilevel Memories. Joel Emer Computer Science and Artificial Intelligence Laboratory Massachusetts Institute of Technology
1 Multilevel Memories Computer Science and Artificial Intelligence Laboratory Massachusetts Institute of Technology Based on the material prepared by Krste Asanovic and Arvind CPU-Memory Bottleneck 6.823
More informationCPU issues address (and data for write) Memory returns data (or acknowledgment for write)
The Main Memory Unit CPU and memory unit interface Address Data Control CPU Memory CPU issues address (and data for write) Memory returns data (or acknowledgment for write) Memories: Design Objectives
More informationCREATED BY M BILAL & Arslan Ahmad Shaad Visit:
CREATED BY M BILAL & Arslan Ahmad Shaad Visit: www.techo786.wordpress.com Q1: Define microprocessor? Short Questions Chapter No 01 Fundamental Concepts Microprocessor is a program-controlled and semiconductor
More informationDesign and Implementation of an AHB SRAM Memory Controller
Design and Implementation of an AHB SRAM Memory Controller 1 Module Overview Learn the basics of Computer Memory; Design and implement an AHB SRAM memory controller, which replaces the previous on-chip
More informationMEMORY. Objectives. L10 Memory
MEMORY Reading: Chapter 6, except cache implementation details (6.4.1-6.4.6) and segmentation (6.5.5) https://en.wikipedia.org/wiki/probability 2 Objectives Understand the concepts and terminology of hierarchical
More informationMemory Pearson Education, Inc., Hoboken, NJ. All rights reserved.
1 Memory + 2 Location Internal (e.g. processor registers, cache, main memory) External (e.g. optical disks, magnetic disks, tapes) Capacity Number of words Number of bytes Unit of Transfer Word Block Access
More informationUNIT:4 MEMORY ORGANIZATION
1 UNIT:4 MEMORY ORGANIZATION TOPICS TO BE COVERED. 4.1 Memory Hierarchy 4.2 Memory Classification 4.3 RAM,ROM,PROM,EPROM 4.4 Main Memory 4.5Auxiliary Memory 4.6 Associative Memory 4.7 Cache Memory 4.8
More informationLecture 18: Memory Systems. Spring 2018 Jason Tang
Lecture 18: Memory Systems Spring 2018 Jason Tang 1 Topics Memory hierarchy Memory operations Cache basics 2 Computer Organization Computer Processor Memory Devices Control Datapath Input Output So far,
More informationMEMORY BHARAT SCHOOL OF BANKING- VELLORE
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed and instructions required for processing are
More informationMemory. Objectives. Introduction. 6.2 Types of Memory
Memory Objectives Master the concepts of hierarchical memory organization. Understand how each level of memory contributes to system performance, and how the performance is measured. Master the concepts
More informationComputer Organization: A Programmer's Perspective
A Programmer's Perspective Computer Architecture and The Memory Hierarchy Gal A. Kaminka galk@cs.biu.ac.il Typical Computer Architecture CPU chip PC (Program Counter) register file ALU Main Components
More informationMemory memories memory
Memory Organization Memory Hierarchy Memory is used for storing programs and data that are required to perform a specific task. For CPU to operate at its maximum speed, it required an uninterrupted and
More information1. Explain in detail memory classification.[summer-2016, Summer-2015]
1. Explain in detail memory classification.[summer-2016, Summer-2015] RAM The memory is a basic component of a microcomputer system. It stores binary instructions and data for the microprocessor. There
More informationPRATHYUSHA INSTITUTE OF TECHNOLOGY AND MANAGEMENT
PRATHYUSHA INSTITUTE OF TECHNOLOGY AND MANAGEMENT DEPARTMENT OF INFORMATION TECHNOLOGY Staff Name: Prof. S. Athinarayanan UNIT IV PART A Branch: ECE / V Sem 1. Define Memory Access Time and Memory Cycle
More informationELCT 912: Advanced Embedded Systems
Advanced Embedded Systems Lecture 2: Memory and Programmable Logic Dr. Mohamed Abd El Ghany, Memory Random Access Memory (RAM) Can be read and written Static Random Access Memory (SRAM) Data stored so
More informationChapter Seven. Memories: Review. Exploiting Memory Hierarchy CACHE MEMORY AND VIRTUAL MEMORY
Chapter Seven CACHE MEMORY AND VIRTUAL MEMORY 1 Memories: Review SRAM: value is stored on a pair of inverting gates very fast but takes up more space than DRAM (4 to 6 transistors) DRAM: value is stored
More informationMagnetic core memory (1951) cm 2 ( bit)
Magnetic core memory (1951) 16 16 cm 2 (128 128 bit) Semiconductor Memory Classification Read-Write Memory Non-Volatile Read-Write Memory Read-Only Memory Random Access Non-Random Access EPROM E 2 PROM
More informationSummer 2003 Lecture 18 07/09/03
Summer 2003 Lecture 18 07/09/03 NEW HOMEWORK Instruction Execution Times: The 8088 CPU is a synchronous machine that operates at a particular clock frequency. In the case of the original IBM PC, that clock
More informationMemory systems. Memory technology. Memory technology Memory hierarchy Virtual memory
Memory systems Memory technology Memory hierarchy Virtual memory Memory technology DRAM Dynamic Random Access Memory bits are represented by an electric charge in a small capacitor charge leaks away, need
More informationModule 5a: Introduction To Memory System (MAIN MEMORY)
Module 5a: Introduction To Memory System (MAIN MEMORY) R E F E R E N C E S : S T A L L I N G S, C O M P U T E R O R G A N I Z A T I O N A N D A R C H I T E C T U R E M O R R I S M A N O, C O M P U T E
More information(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (5 th Week)
+ (Advanced) Computer Organization & Architechture Prof. Dr. Hasan Hüseyin BALIK (5 th Week) + Outline 2. The computer system 2.1 A Top-Level View of Computer Function and Interconnection 2.2 Cache Memory
More informationViews of Memory. Real machines have limited amounts of memory. Programmer doesn t want to be bothered. 640KB? A few GB? (This laptop = 2GB)
CS6290 Memory Views of Memory Real machines have limited amounts of memory 640KB? A few GB? (This laptop = 2GB) Programmer doesn t want to be bothered Do you think, oh, this computer only has 128MB so
More informationEmerging NV Storage and Memory Technologies --Development, Manufacturing and
Emerging NV Storage and Memory Technologies --Development, Manufacturing and Applications-- Tom Coughlin, Coughlin Associates Ed Grochowski, Computer Storage Consultant 2014 Coughlin Associates 1 Outline
More informationNAND Flash Memory. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University
NAND Flash Memory Jinkyu Jeong (Jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) Flash
More informationLarge and Fast: Exploiting Memory Hierarchy
CSE 431: Introduction to Operating Systems Large and Fast: Exploiting Memory Hierarchy Gojko Babić 10/5/018 Memory Hierarchy A computer system contains a hierarchy of storage devices with different costs,
More informationCS429: Computer Organization and Architecture
CS429: Computer Organization and Architecture Dr. Bill Young Department of Computer Sciences University of Texas at Austin Last updated: November 28, 2017 at 14:31 CS429 Slideset 18: 1 Random-Access Memory
More informationEC 513 Computer Architecture
EC 513 Computer Architecture Cache Organization Prof. Michel A. Kinsy The course has 4 modules Module 1 Instruction Set Architecture (ISA) Simple Pipelining and Hazards Module 2 Superscalar Architectures
More informationCSE140: Components and Design Techniques for Digital Systems
CSE140: Componts and Design Techniques for Digital Systems Tajana Simunic Rosing 1 Outline Today: Memory ROM RAM FIFO Queue Next: Register Transfer Level Design 2 CSE140: Componts and Design Techniques
More informationECE 152 Introduction to Computer Architecture
Introduction to Computer Architecture Main Memory and Virtual Memory Copyright 2009 Daniel J. Sorin Duke University Slides are derived from work by Amir Roth (Penn) Spring 2009 1 Where We Are in This Course
More informationCS429: Computer Organization and Architecture
CS429: Computer Organization and Architecture Dr. Bill Young Department of Computer Sciences University of Texas at Austin Last updated: April 9, 2018 at 12:16 CS429 Slideset 17: 1 Random-Access Memory
More informationCOMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)
COMP3221: Microprocessors and Embedded Systems Lecture 23: Memory Systems (I) Overview Memory System Hierarchy RAM, ROM, EPROM, EEPROM and FLASH http://www.cse.unsw.edu.au/~cs3221 Lecturer: Hui Wu Session
More informationInternal Memory. Computer Architecture. Outline. Memory Hierarchy. Semiconductor Memory Types. Copyright 2000 N. AYDIN. All rights reserved.
Computer Architecture Prof. Dr. Nizamettin AYDIN naydin@yildiz.edu.tr nizamettinaydin@gmail.com Internal Memory http://www.yildiz.edu.tr/~naydin 1 2 Outline Semiconductor main memory Random Access Memory
More informationOverview. Memory Classification Read-Only Memory (ROM) Random Access Memory (RAM) Functional Behavior of RAM. Implementing Static RAM
Memories Overview Memory Classification Read-Only Memory (ROM) Types of ROM PROM, EPROM, E 2 PROM Flash ROMs (Compact Flash, Secure Digital, Memory Stick) Random Access Memory (RAM) Types of RAM Static
More informationComputer Organization and Assembly Language (CS-506)
Computer Organization and Assembly Language (CS-506) Muhammad Zeeshan Haider Ali Lecturer ISP. Multan ali.zeeshan04@gmail.com https://zeeshanaliatisp.wordpress.com/ Lecture 2 Memory Organization and Structure
More informationChapter 6 Memory 11/3/2015. Chapter 6 Objectives. 6.2 Types of Memory. 6.1 Introduction
Chapter 6 Objectives Chapter 6 Memory Master the concepts of hierarchical memory organization. Understand how each level of memory contributes to system performance, and how the performance is measured.
More informationMemory Expansion. Lecture Embedded Systems
Memory Expansion Lecture 22 22-1 In These Notes... Memory Types Memory Expansion Interfacing Parallel Serial Direct Memory Access controllers 22-2 Memory Characteristics and Issues Volatility - Does it
More informationLecture-14 (Memory Hierarchy) CS422-Spring
Lecture-14 (Memory Hierarchy) CS422-Spring 2018 Biswa@CSE-IITK The Ideal World Instruction Supply Pipeline (Instruction execution) Data Supply - Zero-cycle latency - Infinite capacity - Zero cost - Perfect
More informationEE251: Thursday November 15
EE251: Thursday November 15 Major new topic: MEMORY A KEY topic HW #7 due today; HW #8 due Thursday, Nov. 29 Lab #8 finishes this week; due week of Nov. 26 All labs MUST be completed/handed-in by Dec.
More informationComputer Memory. Textbook: Chapter 1
Computer Memory Textbook: Chapter 1 ARM Cortex-M4 User Guide (Section 2.2 Memory Model) STM32F4xx Technical Reference Manual: Chapter 2 Memory and Bus Architecture Chapter 3 Flash Memory Chapter 36 Flexible
More informationComputer Organization. 8th Edition. Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition Chapter 5 Internal Memory Semiconductor Memory Types Memory Type Category Erasure Write Mechanism Volatility Random-access memory (RAM)
More informationEastern Mediterranean University School of Computing and Technology CACHE MEMORY. Computer memory is organized into a hierarchy.
Eastern Mediterranean University School of Computing and Technology ITEC255 Computer Organization & Architecture CACHE MEMORY Introduction Computer memory is organized into a hierarchy. At the highest
More informationRTL Design (2) Memory Components (RAMs & ROMs)
RTL Design (2) Memory Components (RAMs & ROMs) Memory Components All sequential circuit have a form of memory Register, latches, etc However, the term memory is generally reserved for bits that are stored
More informationMemory & Simple I/O Interfacing
Chapter 10 Memory & Simple I/O Interfacing Expected Outcomes Explain the importance of tri-state devices in microprocessor system Distinguish basic type of semiconductor memory and their applications Relate
More informationOrganization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition
William Stallings Computer Organization and Architecture 6th Edition Chapter 5 Internal Memory 5.1 Semiconductor Main Memory 5.2 Error Correction 5.3 Advanced DRAM Organization 5.1 Semiconductor Main Memory
More informationWilliam Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 6th Edition Chapter 5 Internal Memory Semiconductor Memory Types Semiconductor Memory RAM Misnamed as all semiconductor memory is random access
More informationSemiconductor Memory Types Microprocessor Design & Organisation HCA2102
Semiconductor Memory Types Microprocessor Design & Organisation HCA2102 Internal & External Memory Semiconductor Memory RAM Misnamed as all semiconductor memory is random access Read/Write Volatile Temporary
More informationP-2 Digital Design & Applications
P-2 Digital Design & Applications Semiconductor Memory (Unit-V) By: A K Verma SOS in Electronics & Photonics Pt. Ravishankar Shukla University, Raipur (C.G.) 1 What is Memory? In computing, memory refers
More informationChapter 6 Objectives
Chapter 6 Memory Chapter 6 Objectives Master the concepts of hierarchical memory organization. Understand how each level of memory contributes to system performance, and how the performance is measured.
More informationk -bit address bus n-bit data bus Control lines ( R W, MFC, etc.)
THE MEMORY SYSTEM SOME BASIC CONCEPTS Maximum size of the Main Memory byte-addressable CPU-Main Memory Connection, Processor MAR MDR k -bit address bus n-bit data bus Memory Up to 2 k addressable locations
More informationMemory Hierarchy Y. K. Malaiya
Memory Hierarchy Y. K. Malaiya Acknowledgements Computer Architecture, Quantitative Approach - Hennessy, Patterson Vishwani D. Agrawal Review: Major Components of a Computer Processor Control Datapath
More informationCS 261 Fall Mike Lam, Professor. Memory
CS 261 Fall 2016 Mike Lam, Professor Memory Topics Memory hierarchy overview Storage technologies SRAM DRAM PROM / flash Disk storage Tape and network storage I/O architecture Storage trends Latency comparisons
More informationCOMPUTER ARCHITECTURE
COMPUTER ARCHITECTURE 8 Memory Types & Technologies RA - 8 2018, Škraba, Rozman, FRI Memory types & technologies - objectives 8 Memory types & technologies - objectives: Basic understanding of: The speed
More informationConcept of Memory. The memory of computer is broadly categories into two categories:
Concept of Memory We have already mentioned that digital computer works on stored programmed concept introduced by Von Neumann. We use memory to store the information, which includes both program and data.
More informationChapter 5 Internal Memory
Chapter 5 Internal Memory Memory Type Category Erasure Write Mechanism Volatility Random-access memory (RAM) Read-write memory Electrically, byte-level Electrically Volatile Read-only memory (ROM) Read-only
More informationCharacteristics of Memory Location wrt Motherboard. CSCI 4717 Computer Architecture. Characteristics of Memory Capacity Addressable Units
CSCI 4717/5717 Computer Architecture Topic: Cache Memory Reading: Stallings, Chapter 4 Characteristics of Memory Location wrt Motherboard Inside CPU temporary memory or registers Motherboard main memory
More informationMemory technology and optimizations ( 2.3) Main Memory
Memory technology and optimizations ( 2.3) 47 Main Memory Performance of Main Memory: Latency: affects Cache Miss Penalty» Access Time: time between request and word arrival» Cycle Time: minimum time between
More informationCOMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. 5 th. Edition. Chapter 5. Large and Fast: Exploiting Memory Hierarchy
COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface 5 th Edition Chapter 5 Large and Fast: Exploiting Memory Hierarchy Principle of Locality Programs access a small proportion of their address
More information! Memory Overview. ! ROM Memories. ! RAM Memory " SRAM " DRAM. ! This is done because we can build. " large, slow memories OR
ESE 57: Digital Integrated Circuits and VLSI Fundamentals Lec 2: April 5, 26 Memory Overview, Memory Core Cells Lecture Outline! Memory Overview! ROM Memories! RAM Memory " SRAM " DRAM 2 Memory Overview
More informationStorage Technologies and the Memory Hierarchy
Storage Technologies and the Memory Hierarchy 198:231 Introduction to Computer Organization Lecture 12 Instructor: Nicole Hynes nicole.hynes@rutgers.edu Credits: Slides courtesy of R. Bryant and D. O Hallaron,
More informationMagnetoresistive RAM (MRAM) Jacob Lauzon, Ryan McLaughlin
Magnetoresistive RAM (MRAM) Jacob Lauzon, Ryan McLaughlin Agenda Current solutions Why MRAM? What is MRAM? History How it works Comparisons Outlook Current Memory Types Memory Market primarily consists
More information1. Memory technology & Hierarchy
1 Memory technology & Hierarchy Caching and Virtual Memory Parallel System Architectures Andy D Pimentel Caches and their design cf Henessy & Patterson, Chap 5 Caching - summary Caches are small fast memories
More informationCHAPTER 6 Memory. CMPS375 Class Notes (Chap06) Page 1 / 20 Dr. Kuo-pao Yang
CHAPTER 6 Memory 6.1 Memory 341 6.2 Types of Memory 341 6.3 The Memory Hierarchy 343 6.3.1 Locality of Reference 346 6.4 Cache Memory 347 6.4.1 Cache Mapping Schemes 349 6.4.2 Replacement Policies 365
More informationPhase Change Memory An Architecture and Systems Perspective
Phase Change Memory An Architecture and Systems Perspective Benjamin C. Lee Stanford University bcclee@stanford.edu Fall 2010, Assistant Professor @ Duke University Benjamin C. Lee 1 Memory Scaling density,
More informationCHAPTER 6 Memory. CMPS375 Class Notes Page 1/ 16 by Kuo-pao Yang
CHAPTER 6 Memory 6.1 Memory 233 6.2 Types of Memory 233 6.3 The Memory Hierarchy 235 6.3.1 Locality of Reference 237 6.4 Cache Memory 237 6.4.1 Cache Mapping Schemes 239 6.4.2 Replacement Policies 247
More informationChapter 7- Memory System Design
Chapter 7- Memory ystem esign RM structure: Cells and Chips Memory boards and modules Cache memory Virtual memory The memory as a sub-system of the computer CPU Main Memory Interface equence of events:
More informationECE 1160/2160 Embedded Systems Design. Midterm Review. Wei Gao. ECE 1160/2160 Embedded Systems Design
ECE 1160/2160 Embedded Systems Design Midterm Review Wei Gao ECE 1160/2160 Embedded Systems Design 1 Midterm Exam When: next Monday (10/16) 4:30-5:45pm Where: Benedum G26 15% of your final grade What about:
More informationMemory. Memory Technologies
Memory Memory technologies Memory hierarchy Cache basics Cache variations Virtual memory Synchronization Galen Sasaki EE 36 University of Hawaii Memory Technologies Read Only Memory (ROM) Static RAM (SRAM)
More informationAdvanced 1 Transistor DRAM Cells
Trench DRAM Cell Bitline Wordline n+ - Si SiO 2 Polysilicon p-si Depletion Zone Inversion at SiO 2 /Si Interface [IC1] Address Transistor Memory Capacitor SoC - Memory - 18 Advanced 1 Transistor DRAM Cells
More informationLecture 17 Introduction to Memory Hierarchies" Why it s important " Fundamental lesson(s)" Suggested reading:" (HP Chapter
Processor components" Multicore processors and programming" Processor comparison" vs." Lecture 17 Introduction to Memory Hierarchies" CSE 30321" Suggested reading:" (HP Chapter 5.1-5.2)" Writing more "
More informationCENG4480 Lecture 09: Memory 1
CENG4480 Lecture 09: Memory 1 Bei Yu byu@cse.cuhk.edu.hk (Latest update: November 8, 2017) Fall 2017 1 / 37 Overview Introduction Memory Principle Random Access Memory (RAM) Non-Volatile Memory Conclusion
More informationAdapted from instructor s supplementary material from Computer. Patterson & Hennessy, 2008, MK]
Lecture 17 Adapted from instructor s supplementary material from Computer Organization and Design, 4th Edition, Patterson & Hennessy, 2008, MK] SRAM / / Flash / RRAM / HDD SRAM / / Flash / RRAM/ HDD SRAM
More informationCOA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR.
Q.1 Define MBR. MBR( Memory buffer register) A Memory Buffer Register (MBR) is the register in a computers processor that stores the data being transferred to and from the devices It allowing the processor
More informationa) Memory management unit b) CPU c) PCI d) None of the mentioned
1. CPU fetches the instruction from memory according to the value of a) program counter b) status register c) instruction register d) program status word 2. Which one of the following is the address generated
More informationEmbedded Systems: Architecture
Embedded Systems: Architecture Jinkyu Jeong (Jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu)
More informationChapter 5B. Large and Fast: Exploiting Memory Hierarchy
Chapter 5B Large and Fast: Exploiting Memory Hierarchy One Transistor Dynamic RAM 1-T DRAM Cell word access transistor V REF TiN top electrode (V REF ) Ta 2 O 5 dielectric bit Storage capacitor (FET gate,
More informationArchitectural Aspects in Design and Analysis of SOTbased
Architectural Aspects in Design and Analysis of SOTbased Memories Rajendra Bishnoi, Mojtaba Ebrahimi, Fabian Oboril & Mehdi Tahoori INSTITUTE OF COMPUTER ENGINEERING (ITEC) CHAIR FOR DEPENDABLE NANO COMPUTING
More informationLecture 13: Memory and Programmable Logic
Lecture 13: Memory and Programmable Logic Syed M. Mahmud, Ph.D ECE Department Wayne State University Aby K George, ECE Department, Wayne State University Contents Introduction Random Access Memory Memory
More informationMemory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University
Memory Overview Curtis Nelson Walla Walla University Overview - Memory Types n n n Magnetic tape (used primarily for long term archive) Magnetic disk n Hard disk (File, Directory, Folder) n Floppy disks
More informationEvaluating STT-RAM as an Energy-Efficient Main Memory Alternative
Evaluating STT-RAM as an Energy-Efficient Main Memory Alternative Emre Kültürsay *, Mahmut Kandemir *, Anand Sivasubramaniam *, and Onur Mutlu * Pennsylvania State University Carnegie Mellon University
More informationHardware Design with VHDL PLDs I ECE 443. FPGAs can be configured at least once, many are reprogrammable.
PLDs, ASICs and FPGAs FPGA definition: Digital integrated circuit that contains configurable blocks of logic and configurable interconnects between these blocks. Key points: Manufacturer does NOT determine
More informationLecture 2: Memory Systems
Lecture 2: Memory Systems Basic components Memory hierarchy Cache memory Virtual Memory Zebo Peng, IDA, LiTH Many Different Technologies Zebo Peng, IDA, LiTH 2 Internal and External Memories CPU Date transfer
More informationThe Memory Hierarchy Part I
Chapter 6 The Memory Hierarchy Part I The slides of Part I are taken in large part from V. Heuring & H. Jordan, Computer Systems esign and Architecture 1997. 1 Outline: Memory components: RAM memory cells
More informationInstruction Register. Instruction Decoder. Control Unit (Combinational Circuit) Control Signals (These signals go to register) The bus and the ALU
Hardwired and Microprogrammed Control For each instruction, the control unit causes the CPU to execute a sequence of steps correctly. In reality, there must be control signals to assert lines on various
More informationComputer Architecture and System Software Lecture 09: Memory Hierarchy. Instructor: Rob Bergen Applied Computer Science University of Winnipeg
Computer Architecture and System Software Lecture 09: Memory Hierarchy Instructor: Rob Bergen Applied Computer Science University of Winnipeg Announcements Midterm returned + solutions in class today SSD
More informationVery Large Scale Integration (VLSI)
Very Large Scale Integration (VLSI) Lecture 8 Dr. Ahmed H. Madian ah_madian@hotmail.com Content Array Subsystems Introduction General memory array architecture SRAM (6-T cell) CAM Read only memory Introduction
More informationCS 152 Computer Architecture and Engineering. Lecture 7 - Memory Hierarchy-II
CS 152 Computer Architecture and Engineering Lecture 7 - Memory Hierarchy-II Krste Asanovic Electrical Engineering and Computer Sciences University of California at Berkeley http://www.eecs.berkeley.edu/~krste
More information+1 (479)
Memory Courtesy of Dr. Daehyun Lim@WSU, Dr. Harris@HMC, Dr. Shmuel Wimer@BIU and Dr. Choi@PSU http://csce.uark.edu +1 (479) 575-6043 yrpeng@uark.edu Memory Arrays Memory Arrays Random Access Memory Serial
More informationECE 485/585 Microprocessor System Design
Microprocessor System Design Lecture 4: Memory Hierarchy Memory Taxonomy SRAM Basics Memory Organization DRAM Basics Zeshan Chishti Electrical and Computer Engineering Dept Maseeh College of Engineering
More informationCOMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface
COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface COEN-4710 Computer Hardware Lecture 7 Large and Fast: Exploiting Memory Hierarchy (Chapter 5) Cristinel Ababei Marquette University Department
More information