The Ternary CAM Search IP is designed to run at up to 600 MHz in UltraScale+™ -2 speed grade devices.
The TCAM lookup latency depends on the size of the TCAM, the TDM factor and the memory type. The lookup latency is constant per configuration and some examples are shown in the following table.
|Entries||TDM Factor = 1||TDM Factor = 4||TDM Factor = 16||TDM Factor = 32|
The lookup throughput corresponds to the LOOKUP_RATE parameter. The highest possible lookup throughput is accomplished when LOOKUP_RATE equals the RAM _FREQ parameter. One Lookup Request can then be issued per RAM clock cycle. The Management Request has strictly lower priority than the Lookup Request, consequently the Management Request throughput becomes:
The ECC scrubbing process has the lowest priority. A memory read followed by a potential corrective write is only executed if both the Lookup Request and Management Request FIFOs are empty. Neither the lookup throughput nor the Management Request throughputs are affected. ECC scrubbing of a new address is only initiated if both FIFOs are empty and a potential pending corrective write has been executed.
All read and write Management Requests are 32 bits wide. The only exception is for write Management Request of entry data. These Management Requests might be wider as described in the section below. The Management Request width for entry data is essential for correct dimensioning of the lookup rate and RAM frequency in order to have throughput headroom for Management Requests.
- Key + Mask, 320 bits
- Priority + Response + Valid, 72 bits
In total 392 bits are written. The width of priority + response + valid is 72 bits, this will be rounded to 128 bits. Each Management Request writes 128 bits. With rounding up, 392/128 = 4 write Management Requests are sent.
The AXI4-Lite bus uses 13 bits of address and 32 bits of data, so for every Management Request multiple AXI4-Lite writes are issued from the API software. The AXI4-Lite writes are assembled by the AXI4-Slave to a single Management Request. The AXI4-Lite interface is a standard type. Refer to AXI4-Lite IPIF LogiCORE IP Product Guide (PG155).
The table below shows an example calculation for 100Gb Ethernet rate. Keep in mind the calculated update rate only refers to the hardware resources, the final update rate is most likely limited by the table management software.
|Management Request Size [bits]||AXI Lite Write Operations [min / max]||Management Update rate [M updates/s]|
|64||1 / 3||4.8|
|128||2 / 5||2.4|
|256||4 / 9||1.2|
|512||8 / 17||0.6|
|1024||16 / 33||0.3|