Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
11 views
Memory Hierarchy
It is Memory Hierarchy for CO for Delhi Skill And Entrepreneurship University
Uploaded by
Naman Malik
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Memory Hierarchy For Later
Download
Save
Save Memory Hierarchy For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
11 views
Memory Hierarchy
It is Memory Hierarchy for CO for Delhi Skill And Entrepreneurship University
Uploaded by
Naman Malik
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Memory Hierarchy For Later
Carousel Previous
Carousel Next
Save
Save Memory Hierarchy For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 18
Search
Fullscreen
Memory Hierarchy cess ime (Inereasing) bytes Storege lincreasing) Flash drive.usb TB > Magnetic Tapes, PBRegister - It is the fastest and closest to the CPU. It stores very less data. cache Memory- It is faster than Ram or main memory but slower than registers. it store. more data as compared to registers. (SRAM) Main Memory (DRAM) - The memory that communicates directly with the CPU is called main memory Auxiliary Memory - Devices that provide backup storage are called auxiliary memory. For Example - magnetic diskes and tapes. Virtual Memory- It is a concept that helps us to use main memory more efficiently. It is used in large computer system that pernit the user to construct programs as though a large memory space wew available, equal to the totality of auxiliary memory.Main Memory The main memory is the central storage unit in a computer system. It is used to store programs and data during the computer operation. The Principal technology used for main memory is based on semiconductors integrated circuits. RAM Chips are avilable in two possible operating modes, Static and dynamic. ARAM chip is better suited for communicating with the CPU if it has one or more control inputs that select the chip when needed. Another common feature is a bidirectional bus that allows the transfer of data from memory to CPU during read operation, or from CPU to memory during write operation. A Bidirectional Bus can be constructed with a Three State Buffer.Chip Select 1 —— Chip Select 2 —— Read Write &, RD WR — 7 Bit Address | PD 128X8 RAM <— RAM 8 Bit Bidirectional Data BusChip Select 1 Ic 5 J Chip Select 2 —j == CS, -612x8 8 Bit Data Bus 9 Bit Address + Ps M DaShe west common snilary rénory vis oa ere maguche diy Sel pet + Beas time: rye ewerage Aime vepired to r00ch ¢ a stosap Location Py nemary and bain ie erly “a eollik) = the acetee Hine ‘ + Im tectremachenical davies, with moving ports ¢ Sch ot dike ond Hepes, He eeseer ne onlay of a ok hme rewired ty postin the rend—urite Band + = becakion and a trot fer time reid & Wee he dae fon he cli Sh amr d ha spaeifich —runmbin of Chawactors oe ool prpprrerpere Auxilary Memory Padh Lo AESE HI Kutto Sab kuch typed nhi milegaj 2 + trewony Siam oye at op Hysieal wire Virtual Memory 2s | : (al semong] a: + viwteal memeny 4 9 covenpt gal te sone : | lege emmpater cuties Hat permit ea ular be : Gateat programs os thugh = Aan timerg ; sre om eat al el o e * cremeny si im a ttt Sdven sddnee end_ntmey_ spn evi tir © usin of table it tala be mah Fs cok bree oad da vefereneed by He CPU goes Pate eg nie mag Ke stove a nets Heong am adver mapping fem virtual adhe, TT ai mening, © wo ton Plgsical ddrebe mau emery oT TS tl HS parm Padh Lo pee ins | AESE HI Dr Paysicnl Mare A. advert jim monn womeny Kutto called a plysital adders / es. ot rhe sat of virtual adresses Sab kuch typed nhi 2 i elled saver cpace mile a 2 + manor See: sue cat of phycieal olérem g 0 ee eeie We) Weekes Page “Tahle age (rap Tobe Papel enon LO cok eg am inden inte fede akidh contains base MPA Pend, Fee De phgsien memory. + pate OFFA Combinah vite ve allnate te five, Jot ented) a pigeeal emery event Gat we memeey ol epee eile ia ett ae main z : i one sromarg: 2h totais bie t vohoe, eae tHE ig stl ioe. Kumiliow, ce a de faked Meg: wt Replaiineente peer Tae of TH West Commer PME Teplactmat” gosto ae, ME fgt i Brats eot (FIFO) Ae REND weontly wes CLD Lp ite wae’ golds ta eye that teas bate te Somey toa longest Hime FLAY tue least reson tly tenia OM Pape 1a "yemovelPadh Lo AESE HI Kutto Sab kuch typed nhi milega - Saeed) “Twe Final poge size Segmentation waxed in the. Virtual memows. system Gane, corinc o 2 tein tht B elt with — respi +2 Progrom size ant log “4 legi veld dime Lis oxy aa ; maser tit with a acne ee coat of caqwmentS ave % cubvoutine 5 dates a teble of symbols, eps PEP PheooeAssociative Memory SIRT SAGAR INST 'TUTE OF RESEARCH AND TECHNOLOGY, BHOPAL. MN SCIENCE AND ENGINEERING bhopalac.inAssociative Memory Video link -ht (9 youtu.be/bpipcaLotRw Hatch eagerCache memory and it's mapping technique The fundamental idea of cache organization is that by keeping the most frequently accessed instruction abd data in the fast cache memory, the average memory access time will approach the access time of the cache. When the CPU needs to access memory, the cache is examined. If the word is found in the cache, it is read from fast cache memory. If the word addressed by the CPU is not found in the cache, the main memory is accesed to read the word. Hit Ratio :- It is the qauntity that is frequently used to check performance of memory. when the CPU refers to memory and find the word in cache, it is said to be hit. If itis not found in memory, then it is said to be miss. The ratio of the number of hits divided by total number of CPU references to memory is the hit ratio. miss ratio (opposite of hit ratio)The Transfer of data from main memory to cache memory is referred to as mapping process. Types of Mapping Technique:- Associative mapping Direct mapping Set-Associative mapping Main Memory 32K X 12 cache Memory 12x 12Associative Mapping The associative mapping uses an associative memory. It stores the data and address of memory word. This permits any location in cache to store any word from main memory. cp addvere CIS bits) [Regement_vequter] ee LELEGLbEELELI ACPU address of 15 bit is placed in the argument register and the associative memory is searched for a match. If the address is found, the corresponding 12 Bit data is read and sent to the CPU. If No match occurs, the main memory is accessed.Direct Mapping Associative memories are expensive as compared to RAM because of the added logic. In Direct mapping cache organization, the n-bit address is used to access the main memory and k- bit index to access the cache.Se Se OO a o st -emociative Mapping: . . Tat is em improvement over the svect - mapping \ ovgowitakn in that aach word of cada On store twp px mere Words of momory under Yao seme Prin addray. | P sEacdh dala werd a stored. together with its pop Te snuimlber of tog — dota itemg dm One Word of yade 4 sad te fon So sek: b , +» qpndrah, a sot-omoutative cathe of sot Size i ttl accommodate K words of Moin wntanony Yam aada wel f coche - wee ¥ Inte Te A ote Teg Datalink :- https://www.gatevidyalay.com/tag/2-way-set-associative-mapping/ Problem no 3 2-way set associative implementation dekhlena ek bari Compare a 2-way cache set ‘Address (m bits) associative cache witha = L_es_[ woe To sict fully-associative cache? ined Number of sets in Only 2 comparators needed cache Cache tags are a little = Number of lines in shorter too cache / Set size Hie ... deciding replacement?
You might also like
Cache Memory Presentation Slides
PDF
No ratings yet
Cache Memory Presentation Slides
25 pages
Associative Memory
PDF
No ratings yet
Associative Memory
31 pages
COA Unit 4
PDF
No ratings yet
COA Unit 4
18 pages
Memory Organization Assignment
PDF
No ratings yet
Memory Organization Assignment
61 pages
Memory Organization
PDF
No ratings yet
Memory Organization
30 pages
Coa - Memory Organization
PDF
50% (2)
Coa - Memory Organization
31 pages
Memory Organization: Dr. Bernard Chen PH.D
PDF
No ratings yet
Memory Organization: Dr. Bernard Chen PH.D
77 pages
Memory Organization
PDF
No ratings yet
Memory Organization
29 pages
CSC-347 Hardware Organization & Maintenance Sec-C Group Name-Matrix Topic: Cache Memory
PDF
No ratings yet
CSC-347 Hardware Organization & Maintenance Sec-C Group Name-Matrix Topic: Cache Memory
19 pages
Chapter 7
PDF
No ratings yet
Chapter 7
39 pages
Lecture 4 Characteristics of Memory Systems
PDF
No ratings yet
Lecture 4 Characteristics of Memory Systems
36 pages
CH7- Memory Organization
PDF
No ratings yet
CH7- Memory Organization
38 pages
Cache memory,Virtual memory and Auxiliary memory notes
PDF
No ratings yet
Cache memory,Virtual memory and Auxiliary memory notes
42 pages
Unit-2_CDA_DrManojY
PDF
No ratings yet
Unit-2_CDA_DrManojY
81 pages
Co R20 - Unit-5
PDF
No ratings yet
Co R20 - Unit-5
17 pages
COA Chapter Seven
PDF
No ratings yet
COA Chapter Seven
40 pages
Unit 4 Coa - Memory-1
PDF
No ratings yet
Unit 4 Coa - Memory-1
12 pages
Unit 5-Memory Organization
PDF
No ratings yet
Unit 5-Memory Organization
34 pages
Cache Memory: Prepared by - : Manan Mewada (TA, IET)
PDF
No ratings yet
Cache Memory: Prepared by - : Manan Mewada (TA, IET)
19 pages
Cache Memory
PDF
No ratings yet
Cache Memory
4 pages
BiD 05
PDF
No ratings yet
BiD 05
97 pages
Lec 23 CAOCache Memory
PDF
No ratings yet
Lec 23 CAOCache Memory
11 pages
Module 5
PDF
No ratings yet
Module 5
30 pages
CSE 209 For Final Exam
PDF
No ratings yet
CSE 209 For Final Exam
13 pages
Unit III Memory Hierarchy
PDF
No ratings yet
Unit III Memory Hierarchy
21 pages
Dr. Vinay Trivedi_Lec23-Rest of the Notes_UCS303_Dr. Vinay K Trivedi
PDF
No ratings yet
Dr. Vinay Trivedi_Lec23-Rest of the Notes_UCS303_Dr. Vinay K Trivedi
14 pages
CA Notes
PDF
No ratings yet
CA Notes
40 pages
Presentation 5421 Content Document 20250306025428PM
PDF
No ratings yet
Presentation 5421 Content Document 20250306025428PM
47 pages
Coa Blog
PDF
No ratings yet
Coa Blog
17 pages
Unit 4 Memory Hierarchy
PDF
No ratings yet
Unit 4 Memory Hierarchy
66 pages
Chapter 04
PDF
No ratings yet
Chapter 04
8 pages
Lectures On Memory Organization: Unit 9
PDF
No ratings yet
Lectures On Memory Organization: Unit 9
32 pages
Cache Memory,Virtual Memory and Auxiliary Memory Ppts Lecture (3)
PDF
No ratings yet
Cache Memory,Virtual Memory and Auxiliary Memory Ppts Lecture (3)
42 pages
DBMS Notes 1
PDF
No ratings yet
DBMS Notes 1
22 pages
Chapter 5 Memory Organization
PDF
No ratings yet
Chapter 5 Memory Organization
75 pages
split_presentations_1 (2)
PDF
No ratings yet
split_presentations_1 (2)
6 pages
Chapter 7
PDF
No ratings yet
Chapter 7
43 pages
Unit - 5 DPCO
PDF
No ratings yet
Unit - 5 DPCO
35 pages
COA Chapter 7
PDF
No ratings yet
COA Chapter 7
36 pages
Unit 5 Dpco
PDF
No ratings yet
Unit 5 Dpco
20 pages
Unit 5
PDF
No ratings yet
Unit 5
21 pages
Cache Memory in Computer Organizatin
PDF
No ratings yet
Cache Memory in Computer Organizatin
12 pages
Memory
PDF
No ratings yet
Memory
95 pages
CH05
PDF
No ratings yet
CH05
56 pages
CCE 131-Lecture 2
PDF
No ratings yet
CCE 131-Lecture 2
18 pages
Computer Organization and Architecture: Cache Memory
PDF
100% (1)
Computer Organization and Architecture: Cache Memory
57 pages
Memory Organization: CS 147 Presented By: Duong Pham
PDF
No ratings yet
Memory Organization: CS 147 Presented By: Duong Pham
28 pages
Lecture 04 IS064
PDF
No ratings yet
Lecture 04 IS064
41 pages
William Stallings Computer Organization and Architecture: Internal Memory
PDF
No ratings yet
William Stallings Computer Organization and Architecture: Internal Memory
60 pages
Coa Notes
PDF
No ratings yet
Coa Notes
9 pages
Characteristics Location Capacity Unit of Transfer Access Method Performance Physical Type Physical Characteristics Organisation
PDF
No ratings yet
Characteristics Location Capacity Unit of Transfer Access Method Performance Physical Type Physical Characteristics Organisation
53 pages
Characteristics Location Capacity Unit of Transfer Access Method Performance Physical Type Physical Characteristics Organisation
PDF
No ratings yet
Characteristics Location Capacity Unit of Transfer Access Method Performance Physical Type Physical Characteristics Organisation
53 pages
Computer Architecture: Memory Hierarchy Design
PDF
No ratings yet
Computer Architecture: Memory Hierarchy Design
60 pages
Assignment Arbaz
PDF
No ratings yet
Assignment Arbaz
11 pages
Characteristics Location Capacity Unit of Transfer Access Method Performance Physical Type Physical Characteristics Organisation
PDF
No ratings yet
Characteristics Location Capacity Unit of Transfer Access Method Performance Physical Type Physical Characteristics Organisation
53 pages
EC 5001 - Memory 1
PDF
No ratings yet
EC 5001 - Memory 1
56 pages
Cache - Memory - Concept
PDF
No ratings yet
Cache - Memory - Concept
73 pages
BCS302 Unit-4 (Part-I)
PDF
No ratings yet
BCS302 Unit-4 (Part-I)
8 pages
COA Chapter 5-7
PDF
No ratings yet
COA Chapter 5-7
26 pages