[XCelium] Enable coverage collection with XCelium
Includes a minor change in the simulator.yaml file to pass coverage
related flags to xrun.
-uvmhome CDNS-1.2
-elaborate
-l <out>/compile.log <cmp_opts>
+ <cov_opts>
-xmlibdirpath <out>"
+ cov_opts: >
+ -coverage all
+ -nowarn COVDEF
sim:
cmd: >
- xrun -R -xmlibdirpath <out> <sim_opts> -svseed <seed> -svrnc rand_struct -nokey
+ xrun -R -xmlibdirpath <out> <sim_opts> <cov_opts> -svseed <seed> -svrnc rand_struct -nokey
+ cov_opts: >
+ -covmodeldir <out>/default/<test_id>.<seed>
+ -covworkdir <out>
+ -covscope default
+ -covtest <test_id>.<seed>
- tool: pyflow
sim:
