0

Can we implement relational operations (<, > , >=, <= ) using TCAM? Even if they are possible to implement, are TCAMs used for relational operations in real life? What are the pros and cons?

Dave Tweed
  • 172,781
  • 17
  • 234
  • 402
swr das
  • 3
  • 1

1 Answers1

0

Yes, it is possible.

No, it is not normally done. Ordinary gates (LUTs on an FPGA) are far more efficient.

To compare two N-bit operands, it would require a N × 2N TCAM, but only N 4-input LUTs in an FPGA, or the equivalent amount of logic in an ASIC.

Dave Tweed
  • 172,781
  • 17
  • 234
  • 402