Physical Memory and Physical Addressing By: Preeti Mudda Prof: Dr. Sin-Min Lee CS147 Computer Organization and Architecture.

Slides:



Advertisements
Similar presentations
MEMORY popo.
Advertisements

COEN 180 SRAM. High-speed Low capacity Expensive Large chip area. Continuous power use to maintain storage Technology used for making MM caches.
Figure (a) 8 * 8 array (b) 16 * 8 array.
Computer Organization and Architecture
Computer Organization and Architecture
Prith Banerjee ECE C03 Advanced Digital Design Spring 1998
Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
5-1 Memory System. Logical Memory Map. Each location size is one byte (Byte Addressable) Logical Memory Map. Each location size is one byte (Byte Addressable)
COEN 180 DRAM. Dynamic Random Access Memory Dynamic: Periodically refresh information in a bit cell. Else it is lost. Small footprint: transistor + capacitor.
These slides incorporate figures from Digital Design Principles and Practices, third edition, by John F. Wakerly, Copyright 2000, and are used by permission.
1 DIGITAL DESIGN I DR. M. MAROUF MEMORY Read-only memories Static read/write memories Dynamic read/write memories Author: John Wakerly (CHAPTER 10.1 to.
D75P 34 – HNC Computer Architecture Week 4 Reading and writing to RAM. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College except where.
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
ENGIN112 L30: Random Access Memory November 14, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 30 Random Access Memory (RAM)
ReturnNext Random access memory (RAM) is the best known form of computer memory. RAM is considered "random access" because you can access any memory cell.
1 The Basic Memory Element - The Flip-Flop Up until know we have looked upon memory elements as black boxes. The basic memory element is called the flip-flop.
Chapter 10. Memory, CPLDs, and FPGAs
11/29/2004EE 42 fall 2004 lecture 371 Lecture #37: Memory Last lecture: –Transmission line equations –Reflections and termination –High frequency measurements.
1 Lecture 16B Memories. 2 Memories in General Computers have mostly RAM ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
Overview Memory definitions Random Access Memory (RAM)
Registers –Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
Memory Devices Wen-Hung Liao, Ph.D..
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
1 Lecture 16B Memories. 2 Memories in General RAM - the predominant memory ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
1 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
Chapter 6 Memory and Programmable Logic Devices
Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Chapter #7: Sequential Logic Case Studies 7.6 Random Access Memories.
CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.
Memory Technology “Non-so-random” Access Technology:
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Lecture on Electronic Memories. What Is Electronic Memory? Electronic device that stores digital information Types –Volatile v. non-volatile –Static v.
Memory and Programmable Logic
EKT 221 : Digital 2 Memory Basics
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
Memory System Unit-IV 4/24/2017 Unit-4 : Memory System.
Digital Design: Principles and Practices
Memory Devices May be classified as: Connections: ROM; Flash; SRAM;
CPEN Digital System Design
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Overview Memory definitions Random Access Memory (RAM)
Computer Architecture Lecture 24 Fasih ur Rehman.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 2.
Feb. 26, 2001Systems Architecture I1 Systems Architecture I (CS ) Lecture 12: State Elements, Registers, and Memory * Jeremy R. Johnson Mon. Feb.
Random Access Memory (RAM).  A memory unit stores binary information in groups of bits called words.  The data consists of n lines (for n-bit words).
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 22 Memory Definitions Memory ─ A collection of storage cells together with the necessary.
07/11/2005 Register File Design and Memory Design Presentation E CSE : Introduction to Computer Architecture Slides by Gojko Babić.
Static and Dynamic Memory
RAM RAM - random access memory RAM (pronounced ramm) random access memory, a type of computer memory that can be accessed randomly;
Memories.
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
Computer Architecture & Operations I
EE345: Introduction to Microcontrollers Memory
Digital Logic & Design Dr. Waseem Ikram Lecture 40.
AKT211 – CAO 07 – Computer Memory
Jazan University, Jazan KSA
Presentation transcript:

Physical Memory and Physical Addressing By: Preeti Mudda Prof: Dr. Sin-Min Lee CS147 Computer Organization and Architecture

Agenda Physical Memory Random Access Memory Two Types of Ram Dynamic RAM Static RAM Physical Address Word Size Byte Alignment

Physical Memory Physical memory is the main memory that has direct/indirect access to CPU Physical memory mainly consists of RAM

Random Access Memory Random Access Memory (RAM): Any data could be accessed in a constant time regardless of its physical location. Two Types of RAM: DRAM – Dynamic Random Access Memory SRAM – Static Random Access Memory

Dynamic Random Access Memory DRAM is an integrated circuit. Millions of transistors and capacitors are paired together to create an array of memory cells Capacitor holds the bit information Transistors behaves like a switch which lets the control circuitry to control the state of the memory chip by reading or changing the capacitor state.

DRAM Architecture DRAM Chips are large and rectangular Arrays of memory cells Support logic- used for reading and writing data in arrays Refresh Circuitry- maintain the integrity of the stored data by periodically refreshing the memory cells

DRAM Memory cell represents single bit data (logic 1/logic 0) Cells are imprinted on silicon wafer Array of columns (bitlines) Array of rows (wordlines) Intersection of bitline and wordline is the address of the memory cell

Support Circuitry Sense amplifiers: Amplifies signal or charge detected on the memory cell Address logic: Select rows and columns Row Address Select(RAS) and Column Address Select(CAS): Latch and resolve the row and column addresses. It initiates or terminates the read/write operation

Support Circuitry Read /Write circuitry: Store or read the information in the memory cell Internals Counters: Keep track of the refresh sequence or initiate refresh cycle Output Enable logic: Prevents the data from displaying it unnecessarily.

DRAM Read timing Row Address Strobe (RAS): Latch row address and initiate the memory cycle. It is required at the beginning of every operation. To enable RAS the voltage transition should be from high to low voltage. RAS is an active low and it should maintain low voltage as long as RAS is required Complete memory cycle: RAS must active for minimum amount time and also inactive for minimum amount of time. Column Address Strobe: Initiate Read/Write Operation CAS must be active before RAS for refresh cycle.

DRAM Timing Write Enable(WE): Write enable signal used to choose for read/write operation. Low voltage-level signifies a write operation High-voltage level signifies a read operation. Output Enable (OE): This control signal is used to prevent displaying the output while read operation. The control signal is grounded when write operation is selected. Data IN/OUT(DQs): DQ pins used for input and output

Steps to access a cell in DRAM

Static RAM Type of semiconductor memory No need to refresh frequently Uses six MOFETS to store each memory bit Size: SRAM has m address lines and n data lines: 2^m words.

SRAM Three different states: Standby: The circuit is idle Reading: Reading the data which has been requested Writing: Writing the data on to the memory

SRAM

SRAM Reading: WE_L is dis- asserted (H), OE_L is asserted (L) D: data output pin Writing: WE_L is asserted (L) where as OE_L is dis-asserted (H). D: Data input pin.

Physical Address Physical address is a memory address that is stored in the form of binary number It is electronically represented on the computer address bus circuitry Through this data bus is enabled to access particular storage from the main memory cell

Physical Memory and Word Size Bits of physical memory are divided into blocks of N bits Terminology – Group of N bits is called a word – N is known as the width of a word or the word size

Physical Memory Addresses Each word of memory is assigned a unique number known as a physical memory address Programmer imagines physical memory to be an array of words Note: entire word must be transferred

Choosing A Word Size Larger word size Implemented with more parallel wires Results in higher performance Higher cost Note: architect usually designs all parts of computer to use one size for: Memory word Integer (general-purpose registers)

Byte Addressing View of memory presented to processor Each byte of memory assigned an address Convenient for programmers Underlying memory can still use word addressing

Translation Between Byte And Word Addresses Performed by intelligent memory controller CPU can use byte addresses (convenient) Physical memory can use word addresses (efficient)

Byte Alignment Refers to integer storage in memory In some architectures – Integer in memory must correspond to word in underlying physical memory In other architectures – Integer can be unaligned, but fetch and store operations are much slower

Memory Size And Address Space Size of address limits maximum memory Example: 32-bit address can represent 2^32 = 4,294,967,296 unique addresses Known as address space Note: word addressing allows larger memory than byte addressing

Resources Physical Memory: IBM article “Understanding DRAM operation” CS-Duke Lecture notes: Memory Systems Wikipedia Howstuffworks website Physical Address: F07/handouts/Chapter10.pdf F07/handouts/Chapter10.pdf Wikipedia