SlideShare a Scribd company logo
Associative
Memory
PRITHEESH G
23MU37
Introduction
•To search particular data in memory, data is read from certain
address and compared if the match is not found content of the
next address is accessed and compared.
•This goes on until required data is found. The number of access
depend on the location of data and efficiency of searching
algorithm.
•This searching time can be reduced if data is searched on the basis
of content.
Introduction
•A memory unit accessed by content is called associative memory or
content addressable memory(CAM) or associative storage or
associative array.
•This type of memory is accessed simultaneously and in parallel on
the basis of data content.
•Memory is capable of finding empty unused location to store the
word.
Associative Memory Organization
Associative Memory Organization
Associative Memory is organized in such a way.
Argument register(A): It contains the word to be searched. It
has n bits(one for each bit of the word).
Key Register(K):This specifies which part of the argument word
needs to be compared with words in memory. If all bits in
register are 1, The entire word should be compared. Otherwise,
only the bits having k-bit set to 1 will be compared.
Associative Memory Organization
Associative memory array: It contains the words which are to be
compared with the argument word.
Match Register(M):
It has m bits, one bit corresponding to each word in the memory array.
After the matching process, the bits corresponding to matching words
in match register are set to 1.
Associative Memory Organization
•Key register provide the mask for choosing the particular field in A
register.
•The entire content of A register is compared if key register content all 1.
•Otherwise only bit that have 1 in key register are compared.
•If the compared data is matched corresponding bits in the match
register are set.
Associative Memory Organization
Reading is accomplished by sequential access in memory for those
words whose bit are set.
Match Logic
Associative Memory Organization
Match Logic
Match Logic
Match Logic For One Word
Associative Memory Organization
Write operation:
•If the entire memory is loaded with new information at once
prior to search operation then writing can be done by
addressing each location in sequence.
•Tag register contain as many bits as there are words in memory.
•It contain 1 for active word and 0 for inactive word.
•If the word is to be inserted, tag register is scanned until 0 is
found and word is written at that position and bit is change to 1.
Associative Memory Organization
Read Operation:
•When a word is to be read from an associative memory, the contents of
the word, or a part of the word is specified.
•If more than one word match with the content, all the matched words
will have 1 in the corresponding bit position in match register.
•Matched words are then read in sequence by applying a read signal to
each word line.
•In most application, the associative memory stores a table with no two
identical items under a given key.
Associative memory Architecture
•It is a hardware search engines, a special type of computer
memory used in certain very high searching applications.
•Composed of conventional semiconductor memory
(usually SRAM) with added comparison circuitry that enable a
search operation to complete in a single clock cycle.
•SRAM is a type of semiconductor memory that
uses bistable latching circuitry to store each bit.
Types of Associative memory
There are two types of Associative memory, which both are used in
different conditions.
Auto-associative
Auto-associative memory takes back(retrieves) a previously stored
pattern that most closely resembles the current pattern.
Types of Associative memory
Hetero-associative
•Hetero-associative memory, the retrieved pattern is in general,
different from the input pattern not only in content but possibly also in
type and format.
•Neutral networks are used to implement these associative memory
models called NAM (Neutral associative memory).
Advantages of Associative memory
•This is suitable for parallel searches. It is also used where search
time needs to be short.
•Associative memory is often used to speed up databases, in neural
networks and in the page tables used by the virtual memory of
modern computers.
•CAM-design challenge is to reduce power consumption associated
with the large amount of parallel active circuitry, without
sacrificing speed or memory density.
Disadvantages of Associative memory
•An associative memory is more expensive than a random access
memory because each cell must have an extra storage capability as well
as logic circuits for matching its content with an external argument.
•Usually associative memories are used in applications where the
search time is very critical and must be very short.
Ad

More Related Content

What's hot (20)

Memory Organization
Memory OrganizationMemory Organization
Memory Organization
Kamal Acharya
 
Associative memory
Associative memoryAssociative memory
Associative memory
NancyBeaulah_R
 
Associative memory 14208
Associative memory 14208Associative memory 14208
Associative memory 14208
Ameer Mehmood
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
Faisal Hussain
 
Cache Memory
Cache MemoryCache Memory
Cache Memory
Subid Biswas
 
Virtual memory ppt
Virtual memory pptVirtual memory ppt
Virtual memory ppt
Punjab College Of Technical Education
 
Memory allocation (4)
Memory allocation (4)Memory allocation (4)
Memory allocation (4)
rockymani
 
Paging and Segmentation in Operating System
Paging and Segmentation in Operating SystemPaging and Segmentation in Operating System
Paging and Segmentation in Operating System
Raj Mohan
 
