(Adapted From Slides by Greg Gibeling)

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
EECS150 Lab Lecture #61 AC97 PCM Audio EECS150 Fall 2007– Lab Lecture #6 Udam Saini 10/05/2007.
EECS 150 Spring 2007 Checkpoint 0 - SDRAM 2/23/2007 Jeff Kalvass (Adapted From Greg Gibeling )
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
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.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
Computer Organization and Architecture
Chapter 5 Internal Memory
8-5 DRAM ICs High storage capacity Low cost Dominate high-capacity memory application Need “refresh” (main difference between DRAM and SRAM) -- dynamic.
Types of RAM By Alysha Gould. TYPES OF RAM SIMM’S DIMM’S DRAM SDRAM RDAM VDRAM.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
Survey of Existing Memory Devices Renee Gayle M. Chua.
Chapter 5 Internal Memory. Semiconductor Memory Types.
Microprocessor-Based System. What is it? How simple can a microprocessor-based system actually be? – It must obviously contain a microprocessor otherwise.
Memory and Storage Dr. Rebhi S. Baraka
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 Cell Operation.
Field Programmable Port Extender (FPX) 1 Modular Design Techniques for the FPX.
Physical Memory and Physical Addressing By Alex Ames.
Semiconductor Memory Types
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
COMP541 Memories II: DRAMs
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
Chapter 5 Internal Memory. contents  Semiconductor main memory - organisation - organisation - DRAM and SRAM - DRAM and SRAM - types of ROM - types of.
“With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
RAM RAM - random access memory RAM (pronounced ramm) random access memory, a type of computer memory that can be accessed randomly;
Physical Memory and Physical Addressing ( Chapter 10 ) by Polina Zapreyeva.
Chapter 5 - Internal Memory 5.1 Semiconductor Main Memory 5.2 Error Correction 5.3 Advanced DRAM Organization.
Washington University
COMP541 Memories II: DRAMs
Lecture 3. Lateches, Flip Flops, and Memory
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
7-5 DRAM ICs High storage capacity Low cost
Processor support devices Part 2: Caches and the MESI protocol
COMP541 Memories II: DRAMs
SDRAM Arbiter EECS150 Fall Lab Lecture #9 Chen Sun
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.
William Stallings Computer Organization and Architecture 7th Edition
Computer Architecture & Operations I
William Stallings Computer Organization and Architecture 8th Edition
Local Video System: Overview
William Stallings Computer Organization and Architecture 7th Edition
Datapaths For the rest of the semester, we’ll focus on computer architecture: how to assemble the combinational and sequential components we’ve studied.
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Graphics Hardware: Specialty Memories, Simple Framebuffers
Logic Analyzers EECS150 Fall Lab Lecture #5 Arjun Singh
AKT211 – CAO 07 – Computer Memory
Good Design & Network Audio
William Stallings Computer Organization and Architecture 8th Edition
Local Video System: Overview
The SDRAM Controller EECS150 Fall Lab Lecture #8 Chen Sun
Logic Analyzers EECS150 Fall Lab Lecture #5 Arjun Singh
Bob Reese Micro II ECE, MSU
ECE 352 Digital System Fundamentals
Jazan University, Jazan KSA
FIGURE 7-1 Block Diagram of Memory
Presentation transcript:

(Adapted From Slides by Greg Gibeling) EECS 150 Spring 2008 Checkpoint 1 - SDRAM 2/29/2008 Chen Sun (Adapted From Slides by Greg Gibeling)

Welcome to Checkpoint 1 Agenda Why Checkpoint 1 is Important Checkpoint 1 Specs Theory of SDRAM SDRAM Init, Read, Write (timing diagrams) Designing the SDRAM controller

Motivation Learn to configure external SDRAM (Checkpoint #1) Multiport Arbitration Learn to configure external SDRAM Write and read from external SDRAM To use FIFOs as buffers Design a memory controller You will need this for the project

What is Checkpoint 1? (1) Initialize and configure SDRAM We provide 32-bit data generator checkpoint0bb The black box we provide will handle all read and write requests We will provide addressing scheme

What is Checkpoint 1 (2) We provide data checker to compare what is read from SDRAM from what should have been written Count the errors and display on LEDs

What is Checkpoint 1? (3)

Theory of SDRAM (1) SDRAM: Synchronous Dynamic RAM Upside Down side Huge amounts of storage Down side Slow May need refreshing every once in a while

Theory of SDRAM (2) So to speed things up… SDRAM handles bursts to read data as a group Control requires precise timing Issue sequences of commands Timing must be matched with Data Sheet (more on this later)

Theory of SDRAM (3) DRAM is BIG so we time mux address Row Address Column Address Steps to Read/Write Send Row Address Send Column Address Send/Get Data Read the Data sheet for details

Theory of SDRAM (4) SDRAM is a large FSM SDRAM Controller’s Job: Send it a command Get a response SDRAM Controller’s Job: Send the right command signals Ensure command sequences are timed correctly

SDRAM Specifications See Spec at http://www-inst.eecs.berkeley.edu/~cs150/sp07/Documents.php#Datasheets Read the MT48LC16M16 Datasheet Provides overview of commands and timing You will need to become very familiar with initialization, reads, and writes

SDRAM Initialization (p 40)

Read Operation (p 46)

Write Operation (p 53)

Write Timing Memory chips are the -7E Models, and the clock is running at 27MHz

SDRAM Controller (1) One Time Repeating Initialization Read with auto-precharge Write with auto-precharge Auto-Refresh (only if idle for a long time) Refreshes should not be necessary for this project

SDRAM Controller (2) Goal Design Options Abstracts away the details of SDRAM Accepts commands, produces responses Deals with sending address in parts (row and then column) Design Options Completely up to you!

SDRAM Controller (3) Design for the future! You will need it for your project Tristate data line when reading! SDRAM accepts input and puts outputs on the same bus

FIFOs Buffer to match two data rates Great for data path clock domain crossings (we’ll talk about it later this semester)

The Checkpoint (1) You have one week to complete this CP Design Reviews next week at the beginning of your lab section Bubble-and-arc diagram(s) required Block Diagram highly recommended Timing diagram required Example: read and write DO NOT COPY the one on the spec sheet

The Checkpoint (2) Construction Groups of two – your lab #4/#5 partner Demo circuit on board for check-off Remember you will be designing for CP1 concurrently Groups of two – your lab #4/#5 partner You must get checked off in the same lab section for the rest of the semester Start designing today!

Any Questions? Your friendly neighborhood lab TA is here We want high completion for CP1, get help if you need it! Sign-up sheet for partner/grading