Abstract
An internet protocol (IP) router determines the next hop for a packet by finding the longest prefix match. This lookup often occurs in ternary content addressable memory (TCAM), which allows bit masking of the IP address. In this paper, an internet protocol content addressable memory (IPCAM) circuit that directly determines the longest prefix match to the stored address is described. The proposed IPCAM produces an encoded prefix match length that is limited by the prefix mask. Entries need not be sorted in order. One of the proposed IPCAM entries replaces on average 22 TCAM entries. Consequently the longest prefix matching CAM is less than 1/10 the size of the equivalent TCAM and dissipates 93.5% less dynamic power. The encoded outputs drive a priority encoder to determine the longest prefix match in the IPCAM arrays. A priority encoder circuit architecture appropriate to the unsorted IPCAM entries is also presented.
Original language | English (US) |
---|---|
Article number | 5433251 |
Pages (from-to) | 963-972 |
Number of pages | 10 |
Journal | IEEE Transactions on Very Large Scale Integration (VLSI) Systems |
Volume | 19 |
Issue number | 6 |
DOIs | |
State | Published - Jun 2011 |
Keywords
- Associative memories
- internet protocol (IP) routing
- longest prefix match
- priority encoder
- ternary content addressable memory (TCAM)
ASJC Scopus subject areas
- Software
- Hardware and Architecture
- Electrical and Electronic Engineering