Updating and Reviewing Simulation Results and Code Coverage Reports from Linux and Unix Platforms


Spec-TRACER provides features for test management, as well as streamlines traceability management from the highest level of requirements down to verification results and code coverage reports. To achieve this within Spec-TRACER, Aldec Inc. delivers the standalone SpecTrSimRes.exe tool, which allows updating verification results in batch mode from any HDL simulator.

Spec-TRACER and the SpecTrSimRes.exe tool can be used for Windows platforms only, but users are also able to update simulation results based on files generated on Linux and Unix platforms.

Steps for Using SpecTrSimRes.exe With Simulation Files Located on Linux and Unix Machines

In this application note, we will use the Arinc429 Receiver sample design which is shipped with Spec-TRACER.

  1. Share the folder containing simulation results from Linux or Unix to the Windows machine where Spec-TRACER is installed. This step is usually managed by your network administrator.

  2. From the Windows machine, map the shared Linux/Unix folder as a network drive.

    Figure 1. Mapping a shared folder as a network drive.

    Figure 2. Selecting a drive letter for the shared folder.

  3. Prepare a script to find the required simulation files and execute the SpecTrSimRes.exe tool.

    Figure 3. Batch script to update simulation results in Spec-TRACER.

    The script above here finds the simulation logs, detailed and cumulative code coverage reports, as well as simulation waveforms, and then associates the relevant files to your test session.

    Figure 4. Spec-TRACER database updating results from script execution.

  4. Open Test Sessions view in Spec-TRACER Client to review simulation results from Spec-TRACER.

    Figure 5. Simulation results available from Spec-TRACER Client.

    The items view can be updated with additional information, including associated files. Here we can see that our code coverage detailed reports (.html), code coverage cumulative reports (.txt), simulation log files (.log), and waveforms (.asdb) are all associated with their relevant test sessions.

  5. Select any of the test session items and open the Associated Files tab from the Properties panel. From this tab, you can open any simulation file for further analysis (e.g. coverage html report).

    Figure 6. Simulation files available from Spec-TRACER.

    Figure 7. The associated Cumulative Coverage Report.

    Figure 8. The associated Detailed Coverage Report.

  6. Use Full Traceability Matrix to get relationships between FPGA requirements and simulation files like waveforms and coverage reports. The same accessibility of these associated files is available by right clicking on the desired file and selecting "Open File".

    Figure 9. Opening a coverage report from the Full Traceability Matrix.

Printed version of site: www.aldec.com/en/support/resources/documentation/articles/2000