Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYou have to enable code coverage for your unit/device under test (in your case "period_meter") if you want to see if these are covered. A 100% code coverage of your testbench just tells you that all instructions in your testbench are executed but not what coverage your unit under test has.
As Tricky said already you need to generate a stimulus for your unit under test or you will get 0% coverage for your component.