I trying to generate functional coverage using irun command.
I have given "-coverage functional" in the elab phase. I am not getting any of the data orirnted coverage. Can anybody knows what I am missing.
One other thing: do you use "iccr" or "imc" to view the coverage results?
I would strongly recommend to use "imc" as it's much newer and has better analysis capabilities. The old iccr tool isn't being developed any more.
What's more, in iccr it doesn't show type-based funstional coverage, it can only show instance-based coverage, so if you didn't declare your coverage using the option.per_instance=1 then coverage will be collected but only for type-based, and iccr cannot show it. However if you use "imc" then it can show type-based and instance-based coverage. See http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=11794766 for more info.