
In a CAM having valid cells, an idle word is detected and outputted by using the data in the valid cells and an address encoder. A detection circuit of an idle word for a content addressed memory having valid cells 15, which includes a unit 19 for supplying the output (valid 16) of the valid cell 15 to an address encoder 18 in response to an idle word detection signal IWD.











