CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory

Slides:



Advertisements
Similar presentations
MEMORY popo.
Advertisements

RAM (RANDOM ACCESS MEMORY)
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
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)
CS2100 Computer Organisation
Memory Basics. 8-1 Memory definitions Memory is a collection of cells capable of storing binary information. Two types of memory: –Random-Access Memory.
Random access memory Sequential circuits all depend upon the presence of memory. A flip-flop can store one bit of information. A register can store a single.
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.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Sequential Circuit: Register Introduction N-bit register contains n flip-flop and several logic gates and.
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)
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)
1 Pertemuan 17 Internal Memory: I Matakuliah: T0324 / Arsitektur dan Organisasi Komputer Tahun: 2005 Versi: 1.
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
Chapter 5 Internal Memory
Memory Devices Wen-Hung Liao, Ph.D..
CS1104: Computer Organisation
MODULE 5: Introduction to Memory system
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 6 Memory and Programmable Logic Devices
MEMORY.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Bits and Data Storage. Basic Hardware Units of a Computer.
EKT 221 Digital Electronics II
Memory Basics Chapter 8.
 Memory Memory  Types of Memory Types of Memory  Memory Representation Memory Representation  Random Access Memory Random Access Memory  Read Only.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting.
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.
1 CSCI 2510 Computer Organization Memory System I Organization.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 1.
Memory System Unit-IV 4/24/2017 Unit-4 : Memory System.
CPEN Digital System Design
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
CIM101 : Introduction to computer Lecture 3 Memory.
CPU How It Works. 2 Generic Block Diagram CPU MemoryInputOutput Address Bus Data Bus.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Computer Science 101 Computer Systems Organization.
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.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Storage of Data Instructions and data are held in main memory which is divided into millions of addressable storage.
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,
Memory Devices 1. Memory concepts 2. RAMs 3. ROMs 4. Memory expansion & address decoding applications 5. Magnetic and Optical Storage.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
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.
Unit C-Hardware & Software1 GNVQ Foundation Unit C Bits & Bytes.
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.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
8085 FAQ R.RAJKUMAR DEPT OF CSE SRM UNIVERSITY. FAQ What is a Microprocessor? - Microprocessor is a program-controlled device, which fetches the instructions.
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
CS2100 Computer Organisation
Digital Logic & Design Dr. Waseem Ikram Lecture 39.
Introduction to Computer Architecture
Digital Logic & Design Dr. Waseem Ikram Lecture 40.
Memory Basics Chapter 8.
Memory Basics Chapter 7.
CS149D Elements of Computer Science
AS Level ICT Selection and use of storage requirements, media, and devices: storage and storage capacity Unit 1 Topic a - Selection and use of storage.
Presentation transcript:

CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory

CS1104-8Memory2 Lecture 8 Memory  Basics Basics  Memory Hierarchy Memory Hierarchy  Data Transfer Data Transfer  Memory Unit Memory Unit  Read/Write Operations Read/Write Operations  Memory Cell Memory Cell  Memory Array Memory Array

CS1104-8Memory3 Basics  Memory stores programs and data.  Definitions:  1 byte = 8 bits  1 word: in multiple of bytes; a unit of transfer between main memory and registers, usually size of register.  1 KB (kilo-bytes) = 2 10 bytes; 1 MB (mega-bytes) = 2 20 bytes; 1 GB (giga-bytes) = 2 30 bytes; 1TB (tera-bytes) = 2 40 bytes.  Desirable properties: fast access, large capacity, economical cost, non-volatile.  However, most memory devices do not possess all these properties.

CS1104-8Memory4 Memory Hierarchy registers main memory disk storage magnetic tapes Fast, expensive (small numbers), volatile Slow, cheap (large numbers), non-volatile

CS1104-8Memory5 Data Transfer (1/2) Address k-bit address bus Processor MAR MDR Memory : n-bit data bus Control lines (R/W, etc.) Up to 2 k addressable locations.

CS1104-8Memory6 Data Transfer (2/2)  A memory unit stores binary information in groups of bits called words.  The data consists of n lines (for n-bit words). Data input lines provide the information to be stored (written) into the memory, while data output lines carry the information out (read) from the memory.  The address consists of k lines which specify which word (among the 2 k words available) to be selected for reading or writing.  The control lines Read and Write (usually combined into a single control line Read/Write) specifies the direction of transfer of the data.

CS1104-8Memory7 Memory Unit  Block diagram of a memory unit: Memory unit 2 k words n bits per word k address lines k Read/Write n n n data input lines n data output lines

CS1104-8Memory8 Read/Write Operations (1/2)  The Write operation:  Transfers the address of the desired word to the address lines.  Transfers the data bits (the word) to be stored in memory to the data input lines.  Activates the Write control line (set Read/Write to 0).  The Read operation:  Transfers the address of the desired word to the address lines.  Activates the Read control line (set Read/Write to 1).

CS1104-8Memory9 Read/Write Operations (2/2)  The Read/Write operation:  Two types of RAM: Static and dynamic.  Static RAMs use flip-flops as the memory cells.  Dynamic RAMs use capacitor charges to represent data. Though simpler in circuitry, they have to be constantly refreshed.

CS1104-8Memory10 Memory Cell  A single memory cell of the static RAM has the following logic and block diagrams: RSRS Q Input Select Output Read/Write BCOutputInput Select Read/Write Logic diagramBlock diagram

CS1104-8Memory11 Memory Array (1/4)  Logic construction of a 4 x 3 RAM (with decoder and OR gates):

CS1104-8Memory12 Memory Array (2/4)  An array of RAM chips: memory chips are combined to form larger memory.  A 1K x 8-bit RAM chip: Block diagram of a 1K x 8 RAM chip RAM 1K x 8 DATA (8) ADRS (10) CS RW Input data Address Chip select Read/write (8)Output data 88 10

CS1104-8Memory13 Memory Array (3/4)  4K x 8 RAM. 1K x 8 DATA (8) ADRS (10) CS RW Read/write (8) Output data 1K x 8 DATA (8) ADRS (10) CS RW (8) 1K x 8 DATA (8) ADRS (10) CS RW (8) 1K x 8 DATA (8) ADRS (10) CS RW (8) 0– – – – 4095 Input data 8 lines x4 decoder Lines 0 – S0S1S0S1 Address

CS1104-8Memory14 Memory Array (4/4) Another example: Organization of a 2M  32 memory module using 512K  8 static memory chips. Chip select 512K x 8 memory chip 19-bit address 8-bit data input/output

CS1104-8Memory15 End of file