📌  相关文章
📜  随机存取存储器(RAM)和内容可寻址存储器(CAM)之间的区别

📅  最后修改于: 2021-06-28 15:22:34             🧑  作者: Mango

内存:
随机存取存储器(RAM)用于读取和写入。它是主存储器的一部分,用于存储正在运行的应用程序(程序)和用于执行操作的程序数据。它主要有两种类型:动态RAM(或DRAM)和静态RAM(或SRAM)。

CAM:
内容可寻址存储器(CAM)也称为关联存储器,其中用户提供数据字,并且关联存储器搜索其整个存储器,如果找到了数据字,它将返回该数据字所在的地址列表。

差异表根据其属性在下面给出:

S.NO RAM Memory Associative Memory(CAM)
1. RAM stands for Random Access Memory. It stands for Content Addressable Memory.
2. In RAM, the user supplies a memory address and RAM returns data word stored at the address. In associative memory, the user supplies data word and associative memory searches its entire memory.
3. The price of RAM is low as compared to Associative memory. It is expensive than RAM.
4. It is used to store running applications(programs) and program’s data for performing operation. It is widely used in database management system.
5. This is suitable for algorithm based search via PRAM. PRAM stands for Parallel-RAM. This is suitable for parallel search.
6. If the data word is found, RAM returns the data word. If the data word is found, It returns the list of addresses where that data word was located.