Subject Name: Embedded system Design Subject Code: 10EC74

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
Chapter 10. Memory, CPLDs, and FPGAs
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.
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.
Computer Organization and Architecture
Chapter 5 Internal Memory
Memory Devices Wen-Hung Liao, Ph.D..
Memory Key component of a computer system is its memory system to store programs and data. ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides12.ppt.
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.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.
Intro to Cache Memory By david hsu. Examples of memory Paper and writing, books Neon signs Cassettes and other magnetic tape memory Abacus Art material.
Chapter 4 ระบบหน่วยความจำ The Memory System
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Memory Hierarchy.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Introduction to Computing: Lecture 4
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
ECE 456 Computer Architecture
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
© Banff and Buchan College 2007 DH2T 34 Computer Architecture 1 LO2 Lesson One Memory.
Chapter 5 Internal Memory. Semiconductor Memory Types.
Chapter 8 Memory Interface
Internal Memory.
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
CIM101 : Introduction to computer Lecture 3 Memory.
Memory Cell Operation.
Primary Storage Primary storage is the storage that is directly available to the CPU. It is also known as: Main Memory Main Memory Direct Access Storage.
Computer Architecture Lecture 24 Fasih ur Rehman.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Semiconductor Memory Types
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
COMP211 Computer Logic Design
Internal Memory.
Module IV Memory Organization.
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
Electronics Technology
COMPUTER ORGANISATION AND ARCHITECTURE
William Stallings Computer Organization and Architecture 8th Edition
Module IV Memory Organization.
Computer Architecture
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
TOPIC : Memory Classification
Introduction to Computing Chapter 0
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4: MEMORY.
Chapter 4 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition
Semiconductor memories are classified in different ways. A distinction is made between read-only (ROM) and read-write (RWM) memories. The contents RWMs.
Presentation transcript:

Subject Name: Embedded system Design Subject Code: 10EC74 Prepared By: Aswini N , M N Praphul & Navya Vipin (TE) Department: ECE Date: 10/11/14 11/14/2018

UNIT 3 11/14/2018

Dynamic RAM Overview, Chip Organization A Memory Interface in Detail TOPICS COVERED Classifying Memory Memory Interface ROM Overview Static RAM Overview Dynamic RAM Overview, Chip Organization A Memory Interface in Detail SRAM Design, DRAM Design DRAM Memory Interface The Memory Map, Memory Subsystem Architecture Basic Concepts of Caching Designing a Cache System, Dynamic Memory Allocation 11/14/2018

MEMORY MANAGEMENT In larger embedded applications there is a need of external memory apart from onboard memory. The memory subsystem is the place within an embedded system where instructions and data are stored. In embedded applications memory management is concerned with:- Static and dynamic allocation of memory. Avoiding dangerous allocation and minimizing/reducing overhead. Avoid deadlock situations. 11/14/2018

Internal Memory Types 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 memory Not possible Masks Nonvolatile Programmable ROM (PROM) Erasable PROM (EPROM) Read-mostly memory UV light, chip-level Electrically Erasable PROM (EEPROM) Flash memory Electrically, block-level

MEMORY CLASSIFICATION Two general categories of memory RAM- Random Access Memory ROM- Read Only Memory 11/14/2018

MEMORY CLASSIFICATION RAM SRAM DRAM ROM PROM EPROM EEPROM 11/14/2018

MEMORY TYPES RAM- Random access memory DRAM- Dynamic RAM Any location in memory is visible for immediate access. Read and Write operation are comparable. Organized as bits, bytes or words. DRAM- Dynamic RAM Dynamic random-access memory (DRAM) is a type of random-access memory that stores each bit of data in a separate capacitor within an integrated circuit. The capacitor can be either charged or discharged. 11/14/2018

MEMORY TYPES SRAM- Static RAM The stored charge will be leaked if it is not repeatedly refreshed. Used for larger memory systems. I/O is asynchronous wrt external clocks. SRAM- Static RAM Complex memory cell design Uses latch mechanism. No need of Refreshment. Used for higher speed memory systems since faster than DRAM. I/O is synchronous. 11/14/2018

MEMORY TYPES- SRAM 11/14/2018

MEMORY TYPES ROM- Read only Memory PROM- Programmable ROM ROM can only be read. Read operation is faster than Programming the ROM(writing). Organized as bits, bytes or words. PROM- Programmable ROM The device can be programmed one time using a programming device. EPROM- Erasable PROM ROM can be re programmed by erasing the program by keeping the device under uv light for specific time. 11/14/2018

MEMORY TYPES EEPROM- Electrically Erasable PROM FLASH Memory Here for program is erased electrically via a programming device. FLASH Memory Flash memory was developed from EEPROM. The advantage is that it can be reprogrammed in situ ( No need to remove the device from the circuit.) 11/14/2018

A GENERAL MEMORY INTERFACE Array as a simple Memory Model Index 1234 1 3456 2 FACE 3 DEAD 4 EAD3 5 BADDE 6 FEAD 7 7654 Data 11/14/2018

A General Memory Interface Memory Interface diagram showing Address, Data and Control Lines. 11/14/2018

Terminologies used in memory 11/14/2018

ROM Architecture Along with Address and Data lines, ROM requires a chip select. 11/14/2018

ROM Read Operation 11/14/2018

Memory Mapping 11/14/2018

SRAM Design- An Example System Specification- SRAM System that can store 4K X 16 bit words. Assumption 8 Address lines and 8 Data Lines available. Requirement- For 4KX 16 bit memory we need 12 Address lines and 16 data lines. Additional Requirements- Chip select (CS) and Output Enable (OE). 11/14/2018

11/14/2018

SRAM Write 11/14/2018

SRAM Read 11/14/2018

DRAM DESIGN/MEMORY INTERFACE Assumption- 4M word memory chip organized as 4K rows and 1K columns. One row refreshed at a time and refreshment management done outside the chip. Need of 12 row address bits and 10 column address bits. Utilize a two phase clocking scheme derived from 50MHz source. 11/14/2018

DRAM DESIGN/MEMORY INTERFACE Refresh Interval Timer Refresh Interval 128 256 9 bit Binary counter 25MHz Refresh active 11/14/2018

Memory Subsystem Architecture 11/14/2018

Concept of Caching  CPU cache is a cache used by the central processing unit (CPU) of a computer to reduce the average time to access data from the main memory. The cache is a smaller, faster memory which stores copies of the data from frequently used main memory locations. Most CPUs have different independent caches, including instruction and data caches, where the data cache is usually organized as a hierarchy of more cache levels (L1, L2 etc.) 11/14/2018

Concept of Caching 11/14/2018

Cache Systems –Direct Mapping Each location in RAM has one specific place in cache where the data will be held. 11/14/2018

11/14/2018

Associative Cache mapping 11/14/2018

Memory Allocation Static Memory Allocation – Initially we will be alloting a specific memory. The program knows the actual data location. Dynamic Memory Allocation- Memory is assigned during run time. 11/14/2018