Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12437 Discussions

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

Altera_Forum
Honored Contributor II
1,102 Views

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 II
217 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
217 Views

Hi,

is it possible to have the CAM code?

thanks in advance

 

Reply