Is it possible to use ModelSim Code Coverage tools whilst doing an HDL Cosimulation?
2 views (last 30 days)
Hi everyone, I'm trying to work out if there is a way (preferably without having to hack the generated TCL files) to turn on and use the Code Coverage tools in ModelSim when using the HDL Cosimulation feature of the HDL Coder. Anyone got any ideas??
Tao Jia on 19 Jul 2013
Yes, it's definitely supported but you'll have to modify the generated TCL files a little bit (it should be easy).
There is an HDL Verifier example to show this. The title of that demo is "Generating HDL Code Coverage Using Simulink and Mentor Graphics ModelSim".