Reply To: Merging coverage databases
Is there any documentation or use-examples for the ReadCovDb or ReadCovDb with Merge? I’ve been trying to get it to do something, but it always returns errors when reading my CovDb.txt file (see Error Message below). The WriteCovDb works fine, by appending coverage reports to the file for each simulation run.
And along with the ReadCovDb error, I’m not even sure what it that subprogram is supposed to do. We are thinking of writing a script to accumulate coverage for all testcase runs, but I’m hoping that the Coverage Package can perform this accumulation function.
UartRx_RxCov.ReadCovDb ("CovDb.txt") ; -- causes simulation error.
UartRx_RxCov.WriteCovDb ("CovDb.txt", APPEND_MODE) ;
# ** Failure: ReadCovDb: Failed while reading Seed
# Time: 12477500 ns Iteration: 2 Process: /tbmemio/U_TestCtrl/CpuTestProc File: ../SynthWorks/CoveragePkg.vhd
# Break in Subprogram failed at ../SynthWorks/CoveragePkg.vhd line 768
# Stopped at ../SynthWorks/CoveragePkg.vhd line 768
# Simulation Breakpoint: Break in Subprogram failed at ../SynthWorks/CoveragePkg.vhd line 768
# MACRO ./bfm.do PAUSED at line 99