EECS 150 Spring 2007 Checkpoint 0 - SDRAM 2/23/2007 Jeff Kalvass (Adapted From 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.
TM This document is strictly confidential and proprietary of SMIC. It must not be copied or used for any purpose other than for reference only, and SMIC.
EECS150 Fall 2000 Checkpoint #1 Wire-wrap, SRAM, and FIFO Design by Ramakrishna Gummadi Norm Zhou.
2/24/2006EECS150 Lab Lecture #61 N64 Controller (Project Checkpoint#1) EECS150 Spring2006 – Lab Lecture #6 Philip Godoy Guang Yang 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.
3/24/2006EECS150 Lab Lecture #101 Game Engine EECS150 Spring2006 Lab Lecture #10 Guang Yang.
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
8-5 DRAM ICs High storage capacity Low cost Dominate high-capacity memory application Need “refresh” (main difference between DRAM and SRAM) -- dynamic.
10/31/2008EECS150 Lab Lecture #10 The Waveform Generator EECS150 Fall Lab Lecture #10 Chris Fletcher Adopted from slides designed by Chris Fletcher.
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.
Chapter 3 Internal Memory. Objectives  To describe the types of memory used for the main memory  To discuss about errors and error corrections in the.
University of Tehran 1 Interface Design DRAM Modules Omid Fatemi
Memory Cell Operation.
Field Programmable Port Extender (FPX) 1 Modular Design Techniques for the FPX.
Computer Architecture Lecture 24 Fasih ur Rehman.
Physical Memory and Physical Addressing By Alex Ames.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 2.
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
2/2/07EECS150 Lab Lecture #31 Verilog Synthesis & FSMs EECS150 Spring 2007 – Lab Lecture #3 Brent Mochizuki Greg Gibeling.
Chapter 5 Internal Memory. contents  Semiconductor main memory - organisation - organisation - DRAM and SRAM - DRAM and SRAM - types of ROM - types of.
DDR SDRAM Controller Core DSD Opencores Project 資訊三 B 楊博翔.
Computer Architecture Chapter (5): Internal Memory
RAM RAM - random access memory RAM (pronounced ramm) random access memory, a type of computer memory that can be accessed randomly;
COMP541 Memories II: DRAMs
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
7-5 DRAM ICs High storage capacity Low cost
COMP541 Memories II: DRAMs
SDRAM Arbiter EECS150 Fall Lab Lecture #9 Chen Sun
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
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Digital Logic & Design Dr. Waseem Ikram Lecture 40.
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
Bob Reese Micro II ECE, MSU
(Adapted From Slides by Greg Gibeling)
Presentation transcript:

EECS 150 Spring 2007 Checkpoint 0 - SDRAM 2/23/2007 Jeff Kalvass (Adapted From Greg Gibeling )

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

Motivation 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 SDRAM (Checkpoint #0) Multiport Arbitration

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

What is Checkpoint 0 (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 0? (3)

Theory of SDRAM (1) SDRAM: Synchronous Dynamic RAM Upside 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 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 inst.eecs.berkeley.edu/~cs150/sp07/Documents.p hp#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 Initialization Repeating Read with auto-precharge Write with auto-precharge Auto-Refresh (only if idle for a long time)

SDRAM Controller (2) Goal Abstracts away the details of SDRAM Accepts commands, produces responses Deals with sending address in parts (row and then column) Design Options One large FSM, one small FSM with a counter, man small interacting FSMs, etc.

SDRAM Controller (3) Design for the future! You will need it for your project Tristate data line when reading!

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 (remember Lab 5 checkoff) Bubble-and-arc diagram(s) required Block Diagram highly recommended Timing diagram required Example: read and write

The Checkpoint (2) Construction 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 CP0, get help if you need it! Sign-up sheet for partner/grading