Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Question: String matching with CAM?

 
Thread Tools Search this Thread
Old 07-31-2003, 10:28 PM   #1
Default Question: String matching with CAM?


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?


Seth
  Reply With Quote
Old 08-01-2003, 02:12 AM   #2
Ray Andraka
 
Posts: n/a
Default Re: Question: String matching with CAM?
All the CAM really is, is a soft version of the hard coded logic. What I
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:

> 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?


--
--Ray Andraka, P.E.
President, the Andraka Consulting Group, Inc.
401/884-7930 Fax 401/884-7950
email
http://www.andraka.com

"They that give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety."
-Benjamin Franklin, 1759




Ray Andraka
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Give you enough string functions in Java web reporting tool freezea Software 0 10-08-2009 09:03 AM
Java String Problems rbnbenjamin General Help Related Topics 0 02-03-2009 11:02 PM
Hidden linebreaks in string? VB.NET Jiggy Software 0 04-23-2008 02:18 PM
my first question :save mht file from a html string yours Software 0 05-12-2007 01:49 PM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good Filthy Mcnasty DVD Video 0 04-25-2005 04:29 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46