Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

content addressable memory

Altera_Forum
Honored Contributor II
2,819 Views

is there any way to have content addressable memory(CAM) in CYCLONE IV E families????

0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
1,371 Views

CAM are hiddeously slow.

0 Kudos
Altera_Forum
Honored Contributor II
1,371 Views

i didn't get it. is it possible or not?

0 Kudos
Altera_Forum
Honored Contributor II
1,371 Views

Sure, depending on your requirements you could either implement it with embedded ram, or logic. Logic implementations can be a little expensive in terms of resources, but they're more flexible. Do you need cam, or tcam? Check out Altera's advanced synthesis cookbook, there are some examples in there you can look over.

0 Kudos
Altera_Forum
Honored Contributor II
1,371 Views

I need four or five CAM blocks in 32-bit * 256 size and cyclone IV E is available. (thanks anyway for your help :) )

0 Kudos
Altera_Forum
Honored Contributor II
1,371 Views

The worst case for your CAM is a 256 clock cycle latency.

0 Kudos
Altera_Forum
Honored Contributor II
1,371 Views

If you implemented it in logic, that would be a little resource intensive. How big is the cyclone, how fast does the cam need to run, and how much other stuff are you going to need to shove into the part?

0 Kudos
Altera_Forum
Honored Contributor II
1,371 Views

it is my BS project and i am kind of free to choose the details. i read the cookbook you referred. but it doesn't contain much about CAMs. is there anywhere else to help me? 

that pdf gives no information about the details. should i use a megafunction? how can i turn logic elements into CAM????? (thanks again.)
0 Kudos
Altera_Forum
Honored Contributor II
1,371 Views

You just use a memory with a counter for the address and some SM to control the reading of data. when you find the data, you stop the count.

0 Kudos
Reply