An excellent question. A CAM actually has two fields called TAG and DATA. The TAG is the field that is matched to the incoming data, but the DATA field is the output of the CAM. There is usually an auxiliary bit that tells you if there is a match or a no match in the TAG field.thanks for reply.but in my content addressable memory circuit input will be data and output will be address.then whats the use of address decoder there