{% set top = summary.top %} {% set timestamp = summary.timestamp %} {% set version = summary.version %}
{% if breadcrumbs %} {% endif %}

Simulation Results: {{ top.name }}

 
{{ timestamp.strftime("%d/%m/%Y %H:%M:%S") }} {% if version %} DVSim: v{{ version }} {% endif %} sha: {{ top.commit[:7] }} json Branch: {{ top.branch }}
{% macro coverage_cell(cov, kind) %} {% if cov and cov|attr(kind) is not none %} {% set value = cov|attr(kind) %} {{ "%.2f"|format(value) }} {% else %} - {% endif %} {% endmacro %}
{% for block_name in summary.flow_results.keys()|sort %} {% set flow = summary.flow_results[block_name] %} {% set cov = flow.coverage %} {{ coverage_cell(cov, "average") }} {% set code = cov|attr("code") %} {{ coverage_cell(code, "average") }} {{ coverage_cell(cov, "functional") }} {{ coverage_cell(cov, "assertion") }} {{ coverage_cell(code, "block") }} {{ coverage_cell(code, "line_statement") }} {{ coverage_cell(code, "branch") }} {{ coverage_cell(code, "condition_expression") }} {{ coverage_cell(code, "toggle") }} {{ coverage_cell(code, "fsm") }} {% endfor %}
Block Tests Coverage Summary Code Coverage
Pass Total % Overall Code Functional Assertion Block Line Branch Condition Toggle FSM
{{ block_name | upper }} {{ flow.passed }} {{ flow.total }} {{ "%.2f" | format(flow.percent) }}