Lesson 2 – Creating a Test Method
464
Supported APIs The following APIs are supported by the Emulator:
Data File for
Emulator
Data to be returned by the Emulator is previously prepared in the
file that is called “Hardware (HW) Response File”. This file
contains the hardware response data such as analog waveform
data, measurement values and so on, or pass/fail result of a
testsuite. HW Response Files for a testflow can be created by
executing a testflow using the Emulator in “Store” mode. You can
apply one of the following data to the HW Response File:
• Online test results
By executing a testflow or testsuite(s) online using the Emulator
in “Store” mode, the Emulator stores the test result (pass/fail) and
hardware response data in different files automatically when the
execution reaches the end of the testsuite or the test method API
for retrieving hardware response data.
Storing Online Measurement Data using Emulator
•
User-programmed data
By executing a testflow or testsuite(s) offline using the Emulator
in “Store” mode, the Emulator opens the prompt window
interactively when the execution reaches the end of the testsuite
or the test method API for retrieving hardware response data. In
the window, you can specify the desired data file as virtual test
• DGT().getWaveform ()
• TIA.getMean(),.getMean(),.getMin(),.getMax(),.getJitter()
• Vector().getVector()
• SpecSearch API;
.getResultSpec(),.getPassVal(),.getFailVal()
• PMU_IFVM(),PMU_VFIM(),DPS_VFIM(),PPMU_MEASURE
• FW_TASK(command,answer)
• GET_FUNCTIONAL_RESULT()
• TEST() (except DC test)
File File
Store hardware
response data
Store test result
data (pass/fail)
Test Execution
Emulator
(Store mode)
(Test Method Program)
Testsuite
API for retrieving
hardware response
Online Mode:
Access
Data
Judge pass/fail
of testsuite