Note that in this embodiment mode, a NOR cell and a NAND cell are taken as an example of the standard cell of which logic circuit on the input side and the logic circuit on the output side are each formed of a gate circuit, however, other gate cells such as a NOT cell, an OR cell, an AND cell, an XOR cell, and an XNOR cell may be formed similarly.