Method and apparatus for searching for data in content addressable memory
A method and an apparatus for searching for data in a memory, and a memory are provided. The memory includes at least two storage areas, each storage area includes at least two storage blocks, and storage blocks in each storage area are corresponding to each other. The method includes: determining w...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method and an apparatus for searching for data in a memory, and a memory are provided. The memory includes at least two storage areas, each storage area includes at least two storage blocks, and storage blocks in each storage area are corresponding to each other. The method includes: determining whether a hit storage block that matches with data to be searched for exists in a current storage area; and if it is determined that the hit storage block exists, searching for a storage block corresponding to the hit storage block in a next storage area, so as to determine whether a hit storage block further exists. According to the method provided, when a storage block is hit, a storage block corresponding to the hit storage block is searched for in a next storage area, so that a storage block corresponding to a missed storage block may execute no operation, thus reducing power consumption. |
---|