Patent ID: 7216271

Claim:
A testing apparatus for performing a setup testing or a hold testing on a device under test storing a given data signal according to a given clock signal comprising: a timing generating unit for generating sequentially a plurality of timing signals having different timings during the setup testing or the hold testing on the basis of a first offset value given before starting the setup testing or the hold testing; a pattern generating unit for generating the clock signal and the data signal; a pattern formatting unit for shifting the phase of the data signal with respect to the clock signal sequentially according to the timing signals sequentially generated and providing the device under test with the clock signal and the phase-shifted data signal sequentially; and a determining module for acquiring a setup time or a hold time of the device under test on the basis of storage data which are the data signals stored by the device under test, wherein said determining module compares each of the storage data which should be retrieved from the device under test with an expectation value signal and acquires the setup time or the hold time necessary for the devices under test storing the data signal on the basis of a comparison result of the storage data and the expectation value signal and the corresponding phase shift amount.