摘要 |
PROBLEM TO BE SOLVED: To provide an addition circuit capable of quickly adding a 2nd value having bit width smaller than that of a 1st value in order to solve a conventional problem. SOLUTION: The addition circuit for adding the 1st value to the 2nd value having bit width smaller than that of the 1st value consists of an adder for adding a 3rd value having the same bit width as that of the 2nd value and consisting of the lower bit of the 1st value to the 2nd value and an upper bit processing circuit connected to the adder and capable of receiving a 4th value consisting of the upper bit string of the 1st value except the lower bit of the 1st value and the uppermost bit of the 2nd value and outputting any one of the 4th value, a value obtained by increasing the 4th value and a value obtained by decreasing the 4th value on the basis of the carry value of the uppermost bit of the adder and the uppermost bit value of the 2nd value. |