SOC Consortium Course Material Memory Controller National Taiwan University Adopted from National Taiwan University SoC Design Laboratory.

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
Computer Organization and Architecture
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)
Microprocessor System Design. Outline Address decoding Chip select Memory configurations.
The ARM7TDMI Hardware Architecture
COMP3221 lec31-mem-bus-I.1 Saeid Nooshabadi COMP 3221 Microprocessors and Embedded Systems Lectures 31: Memory and Bus Organisation - I
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.
Chapter 5 Internal Memory
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
Chapter 4 Computer Memory
Objectives Overview Discovering Computers 2014: Chapter 6 See Page 248
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.
6. The CPU and Memory Chapt. 7.
NS Training Hardware. Memory Interface Support for SDRAM, asynchronous SRAM, ROM, asynchronous flash and Micron synchronous flash Support for 8,
Microcomputer & Interfacing Lecture 2
University of Tehran 1 Microprocessor System Design Omid Fatemi Memory Interfacing
EKT 221 Digital Electronics II
Chapter 6 Inside Computers and Mobile Devices Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Computer Processing of Data
Discovering Computers 2012: Chapter 4
EKT 221 : Digital 2 Memory Basics
SOC Consortium Course Material ASIC Logic Speaker: Lung-Hao Chang 張龍豪 Advisor: Prof. Andy Wu 吳安宇教授 May 21, 2003 National Taiwan University Adopted from.
Digital Electronics Chapter 7 Memory and Programmable Logic.
Main Memory CS448.
Memory Devices May be classified as: Connections: ROM; Flash; SRAM;
+ 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.
S&IP Consortium Course Material Standard I/O and Core Peripherals Speaker: Tian-Sheuan Chang July, 2004.
A+ Guide to Hardware, 4e Chapter 6 Upgrading Memory.
SOC Consortium Course Material Core Peripherals National Taiwan University Adopted from National Chiao-Tung University IP Core Design.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 7 Upgrading Memory.
SOC Consortium Course Material Debugging and Evaluation Speaker: Yung-Tsung Wang InstructorProf. Tsung-Han Tsai.
ECE 424 Embedded Systems Design Lecture 5: Platform Architecture Ning Weng.
Computer Architecture Lecture 24 Fasih ur Rehman.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 7 Upgrading Memory.
Multilevel Caches Microprocessors are getting faster and including a small high speed cache on the same chip.
SOC Consortium Course Material Standard IO National Taiwan University Adopted from National Taiwan University SoC Design Laboratory.
Semiconductor Memory Types
Speaker: Yu-Ju Cho 卓余儒 Advisor: Prof. Andy Wu 吳安宇教授
Wnopp Memory device Introduction n Memory Cell n Memory Word n Byte n Capacity n Address n Read Operation n Write Operation n Access Time n Volatile.
ECE 353 Introduction to Microprocessor Systems Michael J. Schulte Week 8.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
Memory 2 ©Paul Godin Created March 2008 Memory 2.1.
Computer Architecture Chapter (5): Internal Memory
MICROPROCESSOR BASED SYSTEM DESIGN BY PROF. DR. B. S. CHOWDHRY Lecture #
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Memory Interfacing.
Interfacing 64Kb EPROM with 8085
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
William Stallings Computer Organization and Architecture 8th Edition
EE345: Introduction to Microcontrollers Memory
AT91 Memory Interface This training module describes the External Bus Interface (EBI), which generatesthe signals that control the access to the external.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
May 2006 Saeid Nooshabadi ELEC2041 Microprocessors and Interfacing Lectures 30: Memory and Bus Organisation - I
Speaker: Tian-Sheuan Chang July, 2004
MICROPROCESSOR MEMORY ORGANIZATION
Sequential Logic.
Introduction To Computing BBA & MBA
William Stallings Computer Organization and Architecture 8th Edition
Modified from notes by Saeid Nooshabadi
Presentation transcript:

SOC Consortium Course Material Memory Controller National Taiwan University Adopted from National Taiwan University SoC Design Laboratory

SOC Consortium Course Material 1 Goal of This Lab  Familiarize with ARM memory interface  Know ARM Integrator memory map well  How to access memory

SOC Consortium Course Material 2 Outline  The ARM Memory Interface [1]  ARM Integrator System Memory Map [2] [3]

SOC Consortium Course Material 3 Simple Memory Interface  The simplest form of memory interface is suitable for operation with ROM and static RAM (SRAM).  8-bit memory types, so four parts of each type are required to form a 32-bit memory.  Since the bottom two address lines, A[1:0], are used for byte selection, they are used by the control logic and not connected to the memory.  Although the ARM performs reads of both bytes and words, the memory system can ignore the difference and always simply supply a word quantity.

SOC Consortium Course Material 4 Basic ARM Memory System

SOC Consortium Course Material 5 Control Logic  It decides when to activate the RAM and when to activate the ROM –A[31] = 0 => access ROM –A[31] = 1 => access RAM  It controls the byte write enables during a write operation –Word write / half-word write / byte write  It ensures that the data is ready before the processor continues

SOC Consortium Course Material 6 Simple ARM Memory System Control Logic Write Read

SOC Consortium Course Material 7 Transfer Widths A[31]r/wmas[1]mas[0]A[1]A[0]Output signal 00××××ROMoe 01××××None 10××××RAMoe 1100×× None 1111×× 1110×× Word (RAMwe0, RAMwe1, RAMwe2, RAMwe3) 11010×Half word (RAMwe0, RAMwe1) 11011×Half word (RAMwe2, RAMwe3) 11××00Byte (RAMwe0) 11××01Byte (RAMwe1) 11××10Byte (RAMwe2) 11××11Byte (RAMwe3) Write Read

SOC Consortium Course Material 8 DRAM memory organization ras: row address strobecas: column address strobe

SOC Consortium Course Material 9 Outline  The ARM Memory Interface [1]  ARM Integrator System Memory Map [2][3]

SOC Consortium Course Material 10 Core Module Memory Map  The nMBDET signal is permanently grounded by the motherboard so that it is pulled LOW on the core module when it is fitted.  The REMAP bit only has effect if the core module is attached to a motherboard (nMBDET = 0).

SOC Consortium Course Material 11 Core Module Memory Map (cont.) 256MB 256KB 8MB

SOC Consortium Course Material 12 Core Module Alias Address

SOC Consortium Course Material 13 Memory Map for Core Module  REMAP = 0: Default following reset. Accesses to addresses 0x to 0x0003FFFF –S1[1] = ON: the access is to boot ROM –S1[1] = OFF: the access is to flash  REMAP = 1: Accesses to address 0x to 0x0003FFFF

SOC Consortium Course Material 14 System Memory Map (1/2)

SOC Consortium Course Material 15 System Memory Map (2/2)

SOC Consortium Course Material 16 References [1] [1] ARM System-on-Chip Architecture by S.Furber, Addison Wesley Longman: ISBN [2] DUI0098B_AP_UG.pdf. [3] DUI0126B_CM7TDMI_UG.pdf

SOC Consortium Course Material 17 Experiment Requirements  Try to compile the program of this experiment by using Thumb code to get the same result. Modify the memory usage if needed.  Make a table to show the statistics (memory and cycle requirement) about ARM codes and Thumb codes and compare their difference.