EE345: Introduction to Microcontrollers Memory

Slides:



Advertisements
Similar presentations
RAM (RANDOM ACCESS MEMORY)
Advertisements

Figure (a) 8 * 8 array (b) 16 * 8 array.
Prith Banerjee ECE C03 Advanced Digital Design Spring 1998
Memory Section 7.2. Types of Memories Definitions – Write: store new information into memory – Read: transfer stored information out of memory Random-Access.
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.
ECE 301 – Digital Electronics Memory (Lecture #21)
Chapter 7 Memory and Programmable Logic
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)
Memory and Programmable Logic
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)
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
ECE 301 – Digital Electronics
CENG 241 Digital Design 1 Lecture 12
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.
Chapter 8 Memory Basics ( 메모리 기초 ) 8-1 Memory 의 정의 8-2 RAM 8-3 SRAM IC ( 집적회로 ) 8-4 SRAM IC 의 배열 8-5 DRAM IC 8-6 DRAM 유형 8-7 SRAM IC 의 배열.
1 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
Chapter 6 Memory and Programmable Logic Devices
Physical Memory and Physical Addressing By: Preeti Mudda Prof: Dr. Sin-Min Lee CS147 Computer Organization and Architecture.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
EKT 221 Digital Electronics II
Memory Basics Chapter 8.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Memory and Programmable Logic
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
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.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 1.
Digital Electronics Chapter 7 Memory and Programmable Logic.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
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 Devices May be classified as: Connections: ROM; Flash; SRAM;
CPEN Digital System Design
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
1 Memory Design EE 208 – Logic Design Chapter 7 Sohaib Majzoub.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 6 – Part 2 Tom Kaminski & Charles.
Memory Devices 1. Memory concepts 2. RAMs 3. ROMs 4. Memory expansion & address decoding applications 5. Magnetic and Optical Storage.
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).
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.
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.
Gunjeet Kaur Dronacharya Group of Institutions. Outline I Random-Access Memory Memory Decoding Error Detection and Correction Read-Only Memory Programmable.
Computer Architecture Chapter (5): Internal Memory
Chapter 7 Memory and Programmable Logic
1 Chap 6. Memory and Programmable Devices Memory & Programmable Logic Device Definitions Memory –a collection of cells capable of storing binary.
CENG 241 Digital Design 1 Lecture 13
Memory and Programmable Logic
Prof. Hsien-Hsin Sean Lee
ECE/CS 352 Digital Systems Fundamentals
Internal Memory.
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.
حافظه و منطق قابل برنامه ریزی
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
حافظه و منطق قابل برنامه ریزی
Digital Logic & Design Dr. Waseem Ikram Lecture 40.
Chapter 7 Memory and Programmable Logic
Memory Basics Chapter 8.
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
Memory Basics Chapter 7.
Jazan University, Jazan KSA
Presentation transcript:

EE345: Introduction to Microcontrollers Memory Prof. Ahmad Abu-El-Haija

Memory Memory device: Device to which binary information is transferred for storage, and from which information is available for processing as needed. Memory unit: is a collection of cells capable of storing a large quantity of binary information. In digital systems, there are two types of memories: Random-Access Memory (RAM) Read-Only Memory (ROM)

Memory 1. Random-Access Memory (RAM): The process of transferring new information into memory is the memory write operation. The process of transferring information out of memory is the memory read operation. 2. Read-Only Memory (ROM): is an example of programmable logic device (PLD). Other examples are: programmable logic array (PLA), programmable array logic (PAL), and field-programmable logic gate array (FPGA).

Random-Access Memory Memory unit  stores binary information in groups of bits called words. Memory word  group of 1’s and 0’s and may represent a number, character(s), instruction, or other binary-coded information. Most computer memories use words that are multiples of 8 bits (byte). 32-bit word  4 bytes

Random-Access Memory Each word in memory is assigned an address 0 up to 2k – 1 (k = # of address lines). memory content

RAM: Write and Read Operations To transfer a new word to be stored into memory: 1. Apply the binary address of the word to address lines. 2. Apply the data bits that must be stored in memory to the data input lines. 3. Activate the write input. To transfer a stored word out of memory: 2. Activate the read input.

RAM: Write and Read Operations EE345 - Introduction to Microcontrollers November 12, 2018

Write Operation in RAM The memory enable switches to the high level and the Read/Write to the low level. The two control signals must be active for at least 50 ns.

Read Operation in RAM The memory enable switches to the high level and the Read/Write to the high level. The memory places the data of the word selected by the address into the output data lines 50 ns from the time the memory enable is activated. EE345 - Introduction to Microcontrollers November 12, 2018

Memory Types Integrated circuit RAM units are available in two possible operating modes: static and dynamic. Static RAM (SRAM) consists of internal latches that store the binary information. The stored information remains valid as long as power is applied to the unit. Dynamic RAM (DRAM) stores the binary information in the form of electric charges on capacitors provided by the MOS transistors. The charge on the capacitors tends to decay with time and the capacitors must be periodically recharged by refreshing of the dynamic memory every few milliseconds. DRAM offers reduced power consumption, large integration of units on chip. SRAM is easier to use and has shorter read and write cycles.

Memory Cell The storage part of the cell is modeled by an SR latch with associated gates. A = 1 in the read/write input provides the read operation by forming a path from the latch to the output. A = 0 in the read/write input provides the write operation by forming a path from the input to latch.

4 x 4 RAM When memory select = 1  one of the four words is selected. READ Operation: the four bits of the selected word go through OR gates to the output terminals. WRITE operation: the data available in the input lines are transferred into the four binary cells of the selected word. The memory cells that are not selected are disabled.

4 x 4 RAM Commercial RAM  thousands of words, with each word 1 - 64 bits. A memory with 2k words of n bits/word requires k address lines that go into a k x 2k decoder. EE345 - Introduction to Microcontrollers November 12, 2018

Two Dimensional Decoding The idea of two-dimensional decoding is to arrange the memory cells in an array that is close to a square. Use two k/2-input decoders instead of one k-input decoder. One decoder performs the row selection and the other the column selection in a two dimensional matrix configuration. Q: How many words can be selected? 404

Two Dimensional Decoding EE345 - Introduction to Microcontrollers November 12, 2018