Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,047 Views

Cam

How to implement content addressable memory in vhdl?

0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
54 Views

CAM would be very slow in a FPGA.

Altera_Forum
Honored Contributor I
54 Views

Lots of registers, comparators, and a wide mux. Like Tricky said, they do not synthesis well in FPGAs so they are fairly rare to see these days in an FPGA. If you google around the description of a CAM should pretty much describe how you would implement one since they are fairly trivial (except if you want one that operates quickly). 

 

Alternatively you can implement a latent CAM where you don't search the entire structure in parallel and instead use small memories that you search serially. That somewhat defeats the purpose of a CAM in some systems but maybe it's a small price to pay for what you are attempting to use a CAM for.
Reply