PURPOSE: To simplify the circuit constitution and to make the circuit integration easy, by providing a circuit generating a voltage in response to the rate of the number of high level inputs to the number of low level inputs, and a circuit converting the level to a high or a low level in response to the voltage.
CONSTITUTION: Inverters 1∼5 comprising CMOS transistors (TRs) are connected in parallel between a power supply VDD and the ground and inputs A∼E are applied respectively to the inverters 1∼5, which outputs a voltage in response to the rate of the number of high level inputs to the number of low level inputs of the inputs A∼E. An output of the inverters 1∼5 is applied to an inverter 6 comprising MOS TRs, and the inverter 6 converts an inputted voltage into a high or a low level in response to an input voltage. The constitution of a 5-input majority logic circuit is simplified and the circuit integration is made easy.