Turning off OSVVM functional coverage collection in Aldec (or NVC)

Why OSVVM™? › Forums › OSVVM › Turning off OSVVM functional coverage collection in Aldec (or NVC)

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3003
    Jim Lewis
    Member

    Recently I had a question about how do I turn off the OSVVM functional coverage collection in Aldec (as it requires a code coverage license)?

    The short answer is, before building OsvvmLibraries do:
    set ::osvvm::FunctionalCoverageIntegratedInSimulator "default"

    Longer answer:
    In OSVVM.pro, the vendor package is selected by the following:
    analyze CoverageVendorApiPkg_${::osvvm::FunctionalCoverageIntegratedInSimulator}.vhd

    The default is set in OsvvmSettingsVendorScriptsDefault.tcl:
    variable FunctionalCoverageIntegratedInSimulator "default"

    In VendorScripts_RivieraPRO.tcl, it is overridden to be:
    variable FunctionalCoverageIntegratedInSimulator "Aldec"

    To turn it off, create an OsvvmSettingsLocal.tcl file (see documentation OsvvmSettings_user_guide.pdf) and add:
    variable ::osvvm::FunctionalCoverageIntegratedInSimulator "default"

    To have effect, OsvvmLibriares/OSVVM must be recompiled. If you do not already have an OsvvmSettingsLocal.tcl, this can alternately be done in a user script or at the command line before building OsvvmLibraries.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.