modelsim coverage
hi,
Firstly, u need to compile ur design file with ur selected coverage. For example,
ModelSim > vlog -cover bcst file_name.v
Here, ur coverage are b=branch, c=condition, s=statement and t=toggle.
then,
ModelSim > vsim -coverage file_testbench.v
next, run -all.
OR, u can enable it using GUI. U go to Compile > Compile Options and select the Coverage tab.
Another option, u just right-click on ur design file at "Project" and choose "Properties". Now, u can see coverage tab.
Hope it helps.