TCAM and Cam

Source: Internet
Author: User

CAM is the abbreviation of content addressable memory, that is, the meaning of "contents addressed storage", it is the associative memory memory based on traditional storage technology, there are three basic operations about CAM:

1). Write operation: Enter the address and data, write the data to the specified address, the writing speed is the same as RAM;

2). Read operation: Enter the address, return the data on the address, the reading speed is the same as RAM;

3). Find operation: Enter unknown origin data to return the address where the data is stored. This is also the main use of CAM, it is able to quickly find from a huge database, and return the best matching address, the fastest search speed can reach more than 100 million times per second.

Tcam is the abbreviation of ternary content addressable memory, that is, the meaning of "three-state contents addressable memory", which is developed from Cam. In general cam memory, each bit state has only two, "0" or "1", and the Tcam each bit bit has three states, remove "0" and "1", there is a "t care" state, so called "three states", it is through the mask to achieve, It is this third State feature of Tcam that makes it possible to find both exact matches and fuzzy matches, while Cam does not have a third state, so it can only perform exact matching lookups.

In addition to the ASIC chip, the implementation of TCAM can also be implemented with IP cores on the FPGA.

Reference documents:

[1] Three-state content-addressable memory (TCAM) working principle. Http://blog.sina.com.cn/s/blog_b16cbfbd01018lzw.html

[2] TCAM. Baidu Encyclopedia.

[3] parameterizable content-addressable Memory. Xapp1151_param_cam.pdf

TCAM and Cam

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.