Measuring Coverage - Fujitsu SOFTUNE F2 MC-16 User Manual

Software for developing programs for the f2 mc-16 family of microprocessors / microcontrollers
Hide thumbs Also See for SOFTUNE F2 MC-16:
Table of Contents

Advertisement

2.1.12

Measuring Coverage

In the high-speed version simulator debugger, the C0 coverage measurement function is
provided. Use this function to find what percentage of an entire program has been
executed.
■ Coverage Measurement Function
When testing a program, the program is executed with various test data input and the results are checked for
correctness. When the test is finished, every part of the entire program should have been executed. If any part
has not been executed, there is a possibility that the test is insufficient.
It can know what percentage of the entire program executed when the coverage function for the high-speed
version simulator debugger to have is used.
In addition, details such as which addresses were not accessed can be checked.
In this debugger, the range to measure coverage can be set.
Please set the time base range only to the code area when you do the C0 coverage.
Moreover, the access of the variable can be examined as the variable not used is searched out by setting the
time base range to the data area.
■ Coverage Measurement Procedures
The procedure for coverage measurement is as follows:
• Set range for coverage measurement:
• Measuring coverage:
• Displaying measurement result:
■ Coverage Measurement Operation
The following operation can be made in coverage measurement:
• Load/Save of coverage data:
• Clearing coverage data:
• Canceling coverage measurement range:
CHAPTER 2 DEPENDENCE FUNCTIONS
SET COVERAGE
GO, STEP, CALL
SHOW COVERAGE
LOAD/COVERAGE. SAVE/COVERAGE
CLEAR COVERAGE
CANCEL COVERAGE
57

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents