A storage medium in which a design program for designing a semiconductor integrated circuit testing the operation of an internal circuit is stored,
- the design program comprising the steps of:
- input ting a net list of a semiconductor integrated circuit including:
- a storage device including a data input terminal and a control terminal;
- a first circuit section for generating data to be supplied to the data input terminal of the storage device;
- and a second circuit section for generating a signal to be supplied to the control terminal of the storage device;
- adding a selector and a select signal output circuit to the semiconductor integrated circuit, the selector selecting one of an output signal of the first circuit section and an output signal of the second circuit section and supplying the selected signal to the data input terminal of the storage device, the select signal output circuit outputting a select signal, instructing a select operation of the selector, to the selector;
- and
- constituting the storage device by a scan flip-flop and inserting a scan path, including the scan flip-flop, into the semiconductor integrated circuit.