Abstract
Abstract The number of gates in the ALU decoder depends on the control code assignment in the specification of the functions. This paper presents an assignment method which achieves the quasi‐minimum number of gates in the decoder. The ALU functions are specified by the function identifiers and the relations between the data input and output terminals. The logical structure model for ALU is constructed and together with the function specifications, leads to the logical expression for the decoder. The obtained logical expression is the logical disjunction of the function identifiers. The function identifiers are replaced by the control codes, and the code assignment is made so that the number of product terms is the quasi‐minimum when the simplification is made. The assignment time for the control codes of ALU with 32 function is approximately 160 s in the 2 MIPS computer.