cache memory
 cache memory cache memory
cache memory
NAHID HASAN
 
Cache memory
Cache memoryCache memory
Cache memory
Anuj Modi
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
Arpita Naik
 
Cache coherence
Cache coherenceCache coherence
Cache coherence
Employee
 
Cache coherence
Cache coherenceCache coherence
Cache coherence
Priyam Pandey
 
register
registerregister
register
Taimoor Ashraf
 
Elements of cache design
Elements of cache designElements of cache design
Elements of cache design
Rohail Butt
 
Basic operational concepts.ppt
Basic operational concepts.pptBasic operational concepts.ppt
Basic operational concepts.ppt
ssuser586772
 
Computer architecture cache memory
Computer architecture cache memoryComputer architecture cache memory
Computer architecture cache memory
Mazin Alwaaly
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
Deepak John
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
Vinit Raut
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
Anuj Modi
 
Associative memory 14208
Associative memory 14208Associative memory 14208
Associative memory 14208
Ameer Mehmood
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
Faisal Hussain
 
Memory allocation (4)
Memory allocation (4)Memory allocation (4)
Memory allocation (4)
rockymani
 
Paging and Segmentation in Operating System
Paging and Segmentation in Operating SystemPaging and Segmentation in Operating System
Paging and Segmentation in Operating System
Raj Mohan
 
Cache memory
Cache memoryCache memory
Cache memory
Anuj Modi
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
Arpita Naik
 
Cache coherence
Cache coherenceCache coherence
Cache coherence
Employee
 
Elements of cache design
Elements of cache designElements of cache design
Elements of cache design
Rohail Butt
 
Basic operational concepts.ppt
Basic operational concepts.pptBasic operational concepts.ppt
Basic operational concepts.ppt
ssuser586772
 
Computer architecture cache memory
Computer architecture cache memoryComputer architecture cache memory
Computer architecture cache memory
Mazin Alwaaly
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
Deepak John
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
Vinit Raut
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
Anuj Modi
 

Similar to Associative Memory in Computer architecture (20)

Associative memory
Associative memoryAssociative memory
Associative memory
Charmi Patel
 
Unit 5-lecture-1
Unit 5-lecture-1Unit 5-lecture-1
Unit 5-lecture-1
vishal choudhary
 
Memory Organization.pdf
Memory Organization.pdfMemory Organization.pdf
Memory Organization.pdf
AshishPandey502
 
team_-8[1].pptxvjigivhihigigiiggigiiggui
team_-8[1].pptxvjigivhihigigiiggigiigguiteam_-8[1].pptxvjigivhihigigiiggigiiggui
team_-8[1].pptxvjigivhihigigiiggigiiggui
HrushikeshDandu
 
COA
COACOA
COA
vinayvinay82
 
memory Organization in computer organization
memory Organization in computer organizationmemory Organization in computer organization
memory Organization in computer organization
michaelaaron25322
 
Introduction to memory management
Introduction to memory managementIntroduction to memory management
Introduction to memory management
Sweety Singhal
 
Input output interface its types and memory
Input output interface its types and memoryInput output interface its types and memory
Input output interface its types and memory
drjaspreet25072
 
Associative memory.pptx
Associative memory.pptxAssociative memory.pptx
Associative memory.pptx
Shrisanjay5
 
unit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptx
unit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptx
unit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptx
arpanpatel9653
 
Computer Organisation and Architecture (COA)
Computer Organisation and Architecture (COA)Computer Organisation and Architecture (COA)
Computer Organisation and Architecture (COA)
SwapnitaSrivastava1
 
Presentation
PresentationPresentation
Presentation
Haniyam16
 
Unit-6.pptx lk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Unit-6.pptx lk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkUnit-6.pptx lk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Unit-6.pptx lk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
ZeelGoyani
 
Memory Organizationsssssssssssssssss.ppt
Memory Organizationsssssssssssssssss.pptMemory Organizationsssssssssssssssss.ppt
Memory Organizationsssssssssssssssss.ppt
k2w9psdb96
 
Memory organization and management in system.ppt
Memory organization and management in system.pptMemory organization and management in system.ppt
Memory organization and management in system.ppt
gnvivekananda4u
 
UNIT-9 MEMORY ORGANIZATION OF COA..pptx
UNIT-9 MEMORY  ORGANIZATION OF COA..pptxUNIT-9 MEMORY  ORGANIZATION OF COA..pptx
UNIT-9 MEMORY ORGANIZATION OF COA..pptx
Sakina68859
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
Dr. SURBHI SAROHA
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
Stella526835
 
