摘要 |
PROBLEM TO BE SOLVED: To provide a signal processing circuit capable of optionally changing a reference value and realizing the circuit of a small gate scale. SOLUTION: In this signal processing circuit for comparing the input A with the reference value D, changing the mixing ratio of the input B and the input C based on the compared result and adding them, while a controlled variable (n) is calculated by comparing the absolute value of the input A with the reference value D in an (n) calculation circuit 12 and addition or subtraction is controlled based on the judged result of a positive/negative judgement circuit 13, a value for which the input B shifted for a shift amount corresponding to the controlled variable (n) in a barrel shifter 14 is added or subtracted to/ from the input B whose signal level is multiplied by 1/2 in a 1/2 circuit 15 in an addition/subtraction circuit 16 and the value for which the input C shifted for the shift amount corresponding to the controlled variable (n) in the barrel shifter 17 is subtracted or added from/to the input C whose signal level multiplied by 1/2 in the 1/2 circuit 18 in a subtraction/addition circuit 19 are calculated and they are added in an adder 20. |