Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
Question: String matching with CAM?
- 07-31-2003
July 31, 2003, 9:28 pm

Has anyone used Content Addressable Memory to perform string matching?
I don't know much of anything about CAM, but I can imagine it would be
much more flexible than hard-coding the strings I want to search for.
However, will there be a huge hit in speed? I realize they can be
read in 1 clk, but will the max speed of the FPGA take a hit?
I don't suppose there are coded examples out there?
I don't know much of anything about CAM, but I can imagine it would be
much more flexible than hard-coding the strings I want to search for.
However, will there be a huge hit in speed? I realize they can be
read in 1 clk, but will the max speed of the FPGA take a hit?
I don't suppose there are coded examples out there?

Re: Question: String matching with CAM?
mean is
by using the CAM you have the capability of reloading the 'tables' used
for the
hard coded decode. In the case of the Xilinx CAM implementation, it is
basically
an SRL-16 that gets reloaded when you write the CAM. Reads are the same
as if
the SRL16 was just a LUT. If your character set reference is not
changing, then a
LUT will serve the exact same function with possibly less overhead (the
CAM needs
a full decode on the match to handle all possibilities).
Seth wrote:

--
--Ray Andraka, P.E.
President, the Andraka Consulting Group, Inc.
--Ray Andraka, P.E.
President, the Andraka Consulting Group, Inc.
We've slightly trimmed the long signature. Click to see the full one.
Site Timeline
- » Re: two questions
- — Next thread in » Field-Programmable Gate Arrays
-
- » Downloading into XCV600
- — Previous thread in » Field-Programmable Gate Arrays
-
- » Division Algorithms
- — Newest thread in » Field-Programmable Gate Arrays
-
- » Building an earth quake detector for local earth quake detection.
- — The site's Newest Thread. Posted in » Electronics Design
-
- » Telefon na wiele kilometrow.
- — The site's Last Updated Thread. Posted in » Electronics (Polish)
-