Ben,
A suggestion for your next edition of your book-- add a few examples of an assertion and a related cover statement, so that the reader gets the idea of how the two are related. Then someone might more easily see the benefit of using your API to combine the two under a combined reporting number.
Other readers using Questasim (who are as naive as I am about coverage reporting):
I did locate Questasim User Manual documentation regarding Aggregate coverage reporting (cover + assertion reporting), in the Coverage Aggregation link found here:
https://supportnet.mentor.com/docs/201604008/docs/htmldocs/mgchelp.htm#context=questa_sim_user&id=960&tag=id52585b19-cb2f-417e-9962-73172199ae8b
The “coverage binning and calculation” page linked within the “calculation and total coverage” from the above page states that assertions are aggregated as they do not fail and occur non-vacuously.
Make sure to enable Structure>Code_Coverage>Enable_Recursive_Coverage_Sums for hierarchical accumulation of coverage.
The columns can be enabled in the Structure pane by right-clicking in a column heading, and select “Change Column Visibility”.
I found these columns useful: Instance, Visibility, Top Category, Total Coverage, Cover%, Assertion%, Covers hit, Covers Missed, Cover graph, Assertions hit, Assertions missed, Assertion graph.
Your structure pane settings can be saved by right-clicking in a column heading, select “Export Column Configurations.”
I also checked that a merged UCDB can indeed be displayed with the expanded-columns Structure pane. Very nice.