Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12590 Discussions

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

Altera_Forum
Honored Contributor II
1,375 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
490 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).

0 Kudos
ACamm2
Beginner
490 Views

Hi,

is it possible to have the CAM code?

thanks in advance

 

0 Kudos
Reply