SlideShare a Scribd company logo
General Aspects of Computer Organization
(Lecture-6)
R S Ananda Murthy
Associate Professor and Head
Department of Electrical & Electronics Engineering,
Sri Jayachamarajendra College of Engineering,
Mysore 570 006
R S Ananda Murthy General Aspects of Computer Organization
Memory Access Time, RAM and SAM
The time interval between the application of MEMREAD
signal to the memory and appearance of data on the data
bus of the memory is called Memory Access Time.
A memory unit is called Random Access Memory (RAM) if
the access time is same for all the locations in the memory
unit.
All semiconductor memories are RAM.
A memory unit is called Sequential Access Memory (SAM)
if the access time varies depending upon the address or
the location of data in the unit. Eg. Magnetic disks and
tapes.
In microcontroller-based systems we may not need
external memory if the internal memory in MCU is
sufficient.
R S Ananda Murthy General Aspects of Computer Organization
Types of Semiconductor Memory
ROM A memory chip pre-programmed by the
manufacturer. User cannot alter its contents.
Non-volatile. Also known as masked ROM.
PROM Programmable Read Only Memory can be
programmed only once by the user. Cannot be
reprogrammed. Non-volatile.
EPROM Erasable PROM can be programmed, contents of
all locations are erased by exposing to ultraviolet
light for several minutes (typically in 15-60
minutes), and can be reprogrammed by the user.
Non-volatile.
R S Ananda Murthy General Aspects of Computer Organization
Types of Semiconductor Memory
EEPROM Electrically Erasable PROM can be programmed,
contents of selected locations can be erased
electrically (typically in 1-10 s), and reprogrammed
by the user. Non-volatile.
Flash A type of EEPROM having faster erase cycles as
compared to non-flash EEPROM (< 1s).
Non-volatile. Can be electrically erased and
reprogrammed. Used as program memory in
MCUs.
SR/WM Static Read/Write Memory. Volatile. Each bit is
stored in a flip-flop. Commonly called SRAM.
Cache memory is of this type. Very fast and costly
memory as compared to DRAM. Used as data
memory in MCUs.
R S Ananda Murthy General Aspects of Computer Organization
Types of Semiconductor Memory
NV-R/WM Non-volatile Read/Write Memory. Each bit is
stored in a flip-flop as in SRAM. Commonly called
NV-RAM. Has a built-in lithium-ion battery. When
there is no power supply, because of the battery
backup, contents are retained typically for upto
5-10 years.
DR/WM Dynamic Read/Write Memory. Volatile. In this
each bit is stored as a charge on a capacitor.
Frequent refreshing is required, typically every 6-8
ms, to retain data. Commonly called DRAM.
Cheaper than SRAM. Used as primary memory in
desktop computers and laptops.
R S Ananda Murthy General Aspects of Computer Organization
Memory Images
UV Erasable EPROM DRAM Module
SRAM
R S Ananda Murthy General Aspects of Computer Organization
Memory Related Technical Terms
Width Number of bits per location. Bit organized memory
has 1 bit in each location. Nibble organized
memory has 4 bits in each location. Byte
organized memory has 8-bits in each location.
Most computers have byte organized memory.
Cell Smallest addressable unit in a memory. Also
called a location.
Address Bit pattern used to identify a cell.
Size Indicated as N ×M where N = number of
locations = 2n, where n =number of bits in the
address, M = width of the memory, i.e., number of
bits per location.
Capacity Total number of bits stored in a memory unit
= N ×M
R S Ananda Murthy General Aspects of Computer Organization
Big Endian and Little Endian Byte Ordering
0x90AB12CD900x1000
AB0x1001
120x1002
CD0x1003
Hex Address
CD 0x1000
12 0x1001
AB 0x1002
90 0x1003
Hex Address32-bit Number
Big Endian Little Endian
In big endian computers, the higher significant byte is
stored at lower address. Eg. Motorola processors and Sun
SPARC processors follow big endian storage.
In little endian computers, the lower significant byte is
stored at lower address. Eg. Intel processors and IBM
mainframes follow little endian storage.
In MIPS processors user can select big or little endian
storage.
R S Ananda Murthy General Aspects of Computer Organization
License
This work is licensed under a
Creative Commons Attribution 4.0 International License.
R S Ananda Murthy General Aspects of Computer Organization

More Related Content

PDF
L7 starting-to-use-mcu
PDF
L1 intro-to-mpu-mcu
PDF
L2 types-of-computers
PDF
L4 speeding-up-execution
PDF
L8 understanding-atmega328 p-1
PDF
L5 data-parallel-computers
PDF
L3 instruction-execution-steps
PDF
Input-Output Modules
L7 starting-to-use-mcu
L1 intro-to-mpu-mcu
L2 types-of-computers
L4 speeding-up-execution
L8 understanding-atmega328 p-1
L5 data-parallel-computers
L3 instruction-execution-steps
Input-Output Modules

What's hot (20)

PPTX
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
PPTX
Embedded Platform Architecture - I
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Memory
PPTX
Ec8791 arm 9 processor
PPTX
Von-Neumann machine and IAS architecture
PPTX
Introduction to Microcontroller
PPTX
EC8791 designing with computing platform
PDF
Computer organiztion5
PPTX
[ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals
PPSX
8051 microcontroller and embedded system
PDF
Bca examination 2015 csa
PDF
Micro controller & Micro processor
PPT
Cpu organisation
PPTX
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
PPTX
Input Output - Computer Architecture
PPTX
Input & Output
DOCX
comparison between Microprocessor-Microcontroller
PPT
Introduction to microprocessor
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embeded Hardware
Embedded Platform Architecture - I
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Memory
Ec8791 arm 9 processor
Von-Neumann machine and IAS architecture
Introduction to Microcontroller
EC8791 designing with computing platform
Computer organiztion5
[ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals
8051 microcontroller and embedded system
Bca examination 2015 csa
Micro controller & Micro processor
Cpu organisation
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
Input Output - Computer Architecture
Input & Output
comparison between Microprocessor-Microcontroller
Introduction to microprocessor
Ad

Viewers also liked (20)

PDF
Introduction to-Tex-and-LaTeX
PDF
Transformers
PDF
Lecture-5 : Semiconductor Power Switching Devices-2
PDF
L13 interrupts-in-atmega328 p
PDF
Lecture-3 : More Applications of Power Electronics
PDF
Lecture-7 : Semiconductor Power Switching Devices-4
PDF
Lecture-2 : Applications of Power Electronics
PDF
L14 kb-lcd-interfacing-with-atmega328 p
PDF
L12 c-language-programming-of-atmega328 p
PDF
L9 understanding-atmega328 p-2
PDF
Three phase-circuits
PDF
L16 usart-atmega328 p
PDF
Synchronous generators
PDF
L11 assembly-language-programming-of-atmega328 p
PDF
L10 assembly-language-programming-of-atmega328 p
PDF
L15 timers-counters-in-atmega328 p
PDF
Lecture-4 : Semiconductor Power Switching Devices-1
PDF
Lecture-1 : Introduction to Power Electronics
PDF
Trends in-power-electronics
PDF
Physics ohm’s law
Introduction to-Tex-and-LaTeX
Transformers
Lecture-5 : Semiconductor Power Switching Devices-2
L13 interrupts-in-atmega328 p
Lecture-3 : More Applications of Power Electronics
Lecture-7 : Semiconductor Power Switching Devices-4
Lecture-2 : Applications of Power Electronics
L14 kb-lcd-interfacing-with-atmega328 p
L12 c-language-programming-of-atmega328 p
L9 understanding-atmega328 p-2
Three phase-circuits
L16 usart-atmega328 p
Synchronous generators
L11 assembly-language-programming-of-atmega328 p
L10 assembly-language-programming-of-atmega328 p
L15 timers-counters-in-atmega328 p
Lecture-4 : Semiconductor Power Switching Devices-1
Lecture-1 : Introduction to Power Electronics
Trends in-power-electronics
Physics ohm’s law
Ad

Similar to L6 primary-memory (20)

DOCX
Memory managment
PPTX
Main Memory RAM and ROM
PPT
digital logic circuits, digital component memory unit
PPT
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
DOCX
301378156 design-of-sram-in-verilog
PPT
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
DOCX
8085 interfacing with memory chips
PPT
PPT
Memory Unit For engineering
PPTX
memories.pptx
PPT
Internal memory
PDF
Giao trinh he thong nhung vdk h8
PPTX
Memory and storage devices
PPT
Lincoln khan computer presentation
PPT
Unit v computer, number system
PPT
memory classification
PPTX
CBSE Informatics Practices Chapter-11 Basic Computer Organization
PPTX
what is ROM? Rom(read only memory)
PPTX
Memory.pptx
Memory managment
Main Memory RAM and ROM
digital logic circuits, digital component memory unit
Bca 2nd sem-u-1.7 digital logic circuits, digital component memory unit
301378156 design-of-sram-in-verilog
B.sc cs-ii-u-1.7 digital logic circuits, digital component memory unit
8085 interfacing with memory chips
Memory Unit For engineering
memories.pptx
Internal memory
Giao trinh he thong nhung vdk h8
Memory and storage devices
Lincoln khan computer presentation
Unit v computer, number system
memory classification
CBSE Informatics Practices Chapter-11 Basic Computer Organization
what is ROM? Rom(read only memory)
Memory.pptx

Recently uploaded (20)

PPTX
UNIT - 3 Total quality Management .pptx
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT
introduction to datamining and warehousing
PPT
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
PPT on Performance Review to get promotions
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
86236642-Electric-Loco-Shed.pdf jfkduklg
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPT
Occupational Health and Safety Management System
PDF
III.4.1.2_The_Space_Environment.p pdffdf
UNIT - 3 Total quality Management .pptx
Exploratory_Data_Analysis_Fundamentals.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
introduction to datamining and warehousing
A5_DistSysCh1.ppt_INTRODUCTION TO DISTRIBUTED SYSTEMS
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Categorization of Factors Affecting Classification Algorithms Selection
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Information Storage and Retrieval Techniques Unit III
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPT on Performance Review to get promotions
Safety Seminar civil to be ensured for safe working.
R24 SURVEYING LAB MANUAL for civil enggi
86236642-Electric-Loco-Shed.pdf jfkduklg
Automation-in-Manufacturing-Chapter-Introduction.pdf
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Occupational Health and Safety Management System
III.4.1.2_The_Space_Environment.p pdffdf

L6 primary-memory

  • 1. General Aspects of Computer Organization (Lecture-6) R S Ananda Murthy Associate Professor and Head Department of Electrical & Electronics Engineering, Sri Jayachamarajendra College of Engineering, Mysore 570 006 R S Ananda Murthy General Aspects of Computer Organization
  • 2. Memory Access Time, RAM and SAM The time interval between the application of MEMREAD signal to the memory and appearance of data on the data bus of the memory is called Memory Access Time. A memory unit is called Random Access Memory (RAM) if the access time is same for all the locations in the memory unit. All semiconductor memories are RAM. A memory unit is called Sequential Access Memory (SAM) if the access time varies depending upon the address or the location of data in the unit. Eg. Magnetic disks and tapes. In microcontroller-based systems we may not need external memory if the internal memory in MCU is sufficient. R S Ananda Murthy General Aspects of Computer Organization
  • 3. Types of Semiconductor Memory ROM A memory chip pre-programmed by the manufacturer. User cannot alter its contents. Non-volatile. Also known as masked ROM. PROM Programmable Read Only Memory can be programmed only once by the user. Cannot be reprogrammed. Non-volatile. EPROM Erasable PROM can be programmed, contents of all locations are erased by exposing to ultraviolet light for several minutes (typically in 15-60 minutes), and can be reprogrammed by the user. Non-volatile. R S Ananda Murthy General Aspects of Computer Organization
  • 4. Types of Semiconductor Memory EEPROM Electrically Erasable PROM can be programmed, contents of selected locations can be erased electrically (typically in 1-10 s), and reprogrammed by the user. Non-volatile. Flash A type of EEPROM having faster erase cycles as compared to non-flash EEPROM (< 1s). Non-volatile. Can be electrically erased and reprogrammed. Used as program memory in MCUs. SR/WM Static Read/Write Memory. Volatile. Each bit is stored in a flip-flop. Commonly called SRAM. Cache memory is of this type. Very fast and costly memory as compared to DRAM. Used as data memory in MCUs. R S Ananda Murthy General Aspects of Computer Organization
  • 5. Types of Semiconductor Memory NV-R/WM Non-volatile Read/Write Memory. Each bit is stored in a flip-flop as in SRAM. Commonly called NV-RAM. Has a built-in lithium-ion battery. When there is no power supply, because of the battery backup, contents are retained typically for upto 5-10 years. DR/WM Dynamic Read/Write Memory. Volatile. In this each bit is stored as a charge on a capacitor. Frequent refreshing is required, typically every 6-8 ms, to retain data. Commonly called DRAM. Cheaper than SRAM. Used as primary memory in desktop computers and laptops. R S Ananda Murthy General Aspects of Computer Organization
  • 6. Memory Images UV Erasable EPROM DRAM Module SRAM R S Ananda Murthy General Aspects of Computer Organization
  • 7. Memory Related Technical Terms Width Number of bits per location. Bit organized memory has 1 bit in each location. Nibble organized memory has 4 bits in each location. Byte organized memory has 8-bits in each location. Most computers have byte organized memory. Cell Smallest addressable unit in a memory. Also called a location. Address Bit pattern used to identify a cell. Size Indicated as N ×M where N = number of locations = 2n, where n =number of bits in the address, M = width of the memory, i.e., number of bits per location. Capacity Total number of bits stored in a memory unit = N ×M R S Ananda Murthy General Aspects of Computer Organization
  • 8. Big Endian and Little Endian Byte Ordering 0x90AB12CD900x1000 AB0x1001 120x1002 CD0x1003 Hex Address CD 0x1000 12 0x1001 AB 0x1002 90 0x1003 Hex Address32-bit Number Big Endian Little Endian In big endian computers, the higher significant byte is stored at lower address. Eg. Motorola processors and Sun SPARC processors follow big endian storage. In little endian computers, the lower significant byte is stored at lower address. Eg. Intel processors and IBM mainframes follow little endian storage. In MIPS processors user can select big or little endian storage. R S Ananda Murthy General Aspects of Computer Organization
  • 9. License This work is licensed under a Creative Commons Attribution 4.0 International License. R S Ananda Murthy General Aspects of Computer Organization