A semiconductor integrated circuit includes a first delay circuit
generating a first delay clock; a second delay circuit generating a
second delay clock; a first register registering a value of a first delay
of the first delay clock; a second register registering a value of a
second delay of the second delay clock; a clock supplying circuit
supplying a clock signal to the first and second delay circuits; a phase
comparator detecting a phase difference between the first and second
delay clocks; and a built-in test circuit configured to control the first
and second registers so that the value of the first delay can be
registered in the first register and the value of the second delay can be
registered in the second register.