Patent ID: 7009862

Claim:
A semiconductor device having a memory unit comprising: a word line; a data line provided to cross the word line; a memory cell provided in a crossing portion of the word line and the data line; a comparison data line for fetching comparing data; and a match line for obtaining a result of a comparison of the comparing data transmitted through the comparison data line with data stored in the memory cell, wherein the memory cell includes a first storage portion, a second storage portion provided separately therefrom, and comparing means capable of comparing the comparing data transmitted through the comparison data line with data stored in the first storage portion and the second storage portion, wherein the data line is shared by the first storage portion and the second storage portion, wherein the comparison data line includes a first comparison data line and a second comparison data line, wherein the comparing means includes a first comparing circuit constituted by connecting a first transistor coupled to the first comparison data line and a second transistor coupled to a storage node of the first storage portion in series, and wherein a second comparing circuit constituted by connecting a third transistor coupled to the second comparison data line and a fourth transistor coupled to a storage node of the second storage portion in series.