I am trying to use these two functions to accumulate the coverage results across different testcases. I am using Active-HDL 10.5 with OSVVM 2017.05.
So, after finishing the coverage collection in my first testcase, I save the results with the command:
cp_link_fsm.WriteCovDb( “TC1CpLinkFsmDb.txt”, WRITE_MODE ) ;
On the next testcase, before starting to collect the coverage, I just load the coverage model DB with :
cp_link_fsm.ReadCovDb( “TC1CpLinkFsmDb.txt”, TRUE);
The execution of this command generates the following error message in the simulator:
Alert FAILURE in cp_link_fsm, CoveragePkg.AddCross: Cross coverage bins of different dimensions prohibited …
Maybe I am missing something or is related to the fact that my coverage model is made from cross coverage.