A waveform generating apparatus capable of outputting a desired waveform is
provided. Among delay data is selected a set pulse generating delay data
depending on test logical data and waveform mode information. The delay
data, a skew adjusting delay data, and a fraction data in each test cycle
are computed to obtain an integer delay data and a fraction delay data,
which are supplied to a counter delay circuit. From the counter delay
circuit are outputted a set pulse generating effective flag for delaying a
test period timing by a delay time corresponding to the integer delay
data, and a fraction delay data related thereto. The effective flag is
delayed based on the related fraction delay data to obtain a set pulse.
Similarly with the set pulse, a reset pulse is obtained, thereby to
set/reset an S-R flip-flop to output a desired waveform.