摘要 |
To provide a method of searching a CAM which enables to search an address of matching contents cyclically recorded in a memory array of the CAM with a priority at once, the method of searching a CAM array (2) having first address lines (20), whereof certain are made active when the CAM array (2) is searched with a search key, comprises steps of: obtaining restricted search results by making address lines of the first address lines (20) having addresses lower than a restriction address inactive; selecting logic of third address lines (70) from logic of the restricted search results when any of the restricted search results is active, and from logic of the first address lines (20) as it is, when none of the restricted search results is active; and outputting a searched address by encoding a lowest active address line of the third address lines (70).
|