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

Fast memory searching/Content Addressable Memory (CAM) methods?

Hello all, 

 

Would anyone recommend a better way to do quick associative lookups for 128-bit addresses? Are Content Addressable Memories (CAMs) still possible in modern FPGAs? 

I'm using a lowly DE2-115 with Cyclone IV FPGA with M9K embedded memory blocks. 

 

I'm trying to perform IPv6 Network Address Translation for 100's or 1000's of addresses for a University project.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
83 Views

I had to do a CAM module for a network switch who had to store MAC addresses and I ended up doing a state machine and a hash table. It works great but you can't guarantee any access time (in the worst case scenario all the addresses have the same hash and you still need to read each one of them to get the result).

ACamm2
Beginner
83 Views

Hi,

is it possible to have the CAM code?

thanks in advance

 

Reply