system-veriloguvmcadence

How can we add functional coverage while running simulation using NCSIM


I am trying to run a coverage regression using the NC tool from Cadence. I can see RTL coverage, but functional coverage in the scoreboard is missing. How can I add this scoreboard to the covdut option in NCSIM arguments? The scoreboard contains covergroups.


Solution

  • By default, Incisive does not collect functional coverage. You need to enable it with the compile-time -covfile option, specifying select_functional.

    Also, in the source code, you must explicitly call the sample function on all covergroups (this applies to all simulators).