Академический Документы
Профессиональный Документы
Культура Документы
1
Memory architecture of VP SRAM-based
TCAM is
depicted in Fig. 2. Its main components
include ‘n’ Bit Position Tables (BPTs), ‘n’
Address Position Tables (APTs), ‘n’ APT
Address Generators (APTAGs), Priority
Encoder (PE), and ANDing operation. BPTs
and APTs are constructed from SRAM. Each
vertical partition has its corresponding BPT,
APTAG, and APT.
The maximum possible combinations of
‘w’ bits are 2^w where each combination
represents a sub-word. The aim is to map 2^w
sub-words to 2^w bits such that each sub-word
would be represented by a single bit in
memory.
In BPT, 2^w bits of memory are
grouped into 2^w-b rows; with each row has
2^b bits, which can be two or more. Each row
is supplemented with a value called Last Index
(LI) of length w+1 bit. The ‘w-b’ high order bits of input sub-word
are used to select a particular row in BPT, thus
acting as an address. From now onwards this
address is termed as BPT Address (BPTA).
The ‘b’ low order bits, from now onwards
termed as Bit Position Indicator (BPI), of the
input sub-word are used to indicate a particular
bit position in the row selected. If the
bit position indicated by BPI is high, then it
means that the input sub-word is present,
otherwise not. Conceptual view of BPT is
shown in Fig. 3.
2
corresponds to rows in Fig. 1. A conceptual
view of APT is illustrated in Fig. 4.
3
A.DATA AND ADDRESS ORGANISING position in BPT indicated by BPI in the row
AND STORING PHASE: selected by BPTA is read out.
In this phase, conventional TCAM
table is vertically (column-wise) partitioned If the read out bit is high (1), it shows that
into TCAM sub-tables, which are then input sub-word is considered present
expanded into binary counter parts and (otherwise, not) but at which address, still
processed in such a way that each sub-word in unknown. Step 3 occurs in parallel for all
all partitions is mapped to its corresponding bit BPTs.
in its corresponding BPT and original address In step 4, the read out bits from all BPTs are
(s) of the sub-word are mapped to its/their ANDed. The result of this 1-bit ANDing
corresponding bit (s) in the corresponding operation specifies whether the searching
APT, respectively. Only those bit positions effort is to be continued or to be stopped. If the
and address positions in BPTs and APTs, 1-bit ANDing results in a low signal, it means
respectively, are high, which are mapped while that mismatch has occurred and shows end of
remaining bit positions and search phase, otherwise the proposed TCAM
address positions are set to low in BPTs and sustains search operation and enters step 5
APTs where APTAG computes APTA by summing
respectively. After mapping, LIs of their the number of one’s (1) in the selected row up
corresponding BPTs are set to their respective to the bit position inclusive indicated by BPI
values. A conceptual view of mapping of and LI of the selected row of BPT.
original addresses to their corresponding bits Step 5 is also carried out in parallel for the
in APT and computation of all the APTAs.
mapping of sub-words to their corresponding In step 6, APTAs read out rows from their
bits in BPT is pictured in Fig. 5. corresponding APTs simultaneously.
Step 7 is the K-bit ANDing. The
corresponding ith bits of all rows read out in
step 6 are ANDed where 0 ≤ i ≤ K-1. The
address positions that remain at high level (1)
after ANDing are considered Potential
Matching Addresses(PMAs).
In the last step, step 8,a PE selects Matching
Address (MA) among the PMAs, if exists.
otherwise a mismatch is signaled.A mismatch
of an input word can be signaled at two
places;first, when the enable signal is low in
step 4 and second,
when all the address positions are low (0) after
B.SEARCH PHASE: ANDing in step 7.When 1-bit ANDing of Fig.
In this phase, an input word is 2 results in a high output, this condition
applied and, if exits,its MA is sent to output. permits the searching effort to be continued.
In step 1, an input word is applied to the At this point, it cannot be decided that the
proposed TCAM. In step 2, the applied word is input word is present. It provides only a hope
partitioned into ‘n’ number of sub-words. for the match case of the input word.
These sub-words are then applied to the Whenever this case occurs, the
corresponding SRAM blocks of their match/mismatch is decided by the ANDing
corresponding BPTs in parallel. In step 3, bit
4
operation in step 7 on the accessed rows of the
APT.
5
approximately by a factor of 1.3 than its smaller approximately by factor of 1.3 than its
conventional counterpart. corresponding conventional TCAM.
REFERENCES:
[1]. Z. Ullah, M. K. Jaiswal, and R. C. C.
Cheung, “Z-TCAM: An SRAM based
architecture for TCAM,” IEEE Trans. Very
Large Scale Integration.
(VLSI) Syst., vol. 23, no. 2, pp. 402–406, Feb.
2015.
[2]. Z. Ullah, M. K. Jaiswal, and R. C. C.
Cheung, “E-TCAM: An efficient SRAM-based
architecture for TCAM,” Circuits Syst. Signal
Process.,
vol. 33, no. 10, pp. 3123–3144, Oct. 2014.
[3]. R. Karam, R. Puri, S. Ghosh, and S.
Bhunia, “Emerging trends in design and
applications of memory-based computing and
content-addressable
memories,” Proc. IEEE, vol. 103, no. 8, pp.
1311–1330, Aug. 2015.
CONCLUSIONS:
In this paper, we presented VP SRAM-based
TCAM that emulates TCAM functionality
with SRAM. Analysis for VP SRAM-based
TCAM shows
that size and latency are dependent on number
of vertical partitions and also on the
dimensions of the conventional TCAM. In
general, size of VP SRAM-based TCAM
increases as the width of sub-word increases or
alternatively when number of vertical
partitions shrinks. We analyzed that maximum
possible number of vertical partitions provides
optimized VP SRAM-based TCAM in terms
of important performance parameters
concurrently
including size and search latency and thus is a
practical solution to traditional TCAMs and its
variations. It has also been shown that for
maximum number of vertical partitions, for the
different dimension that we have taken for
analysis, size of VP SRAM-based TCAM is