1 IEEE Micro. 12 (6): 68-78. Doi:10.1109/40.180249
gabriellenadel edited this page 2025-08-08 00:37:01 +08:00


Content-addressable Memory Wave Routine (CAM) is a particular sort of laptop memory used in certain very-excessive-pace looking purposes. It's also referred to as associative memory or associative storage and compares enter search knowledge in opposition to a desk of saved knowledge, and returns the handle of matching information. CAM is regularly utilized in networking devices where it speeds up forwarding data base and Memory Wave routing table operations. This type of associative memory can be utilized in cache memory. In associative cache memory, both address and content is stored facet by facet. When the tackle matches, the corresponding content is fetched from cache memory. Dudley Allen Buck invented the idea of content-addressable memory in 1955. Buck is credited with the idea of recognition unit. Not like commonplace computer memory, random-access memory (RAM), by which the consumer supplies a memory handle and the RAM returns the info phrase saved at that address, a CAM is designed such that the user supplies an information word and the CAM searches its entire memory to see if that data phrase is stored anywhere in it.


If the data word is found, the CAM returns a listing of a number of storage addresses where the phrase was found. Thus, a CAM is the hardware embodiment of what in software phrases would be referred to as an associative array. A serious interface definition for CAMs and different network search engines like google and yahoo was specified in an interoperability settlement called the Look-Apart Interface (LA-1 and LA-1B) developed by the Network Processing Discussion board. Quite a few devices conforming to the interoperability agreement have been produced by Built-in Device Technology, Cypress Semiconductor, IBM, Broadcom and others. On December 11, 2007, the OIF published the serial look-aside (SLA) interface agreement. CAM is much quicker than RAM in data search functions. There are value disadvantages to CAM, nonetheless. Not like a RAM chip, which has easy storage cells, each individual memory bit in a fully parallel CAM should have its personal related comparison circuit to detect a match between the saved bit and the enter bit. Moreover, match outputs from every cell in the info phrase should be combined to yield a complete knowledge word match sign.


The additional circuitry increases the physical dimension and manufacturing value of the CAM chip. The extra circuitry additionally will increase energy dissipation since each comparability circuit is active on every clock cycle. Consequently, CAM is used solely in specialised functions where looking speed cannot be accomplished utilizing a much less expensive methodology. One profitable early implementation was a Normal Function Associative Processor IC and System. MOSAID introduced CAM products focusing on networking purposes. These merchandise have been labelled Network Serps (NSE), Community Search Accelerators (NSA), and Information-based mostly Processors (KBP) but were basically CAM with specialized interfaces and features optimized for networking. At present Broadcom presents several families of KBPs. To realize a unique steadiness between velocity, memory size and cost, some implementations emulate the function of CAM by utilizing standard tree search or hashing designs in hardware, utilizing hardware tips like replication or pipelining to speed up efficient performance. These designs are often utilized in routers. The Luleå algorithm is an environment friendly implementation for longest prefix match searches as required in web routing tables.


X or do not care for one or more bits in the saved phrase, thus including flexibility to the search. For example, a saved phrase of 10XX0 in a ternary CAM will match any of the four search words 10000, 10010, 10100, or 10110. The added search flexibility comes at a further cost over binary CAM as the inner memory cell should now encode three potential states as an alternative of the two for the binary CAM. This additional state is typically applied by including a mask bit (care or do not care bit) to every memory cell. In 2013, IBM fabricated a nonvolatile TCAM using 2-transistor/2-resistive-storage (2T-2R) cells. A design of TCAM utilizing hybrid Ferroelectric FeFET was lately printed by a bunch of International scientists. Content material-addressable memory is often used in laptop networking gadgets. For instance, when a community switch receives a knowledge frame from considered one of its ports, it updates an inside table with the body's source MAC tackle and the port it was received on.
zhihu.com