20042602207.pptx
20042602207.pptx20042602207.pptx
20042602207.pptx
divlee1
 
Memory organization.pptx
Memory organization.pptxMemory organization.pptx
Memory organization.pptx
RamanRay105
 
Associative memory
Associative memoryAssociative memory
Associative memory
Charmi Patel
 
team_-8[1].pptxvjigivhihigigiiggigiiggui
team_-8[1].pptxvjigivhihigigiiggigiigguiteam_-8[1].pptxvjigivhihigigiiggigiiggui
team_-8[1].pptxvjigivhihigigiiggigiiggui
HrushikeshDandu
 
memory Organization in computer organization
memory Organization in computer organizationmemory Organization in computer organization
memory Organization in computer organization
michaelaaron25322
 
Introduction to memory management
Introduction to memory managementIntroduction to memory management
Introduction to memory management
Sweety Singhal
 
Input output interface its types and memory
Input output interface its types and memoryInput output interface its types and memory
Input output interface its types and memory
drjaspreet25072
 
Associative memory.pptx
Associative memory.pptxAssociative memory.pptx
Associative memory.pptx
Shrisanjay5
 
unit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptx
unit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptx
unit4COApptx.pptxunit4COApptx.pptxunit4COApptx.pptx
arpanpatel9653
 
Computer Organisation and Architecture (COA)
Computer Organisation and Architecture (COA)Computer Organisation and Architecture (COA)
Computer Organisation and Architecture (COA)
SwapnitaSrivastava1
 
Presentation
PresentationPresentation
Presentation
Haniyam16
 
Unit-6.pptx lk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Unit-6.pptx lk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkUnit-6.pptx lk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Unit-6.pptx lk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
ZeelGoyani
 
Memory Organizationsssssssssssssssss.ppt
Memory Organizationsssssssssssssssss.pptMemory Organizationsssssssssssssssss.ppt
Memory Organizationsssssssssssssssss.ppt
k2w9psdb96
 
Memory organization and management in system.ppt
Memory organization and management in system.pptMemory organization and management in system.ppt
Memory organization and management in system.ppt
gnvivekananda4u
 
UNIT-9 MEMORY ORGANIZATION OF COA..pptx
UNIT-9 MEMORY  ORGANIZATION OF COA..pptxUNIT-9 MEMORY  ORGANIZATION OF COA..pptx
UNIT-9 MEMORY ORGANIZATION OF COA..pptx
Sakina68859
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
Stella526835
 
20042602207.pptx
20042602207.pptx20042602207.pptx
20042602207.pptx
divlee1
 
Memory organization.pptx
Memory organization.pptxMemory organization.pptx
Memory organization.pptx
RamanRay105
 
Ad

Recently uploaded (20)

Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdfAntepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Dr H.K. Cheema
 
ALL BENGAL U25 QUIZ LEAGUE 2.0 SET BY SKP.pptx
ALL BENGAL U25 QUIZ LEAGUE 2.0 SET BY SKP.pptxALL BENGAL U25 QUIZ LEAGUE 2.0 SET BY SKP.pptx
ALL BENGAL U25 QUIZ LEAGUE 2.0 SET BY SKP.pptx
Sourav Kr Podder
 
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
EduSkills OECD
 
Post Exam Fun(da)- a General under-25 quiz, Prelims and Finals
Post Exam Fun(da)- a General  under-25 quiz, Prelims and FinalsPost Exam Fun(da)- a General  under-25 quiz, Prelims and Finals
Post Exam Fun(da)- a General under-25 quiz, Prelims and Finals
Pragya - UEM Kolkata Quiz Club
 
114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf
paulinelee52
 
CANSA World No Tobacco Day campaign 2025 Vaping is not a safe form of smoking...
CANSA World No Tobacco Day campaign 2025 Vaping is not a safe form of smoking...CANSA World No Tobacco Day campaign 2025 Vaping is not a safe form of smoking...
CANSA World No Tobacco Day campaign 2025 Vaping is not a safe form of smoking...
CANSA The Cancer Association of South Africa
 
Basic principles involved in the traditional systems of medicine, Chapter 7,...
Basic principles involved in the traditional systems of medicine,  Chapter 7,...Basic principles involved in the traditional systems of medicine,  Chapter 7,...
Basic principles involved in the traditional systems of medicine, Chapter 7,...
ARUN KUMAR
 
Online elections for Parliament for European Union
Online elections for Parliament for European UnionOnline elections for Parliament for European Union
Online elections for Parliament for European Union
Monica Enache
 
The Reproductive System of Insects: An Overview.pptx
The Reproductive System of Insects: An Overview.pptxThe Reproductive System of Insects: An Overview.pptx
The Reproductive System of Insects: An Overview.pptx
Arshad Shaikh
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-21-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-21-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-21-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-21-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
he Grant Preparation Playbook: Building a System for Grant Success
he Grant Preparation Playbook: Building a System for Grant Successhe Grant Preparation Playbook: Building a System for Grant Success
he Grant Preparation Playbook: Building a System for Grant Success
TechSoup
 
Management of head injury in children.pdf
Management of head injury in children.pdfManagement of head injury in children.pdf
Management of head injury in children.pdf
sachin7989
 
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdfLeveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
TechSoup
 
Module I. Democracy, Elections & Good Governance
Module I. Democracy, Elections & Good GovernanceModule I. Democracy, Elections & Good Governance
Module I. Democracy, Elections & Good Governance
srkmcop0027
 
Intervene with Precision: Zooming In as a Leader Without Micromanaging
Intervene with Precision: Zooming In as a Leader Without MicromanagingIntervene with Precision: Zooming In as a Leader Without Micromanaging
Intervene with Precision: Zooming In as a Leader Without Micromanaging
victoriamangiantini1
 
Quality Assurance and Quality Management, B. Pharm 6th Semester-Unit-1
Quality Assurance and Quality Management, B. Pharm 6th Semester-Unit-1Quality Assurance and Quality Management, B. Pharm 6th Semester-Unit-1
Quality Assurance and Quality Management, B. Pharm 6th Semester-Unit-1
Amit Kumar Sahoo
 
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup
 
Aerospace Engineering Homework Help Guide – Expert Support for Academic Success
Aerospace Engineering Homework Help Guide – Expert Support for Academic SuccessAerospace Engineering Homework Help Guide – Expert Support for Academic Success
Aerospace Engineering Homework Help Guide – Expert Support for Academic Success
online college homework help
 
EUPHORIA GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
EUPHORIA GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025EUPHORIA GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
EUPHORIA GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
Quiz Club of PSG College of Arts & Science
 
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit..."Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
AlionaBujoreanu
 
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdfAntepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Dr H.K. Cheema
 
ALL BENGAL U25 QUIZ LEAGUE 2.0 SET BY SKP.pptx
ALL BENGAL U25 QUIZ LEAGUE 2.0 SET BY SKP.pptxALL BENGAL U25 QUIZ LEAGUE 2.0 SET BY SKP.pptx
ALL BENGAL U25 QUIZ LEAGUE 2.0 SET BY SKP.pptx
Sourav Kr Podder
 
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
EduSkills OECD
 
Post Exam Fun(da)- a General under-25 quiz, Prelims and Finals
Post Exam Fun(da)- a General  under-25 quiz, Prelims and FinalsPost Exam Fun(da)- a General  under-25 quiz, Prelims and Finals
Post Exam Fun(da)- a General under-25 quiz, Prelims and Finals
Pragya - UEM Kolkata Quiz Club
 
114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf114P_English.pdf
114P_English.pdf114P_English.pdf114P_English.pdf
paulinelee52
 
Basic principles involved in the traditional systems of medicine, Chapter 7,...
Basic principles involved in the traditional systems of medicine,  Chapter 7,...Basic principles involved in the traditional systems of medicine,  Chapter 7,...
Basic principles involved in the traditional systems of medicine, Chapter 7,...
ARUN KUMAR
 
Online elections for Parliament for European Union
Online elections for Parliament for European UnionOnline elections for Parliament for European Union
Online elections for Parliament for European Union
Monica Enache
 
The Reproductive System of Insects: An Overview.pptx
The Reproductive System of Insects: An Overview.pptxThe Reproductive System of Insects: An Overview.pptx
The Reproductive System of Insects: An Overview.pptx
Arshad Shaikh
 
he Grant Preparation Playbook: Building a System for Grant Success
he Grant Preparation Playbook: Building a System for Grant Successhe Grant Preparation Playbook: Building a System for Grant Success
he Grant Preparation Playbook: Building a System for Grant Success
TechSoup
 
Management of head injury in children.pdf
Management of head injury in children.pdfManagement of head injury in children.pdf
Management of head injury in children.pdf
sachin7989
 
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdfLeveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
TechSoup
 
Module I. Democracy, Elections & Good Governance
Module I. Democracy, Elections & Good GovernanceModule I. Democracy, Elections & Good Governance
Module I. Democracy, Elections & Good Governance
srkmcop0027
 
