摘要 |
A circuit includes a control flip-flop inputting a scan control signal and a scan path chain formed of scan storage elements serially connected. The scan path chain performs a shift operation as a first mode when the control flip-flop outputs a first status value, and performs a normal operation as a second mode when the control flip-flop outputs a second status value. When the scan control signal is switched from the first status value to the second status value, the control flip-flop outputs the second status value to the scan storage elements in synchronization with a first clock pulse, after the switching, of a clock provided to the scan storage elements. When the scan control signal is switched from the second status value to the first status value, the control flip-flop outputs the first status value to the scan storage elements at a timing of the scan control signal switching. |