Verissimo SystemVerilog Testbench Linter - How to Generate a Custom Report
Overview
This video shows how you can generate the results of Verissimo in a custom format such as xml, json, csv or plain text.
Explore the design and verification tools: https://www.dvteclipse.com
Or request a license: https://www.dvteclipse.com/request-license
Details
Introduction
Sometimes you might want to generate the results of Verissimo in a custom format. Common use cases include:
- XML or JSON for feeding results into a database
- CSV for opening the report in a spreadsheet editor
- Plain text for email notifications
to name just a few.
Generating Custom Reports from a FreeMarker Template
For maximum flexibility, custom reports are generated from a FreeMarker template. In the template file, you can easily capture the custom report structure and fill in the desired data using calls to the model provided by Verissimo.
Using the Verissimo Command Line
Once you have the template ready, simply pass it on the Verissimo command line using "-gen custom report"
. Several custom reports can be generated in a single Verissimo run by specifying multiple templates. The custom report file name is inherited from the template file, except the extension following the last dot.
Accessing the Data Model API
The API available in the data model is documented in the Verissimo User Guide and gives you access to general statistics and summary data, as well as information about each check and each failure.