Configuration Examples - Configuration Examples - 2.0 English - PG468

DRAM Semi-Ternary CAM 2.0 LogiCORE IP Product Guide (PG468)

Document_ID
PG468
Release_Date
2026-01-30
Version
2.0 English

This section provides two example configurations along with their lookup rate and latency for different DRAM types.

ACL Example

An example of Access Controlled List (ACL) using a Five-Tuple key with range matching. The table has 512 K entries with each 64 B in size. The lookup keys used in this example generates an average of 17 reads per lookup. The lookup rate is 6 Mlps, and update rate is 10000 per second; the lookup read bandwidth value is calculated as follows:

Lookup Read Bandwidth = DRAM Reads × 64 B = 17 × 6E6 x 64 B = 6.08 GB/s

DRAM Write Latency = 500E-9 x UPDATE_RATE = 500E-9 x 10E3 = 5 ms

DRAM Bandwidth = 1/(1 - DRAM Write Latency) x Lookup Read Bandwidth = 1/(1 - 5E-3 × 6.1G) = 6.11 GB/s

A TDM Factor = 64 is used for more efficient filter implementation. The RAM_FREQ must be least 64 × 6 M + 2 × 10 K = 385 MHz. Single clock mode is used so that the Lookup Interface Frequency is also 385 MHz.

Table 1. ACL Example Configuration
Parameter Value
Format String 12b:12b:128p:128p:16r:16r:8b
Response Width 20
Number of Entries 471850
Lookup Rate 6 Mlps
Lookup Interface Frequency 385 MHz
Required DRAM Bandwidth 6.11 GB/s
Table 2. ACL Lookup Performance
DRAM Type 64 B Read Bandwidth NoC Master Units Mean Rate (in Mlps) Mean Latency (in μs)
HBM2e-3200 10 GB/s 1 6.0 0.61
DDR4-3200 10 GB/s 1 6.0 0.50
LPDDR5-6400 13.2 GB/s 1 6.0 0.68

LPM Example

An example of Longest Prefix Matching (LPM) where, table size is 512 K × 64 B with storage capacity of up to 4 M prefixes, target lookup rate is 150 Mlps, and update rate is 10000 per second; Lookup Read bandwidth is calculated as follows:

Lookup Read Bandwidth = DRAM Bandwidth × 64 B = Lookup Rate × 64 B = 150E6 x 64 B = 8.94 GB/s

DRAM Write Latency = 500E-9 x UPDATE_RATE = 500E-9 x 10E3 = 5 ms

DRAM Bandwidth = 1/(1 - DRAM Write Latency) x Lookup Read Bandwidth = 1/(1 - 5E-3 × 8.94G) = 8.98 GB/s

A TDM Factor = 2 is used for more efficient implementation. This requires the RAM Frequency to be at least 2 × 150 M + 2 × 10 K = 301 MHz. Additionally, HBM imposes a requirement on the RAM Frequency to be at least 350 MHz. In this example, the same RAM Frequency is used for all memory types. Single clock mode is used so that the Lookup Interface Frequency is also 350 MHz.

Table 3. LPM Example Configuration
Parameter Value
Format String 128p: 16c
Response Width 20
Number of Entries 471859
Lookup Rate 150 Mlps
Lookup Interface Frequency 350 MHz
RAm Frequency 350 MHz
Table 4. LPM Lookup Performance
DRAM Type 64 B Read Bandwidth NoC Master Units Mean Rate (in Mlps) Mean Latency (in μs)
HBM2e-3200 10 GB/s 1 150 0.71
DDR4-3200 10 GB/s 1 150 0.76
LPDDR5-6400 13.2 GB/s 1 150 1.1
  1. Latency value calculated based on preliminary model (subject to change).