PURPOSE: To make the structure of a hardware part into common use regardless of a circuit function by forming an input buffer, an output buffer, a logic gate, a wiring switch, and a control memory on a semiconductor substrate in advance.
CONSTITUTION: The input buffer 2, the output buffer 5, the logic gate 3 are arranged in the peripheral part of the semiconductor substrate O, and the wiring switch 4 to decide wiring between them is arranged in the central part. The wiring switch 4 can be comprised by forming, when two-layer aluminum wiring, for example, being employed, a wiring part with first layer aluminum wiring and forming the wiring part shown in continuous line with second layer aluminum wiring, and inserting a transfer gate between them in the neighborhood of the cross point of them. Thus, it is possible to freely comprise a required circuit by inputting required data to the control memory.