How Memory Works Physical Example 0 Water Tank 1 EmptyFull.

Slides:



Advertisements
Similar presentations
Computer Organization and Architecture
Advertisements

Computer Organization and Architecture
LOGO.  Concept:  Is read-only memory.  Do not lose data when power is lost.  ROM memory is used to produce chips with integrated.
M. Mateen Yaqoob The University of Lahore Spring 2014.
Chapter 12 Memory Organization
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.
ECE 301 – Digital Electronics Memory (Lecture #21)
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.
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
Computer Organization and Architecture
IT Systems Memory EN230-1 Justin Champion C208 –
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.
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
Computer Memory Basic Concepts
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
RAM (random access memory)
Lecture # 13 Memory and Storage
Memory. Random Access Memory Defined What is memory? operating system and other system software that control the usage of the computer equipment application.
Computer Architecture Part III-A: Memory. A Quote on Memory “With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Memory Hierarchy.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Memory A+ Chapter 5 Memory.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
Random access memory.
Memory  Main memory consists of a number of storage locations, each of which is identified by a unique address  The ability of the CPU to identify each.
Chapter 8 Memory Interface
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.2 Instructor: Lin Chen August 2013.
Memory and Storage Dr. Rebhi S. Baraka
Computer Architecture CST 250 MEMORY ARCHITECTURE Prepared by:Omar Hirzallah.
1 Memory Hierarchy The main memory occupies a central position by being able to communicate directly with the CPU and with auxiliary memory devices through.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Memory.
CIM101 : Introduction to computer Lecture 3 Memory.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
CSNB374: Microprocessor Systems Chapter 1: Introduction to Microprocessor.
Computer Memory Storage Decoding Addressing 1. Memories We've Seen SIMM = Single Inline Memory Module DIMM = Dual IMM SODIMM = Small Outline DIMM RAM.
Memory and Storage. Computer Memory Processor registers – Temporary storage locations within the CPU – Examples Instruction register – holds the instruction.
Computer Architecture Lecture 24 Fasih ur Rehman.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
MEMORY ORGANIZATION - Memory hierarchy - Main memory - Auxiliary memory - Cache memory.
COMPURT ORGANAZTION CHAPTER 5. Computer Organization We can divide the parts that make up a computer into 3 subsystems : 1. Central processing unit (CPU).
Excellence Publication Co. Ltd. Volume Volume 1.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Semiconductor Memory Types
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed.
Memory 2. Activity 1 Research / Revise what cache memory is. 5 minutes.
RAM (Memory) Written by Tim Keyser Georgia CTAE Resource Network 2010.
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
Computer Architecture Chapter (5): Internal Memory
CH (5) Computer Organization
Types of RAM (Random Access Memory) Information Technology.
Primary Storage The Triplets – ROM & RAM & Cache.
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
MEMORY.
Types of RAM (Random Access Memory)
Internal Memory.
Module IV Memory Organization.
Memory chips Memory chips have two main properties that determine their application, storage capacity (size) and access time(speed). A memory chip contains.
Module IV Memory Organization.
William Stallings Computer Organization and Architecture 7th Edition
Computer Memory BY- Dinesh Lohiya.
Chapter 4: MEMORY.
AKT211 – CAO 07 – Computer Memory
Presentation transcript:

How Memory Works Physical Example 0 Water Tank 1 EmptyFull

How Memory Works Physical Example 0 Electronic Circuit 1 Electronic Circuit DischargedCharged

Practical Dynamic Memory Use capacitors to store the charge to represent “0” and “1” +++ _ _ _

Practical Static Memory Transistors play the main roles Base Collector Emitter

Memory Memory is the second important component in modern computers Content Address

Memory Memory is the second important component in modern computers Content Address 0000h 0001h 0002h 0003h FFFFh

Memory Related Terms Bit or 1 Byte bits Word bits bytes Doubleword bits bytes Quadword bits bytes

Range of Unsigned Integers Unsigned byte to 255 Unsigned word to KB Unsigned doubleword--0 to 4,294,967,295 0 to GB Unsigned quadword to 18,446,744,073,709,551,615 0 to 18,446,744,073GB

Memory Related Terms RAM -----Random Access Memory ROM -----Read Only Memory PROM--Programmable Read Only Memory EPROM--Erasable PROM EEPROM--Electrical Erasable PROM Dynamic RAM---Need to be refreshed very often (every few milliseconds) Static RAM---Expensive cache memories

Memory Related Terms Memory Module. DATA Bus Address Bus Control Bus

Memory Related Terms Memory Module. DATA Bus Address Bus Control Bus

Memory Related Terms By Packaging Styles SIMM---Single Inline Memory Module DIMM---Dual Inline Memory Module SO-DIMM--Small Outline DIMM

Memory Organization For the same amount of capacity, there are many different layout patterns. Such as, for 1Kbits memory, we can have: a. 1,024 cells and 1,024 addresses, each stores a “0” or “1” b. 128 cells and 128 addresses, each cell has 8bits or I byte c. 1 cell and 1 address, the cell has 1024bits

Number of bits per cell for Some Commercial Computers Burroughs B IBM PC 8 DEC PDP-8 12 IBM DEC PDP CDC CDC Cyber 60

Cache Memory Why do we need cache memory? Main memory is always slower than CPU Main memory is far away from CPU Faster memory can be made but neither economic nor practical Small amount of expensive faster memory made close to the CPU will solve most of the problems

Cache Memory *** The most often used memory words are kept in the cache.*** CPU Main Memory Cache Bus

h-Hit Ratio of Cache Memory h = (k-1)/k where; k --- a word is written or read k times in a short interval and only need to reference the main memory 1 time. 1 - h is called miss ratio mean access time = c + (1 - h)m, where m is the time to reference the main memory

Byte Ordering The big endian and the little endian Address The big endian stores higher digits in the lower bytes & The little endian stores higher digits in higher bytes

Byte Ordering The big endian and the little endian JIM T JIM SMIT S MI H H Address The big endian stores higher digits in the lower bytes & The little endian stores higher digits in higher bytes

Big Endian & Little Endian Address store number h xx xx Big xx xx Little

What wrong with the two systems? There is nothing wrong when each system works alone (they are both internally consistent). However, when transfer information over the network, we have problems. We will also have problems when using a software from one machine to another. There is no easy way to make both compatible without a time consuming conversion.