FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > VHDL

VHDL comp.lang.vhdl newsgroup / Usenet

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2003, 10:28 PM
Seth
Guest
 
Posts: n/a
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?
Reply With Quote
  #2 (permalink)  
Old 08-01-2003, 02:12 AM
Ray Andraka
Guest
 
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 [email protected]
http://www.andraka.com

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


Reply With Quote
Reply

Bookmarks


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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
help with rising edge matching fpgaguy FPGA 3 12-20-2007 06:03 PM
Mixing and matching related clocks question. Paul Marciano FPGA 3 02-06-2006 05:55 PM
Matching of the UCF files from MIG and ML403 turtoial demo agou FPGA 0 01-20-2006 05:43 PM
Question: String matching with CAM? Seth FPGA 1 08-01-2003 02:12 AM


All times are GMT +1. The time now is 11:28 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved