1. A semiconductor device comprising: a plurality of memory cell blocks including a plurality of memory cells for storing a predetermined amount of data; wherein each of said memory cell blocks having three or more inputs and three or more outputs includes two readout address decoders as to said memory cells internally, stores truth table data for outputting a desired logical value as to predetermined address input, and is configured so as to operate as a logic circuit; and wherein said memory cells include two readout word lines corresponding to said two readout address decoders, and in the case of the voltage of both of the two readout word lines being applied, the data held at this time is read out from readout data lines; and wherein between said memory cell blocks is connected such that the three or more outputs from one memory cell block are input to three or more other memory cell blocks.