SlideShare a Scribd company logo
1 of 39
Computer Architecture
UNIT IV MEMORY ORGANIZATION
Introduction - Random Access Memories - Read Only
Memory – Performance Measures – Memory
management requirements - Cache Memory – Virtual
Memory - Magnetic Surface Recording, Optical
Memories, Multilevel memories - Memory Allocation.
• Basic concepts of memory system - Introduction
• Computer memory,
• should have a large,
• facilitate execution of programs with huge amounts of data.
• should be fast, large, and inexpensive.
• but it is impossible to meet all three requirements.
• The maximum size of the memory,
• determined by the addressing scheme.
• For example, a 16-bit computer that generates 16-bit addresses
• addressing up to 216 = 64K (65536) memory locations.
• 32-bit addresses contains up to 232=4G (giga) memory
locations
• The number of locations represents the size of the address space.
• From the system point,
• memory unit as a black box.
• Data transfer through the use of two processor registers,
• (MAR and MDR).
• If MAR is k bits long and MDR is n bits long, then the memory
unit may contain up to 2k addressable locations.
• During a memory cycle, n bits of data are transferred.
• the processor bus has k address lines and n data lines.
• The bus also includes the control lines, Figure.
• Figure Connection of the memory to the processor
• The processor reads data by loading the address into the MAR,
• setting the R / W line to 1.
• The memory responds with data onto the data lines,
• by asserting the MFC signal.
• loads the data into the MDR register.
• The processor writes data by loading the address into MAR and
the data into MDR.
• setting the R/ W line to 0.
• The time between the Read and the MFC signals is referred to as
the memory access time.
• If any location can be accessed for a Read or Write operation
some fixed amount of time that is independent of the location's
address in a memory unit
• random-access memory (RAM).
• cache memory - to reduce the memory access time, small & fast.
• inserted between the larger, slower main memory and processor.
• Virtual memory, increase the size of the physical memory.
• Data are addressed in a virtual address space.
• active space is mapped onto locations in the physical memory.
• Random Access Memory
• Semiconductor memories are available in a wide range of speeds.
• Their cycle times range from l00ns to less than 10 ns.
• Random Access Memory • row of cells - a memory word, and
• cells of a row are connected to a
common line
• referred to as the word line,
• driven by the address decoder
on the chip.
• Sense/Write circuit,
• cells in each column are
connected
• data input/output lines of the
chip are connected.
• during a Read, circuit transmit
the information to the output
data lines.
• During a Write, the circuit
receive input and store it in the
cells.
• Types of RAM
• STATIC MEMORIES – Static RAM
• circuits retain their state as long as power is applied.
• two inverters are cross-connected to form a latch.
• latch is connected to two bit lines by transistors Tl and T2.
• These transistors act as switches.
• the cell is in state 1 if the logic value at X is 1 and Y is 0.
• Read operation
• If the cell is in state 1, the signal on bit line b is high and the
signal on bit line b' is low.
• The opposite is true if the cell is in state 0.
• Write operation
• if Tl and T2 are turned on (closed), it lines b and b' will have high
and low signals, respectively.
• Dynamic RAM
• Static RAMs are fast, high cost because of several transistors.
• So simpler cells - dynamic RAMs (DRAMs).
• Information or charge, maintained for only tens of milliseconds.
• cell consists of a capacitor, C, and a transistor, T.
• to store information, transistor T is turned on.
• Types of DRAMs
• RAS - Row Address Strobe
• CAS - Column Address Strobe
• Asynchronous DRAM
• A 16-megabit DRAM chip, configured as 2M x 8.
• The cells are organized in a 4 K x 4 K array.
• The 4096 cells in each row are divided into 512 groups of 8 data.
• During a Read or a Write operation, the row address is applied
under the control of Row Address Strobe (RAS) input of the chip.
• After the row address is loaded, the column address is loaded into
the column address latch under control of the Column Address
Strobe (CAS) signal.
• The information is decoded and the appropriate group of 8
Sense/Write circuits are selected.
• For a Read operation, the output values of the selected circuits are
transferred to the data lines, D7-0.
• For a Write operation, the information on the D7-0 lines is
transferred to the selected circuits.
• Synchronous DRAM
• The operation is directly synchronized with a clock signal.
• The cell array is the same as in asynchronous DRAMs.
• The address and data connections are buffered by registers.
• The output of each sense amplifier is connected to a latch.
• A Read operation causes the contents of all cells in the selected row to
be loaded into these latches.
• Data held in the latches that correspond to the selected column(s) are
transferred into the data output register.
• Modes of operation
can be selected by
writing control
information into a
mode register.
• http://www.faadooengineers.com/online-
study/post/cse/computer-organization-and-
architecture/496/process-fundamental-concepts

More Related Content

Similar to Unit- 4 Computer Oganization and Architecture

901320_Main Memory.ppt
901320_Main Memory.ppt901320_Main Memory.ppt
901320_Main Memory.pptChandinialla1
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesGauravDaware2
 
Lec 2 digital electronics - random access memory
Lec 2  digital electronics - random access memoryLec 2  digital electronics - random access memory
Lec 2 digital electronics - random access memorypriyankatabhane
 
Memory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer OrganizationMemory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer Organization2022002857mbit
 
Random Access Memory
Random Access Memory Random Access Memory
Random Access Memory rohitladdu
 
Chapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldChapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldPraveen Kumar
 
Memory organization
Memory organizationMemory organization
Memory organizationishapadhy
 
ASTROSAT SSR - 2015-05-15
ASTROSAT SSR - 2015-05-15ASTROSAT SSR - 2015-05-15
ASTROSAT SSR - 2015-05-15Aritra Sarkar
 
Computer architecture memory system
Computer architecture memory systemComputer architecture memory system
Computer architecture memory systemMazin Alwaaly
 
Chapter 8 computer memory system overview
Chapter 8 computer memory system overviewChapter 8 computer memory system overview
Chapter 8 computer memory system overviewAhlamAli20
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)ufaq kk
 

Similar to Unit- 4 Computer Oganization and Architecture (20)

901320_Main Memory.ppt
901320_Main Memory.ppt901320_Main Memory.ppt
901320_Main Memory.ppt
 
Module4
Module4Module4
Module4
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memories
 
COA (Unit_4.pptx)
COA (Unit_4.pptx)COA (Unit_4.pptx)
COA (Unit_4.pptx)
 
Lec 2 digital electronics - random access memory
Lec 2  digital electronics - random access memoryLec 2  digital electronics - random access memory
Lec 2 digital electronics - random access memory
 
Memory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer OrganizationMemory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer Organization
 
Memory elements 1
Memory elements  1Memory elements  1
Memory elements 1
 
Random Access Memory
Random Access Memory Random Access Memory
Random Access Memory
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Ch13.pdf
Ch13.pdfCh13.pdf
Ch13.pdf
 
Chapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldChapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworld
 
Memory organization
Memory organizationMemory organization
Memory organization
 
ASTROSAT SSR - 2015-05-15
ASTROSAT SSR - 2015-05-15ASTROSAT SSR - 2015-05-15
ASTROSAT SSR - 2015-05-15
 
CArcMOOC 07.01 - Memory devices
CArcMOOC 07.01 - Memory devicesCArcMOOC 07.01 - Memory devices
CArcMOOC 07.01 - Memory devices
 
14-7810-20.ppt
14-7810-20.ppt14-7810-20.ppt
14-7810-20.ppt
 
Computer architecture memory system
Computer architecture memory systemComputer architecture memory system
Computer architecture memory system
 
Memory_Interface.pdf
Memory_Interface.pdfMemory_Interface.pdf
Memory_Interface.pdf
 
Chapter 8 computer memory system overview
Chapter 8 computer memory system overviewChapter 8 computer memory system overview
Chapter 8 computer memory system overview
 
Memory systems n
Memory systems nMemory systems n
Memory systems n
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)
 

Recently uploaded

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

Unit- 4 Computer Oganization and Architecture

  • 1. Computer Architecture UNIT IV MEMORY ORGANIZATION Introduction - Random Access Memories - Read Only Memory – Performance Measures – Memory management requirements - Cache Memory – Virtual Memory - Magnetic Surface Recording, Optical Memories, Multilevel memories - Memory Allocation.
  • 2. • Basic concepts of memory system - Introduction • Computer memory, • should have a large, • facilitate execution of programs with huge amounts of data. • should be fast, large, and inexpensive. • but it is impossible to meet all three requirements. • The maximum size of the memory, • determined by the addressing scheme. • For example, a 16-bit computer that generates 16-bit addresses • addressing up to 216 = 64K (65536) memory locations. • 32-bit addresses contains up to 232=4G (giga) memory locations • The number of locations represents the size of the address space.
  • 3. • From the system point, • memory unit as a black box. • Data transfer through the use of two processor registers, • (MAR and MDR). • If MAR is k bits long and MDR is n bits long, then the memory unit may contain up to 2k addressable locations. • During a memory cycle, n bits of data are transferred. • the processor bus has k address lines and n data lines. • The bus also includes the control lines, Figure. • Figure Connection of the memory to the processor
  • 4. • The processor reads data by loading the address into the MAR, • setting the R / W line to 1. • The memory responds with data onto the data lines, • by asserting the MFC signal. • loads the data into the MDR register. • The processor writes data by loading the address into MAR and the data into MDR. • setting the R/ W line to 0.
  • 5. • The time between the Read and the MFC signals is referred to as the memory access time. • If any location can be accessed for a Read or Write operation some fixed amount of time that is independent of the location's address in a memory unit • random-access memory (RAM). • cache memory - to reduce the memory access time, small & fast. • inserted between the larger, slower main memory and processor. • Virtual memory, increase the size of the physical memory. • Data are addressed in a virtual address space. • active space is mapped onto locations in the physical memory.
  • 6. • Random Access Memory • Semiconductor memories are available in a wide range of speeds. • Their cycle times range from l00ns to less than 10 ns.
  • 7. • Random Access Memory • row of cells - a memory word, and • cells of a row are connected to a common line • referred to as the word line, • driven by the address decoder on the chip. • Sense/Write circuit, • cells in each column are connected • data input/output lines of the chip are connected. • during a Read, circuit transmit the information to the output data lines. • During a Write, the circuit receive input and store it in the cells.
  • 9. • STATIC MEMORIES – Static RAM • circuits retain their state as long as power is applied. • two inverters are cross-connected to form a latch. • latch is connected to two bit lines by transistors Tl and T2. • These transistors act as switches. • the cell is in state 1 if the logic value at X is 1 and Y is 0. • Read operation • If the cell is in state 1, the signal on bit line b is high and the signal on bit line b' is low. • The opposite is true if the cell is in state 0. • Write operation • if Tl and T2 are turned on (closed), it lines b and b' will have high and low signals, respectively.
  • 10. • Dynamic RAM • Static RAMs are fast, high cost because of several transistors. • So simpler cells - dynamic RAMs (DRAMs). • Information or charge, maintained for only tens of milliseconds. • cell consists of a capacitor, C, and a transistor, T. • to store information, transistor T is turned on.
  • 11. • Types of DRAMs • RAS - Row Address Strobe • CAS - Column Address Strobe
  • 12. • Asynchronous DRAM • A 16-megabit DRAM chip, configured as 2M x 8. • The cells are organized in a 4 K x 4 K array. • The 4096 cells in each row are divided into 512 groups of 8 data. • During a Read or a Write operation, the row address is applied under the control of Row Address Strobe (RAS) input of the chip.
  • 13. • After the row address is loaded, the column address is loaded into the column address latch under control of the Column Address Strobe (CAS) signal. • The information is decoded and the appropriate group of 8 Sense/Write circuits are selected. • For a Read operation, the output values of the selected circuits are transferred to the data lines, D7-0. • For a Write operation, the information on the D7-0 lines is transferred to the selected circuits.
  • 14. • Synchronous DRAM • The operation is directly synchronized with a clock signal. • The cell array is the same as in asynchronous DRAMs. • The address and data connections are buffered by registers. • The output of each sense amplifier is connected to a latch. • A Read operation causes the contents of all cells in the selected row to be loaded into these latches. • Data held in the latches that correspond to the selected column(s) are transferred into the data output register. • Modes of operation can be selected by writing control information into a mode register.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.