A method and apparatus for automatically providing a Next Free Address
(NFA) within a Content Addressable Memory (CAM) is disclosed. The NFA can
be determined simultaneously with a search process using a priority
encoder for indicating a highest priority storage location for a matching
address, thereby expediting the NFA search.