Reply To: False Error from Scoreboard – Empty function

Why OSVVM™? Forums OSVVM False Error from Scoreboard – Empty function Reply To: False Error from Scoreboard – Empty function

#997
Jim Lewis
Member

Hi Lyle,

Currently the scoreboard is only in the SynthWorks library.   In the version of the scoreboard you have, the default for GetErrorCount is to require the scoreboard to be empty or it will add one to the error count.   Also by default, the scoreboard expects you to check at least one item.  You can change these behaviors with SetFinish. 

The following will turn both of these off:

SB.SetFinish(
    FCheckCount => 0,
    FEmpty => FALSE,
   FStatus => FALSE);

From the quick reference card:
During GetErrorCount, if number of items checked by scoreboard < FCheckCount, then add one to the error count. If FEmpty and the scoreboard is not empty then add one to the error count. If FStatus, then write an error summary message for this scoreboard.

Note that SetFinish is deprecated in the current version of the scoreboard and this behavior has been moved to GetErrorCount.  The new version also uses alerts. 

Jim