fvm.toolchains.questa_pkg.parsers.parse_xverify module

Warning

Callables that are not documented in the Public API are not intented to be directly used and thus may change between minor versions.

Parser for xverify reports.

This module provides functions to parse checks with their types and results, count occurrences, and group them by results.

It is specifically for Questa X-Check results.

fvm.toolchains.questa_pkg.parsers.parse_xverify.group_by_result(data)[source]

Group all xverify items by their results.

Parameters:

data (list of dict) – List of dictionaries with “Type” and “Result” keys

Returns:

Dictionary with counts and type per result

Return type:

dict

fvm.toolchains.questa_pkg.parsers.parse_xverify.parse_type_and_result(file_path)[source]

Parse a xverify report file and extract Type and Result information.

Parameters:

file_path (str) – Path to the report file

Returns:

List of dictionaries with “Type” and “Result”

Return type:

list of dict