Intervene with Precision: Zooming In as a Leader Without Micromanaging
Intervene with Precision: Zooming In as a Leader Without MicromanagingIntervene with Precision: Zooming In as a Leader Without Micromanaging
Intervene with Precision: Zooming In as a Leader Without Micromanaging
victoriamangiantini1
 
Quality Assurance and Quality Management, B. Pharm 6th Semester-Unit-1
Quality Assurance and Quality Management, B. Pharm 6th Semester-Unit-1Quality Assurance and Quality Management, B. Pharm 6th Semester-Unit-1
Quality Assurance and Quality Management, B. Pharm 6th Semester-Unit-1
Amit Kumar Sahoo
 
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup
 
Aerospace Engineering Homework Help Guide – Expert Support for Academic Success
Aerospace Engineering Homework Help Guide – Expert Support for Academic SuccessAerospace Engineering Homework Help Guide – Expert Support for Academic Success
Aerospace Engineering Homework Help Guide – Expert Support for Academic Success
online college homework help
 
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit..."Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
AlionaBujoreanu
 
Ad

Associative Memory in Computer architecture

  • 2. Introduction •To search particular data in memory, data is read from certain address and compared if the match is not found content of the next address is accessed and compared. •This goes on until required data is found. The number of access depend on the location of data and efficiency of searching algorithm. •This searching time can be reduced if data is searched on the basis of content.
  • 3. Introduction •A memory unit accessed by content is called associative memory or content addressable memory(CAM) or associative storage or associative array. •This type of memory is accessed simultaneously and in parallel on the basis of data content. •Memory is capable of finding empty unused location to store the word.
  • 5. Associative Memory Organization Associative Memory is organized in such a way. Argument register(A): It contains the word to be searched. It has n bits(one for each bit of the word). Key Register(K):This specifies which part of the argument word needs to be compared with words in memory. If all bits in register are 1, The entire word should be compared. Otherwise, only the bits having k-bit set to 1 will be compared.
  • 6. Associative Memory Organization Associative memory array: It contains the words which are to be compared with the argument word. Match Register(M): It has m bits, one bit corresponding to each word in the memory array. After the matching process, the bits corresponding to matching words in match register are set to 1.
  • 7. Associative Memory Organization •Key register provide the mask for choosing the particular field in A register. •The entire content of A register is compared if key register content all 1. •Otherwise only bit that have 1 in key register are compared. •If the compared data is matched corresponding bits in the match register are set.
  • 8. Associative Memory Organization Reading is accomplished by sequential access in memory for those words whose bit are set.
  • 13. Match Logic For One Word
  • 14. Associative Memory Organization Write operation: •If the entire memory is loaded with new information at once prior to search operation then writing can be done by addressing each location in sequence. •Tag register contain as many bits as there are words in memory. •It contain 1 for active word and 0 for inactive word. •If the word is to be inserted, tag register is scanned until 0 is found and word is written at that position and bit is change to 1.
  • 15. Associative Memory Organization Read Operation: •When a word is to be read from an associative memory, the contents of the word, or a part of the word is specified. •If more than one word match with the content, all the matched words will have 1 in the corresponding bit position in match register. •Matched words are then read in sequence by applying a read signal to each word line. •In most application, the associative memory stores a table with no two identical items under a given key.
  • 16. Associative memory Architecture •It is a hardware search engines, a special type of computer memory used in certain very high searching applications. •Composed of conventional semiconductor memory (usually SRAM) with added comparison circuitry that enable a search operation to complete in a single clock cycle. •SRAM is a type of semiconductor memory that uses bistable latching circuitry to store each bit.
  • 17. Types of Associative memory There are two types of Associative memory, which both are used in different conditions. Auto-associative Auto-associative memory takes back(retrieves) a previously stored pattern that most closely resembles the current pattern.
  • 18. Types of Associative memory Hetero-associative •Hetero-associative memory, the retrieved pattern is in general, different from the input pattern not only in content but possibly also in type and format. •Neutral networks are used to implement these associative memory models called NAM (Neutral associative memory).
  • 19. Advantages of Associative memory •This is suitable for parallel searches. It is also used where search time needs to be short. •Associative memory is often used to speed up databases, in neural networks and in the page tables used by the virtual memory of modern computers. •CAM-design challenge is to reduce power consumption associated with the large amount of parallel active circuitry, without sacrificing speed or memory density.
  • 20. Disadvantages of Associative memory •An associative memory is more expensive than a random access memory because each cell must have an extra storage capability as well as logic circuits for matching its content with an external argument. •Usually associative memories are used in applications where the search time is very critical and must be very short.
  翻译: