TPT User's Guide - PikeTec
TPT User's Guide - PikeTec
TPT User's Guide - PikeTec
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Page 50 <strong>TPT</strong> User’s <strong>Guide</strong><br />
testcase.tvm<br />
Start<br />
tpt_vmapi_createExecution<br />
tpt_vmapi_bindTestOutputToAddress<br />
tpt_vmapi_bindTestOutputToAddress<br />
tpt_vmapi_bindTestOutputToAddress<br />
tpt_vmapi_bindTestInputToAddress<br />
tpt_vmapi_bindTestOutputToAddress<br />
tpt_vmapi_bindTestOutputToAddress<br />
tpt_inputs = SUT(tpt_outputs,...)<br />
tpt_vmapi_runCycle<br />
test<br />
end?<br />
tpt_vmapi_closeExecution<br />
9.4.1 <strong>TPT</strong>-VM-API for the execution platform<br />
End<br />
Figure 34: Flow diagram of the execution platform<br />
testcase.tptbin<br />
The functions of the <strong>TPT</strong>-VM-API are described in detail in the header file tpt_vm_api.h but<br />
will be described here shortly.<br />
tpt_vmapi_createExecution<br />
This function initializes the execution of a <strong>TPT</strong> test-case given as a so called TVM-file. The results<br />
of the <strong>TPT</strong>-execution are saved as <strong>TPT</strong>BIN-format.<br />
tpt_vmapi_bindTestInputToAddress<br />
This function assigns the output values of the system under test to the respective inputs to <strong>TPT</strong>.<br />
tpt_vmapi_bindTestOutputToAddress<br />
This function assigns the input values of the system under test to the respective outputs to <strong>TPT</strong>.