The semiconductor integrated circuit according to claim 1, image data other than the image data having the maximum unit bit length being changed to have the maximum unit bit length by inserting a fixed value in a lower level bit side of the image data, such that a comparison condition is always satisfied for a portion of the fixed value of the image data in the comparison circuit.