1 / 9

Coverage completeness

Coverage completeness. Ofer Cohen. Cover what ?. Spec Expected scenarios Unexpected scenarios Configuration Interfaces Scoreboard / checkers / assertions HDL code coverage Designer specific requests. Were should the coverage be placed ?. Interfaces coverage in monitors.

niran
Télécharger la présentation

Coverage completeness

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Coverage completeness Ofer Cohen

  2. Cover what ? • Spec • Expected scenarios • Unexpected scenarios • Configuration • Interfaces • Scoreboard / checkers / assertions • HDL code coverage • Designer specific requests

  3. Were should the coverage be placed ? • Interfaces coverage in monitors. • Scenarios should be covered in the generation or scoreboard/checkers. • HDL code coverage is automatically. • Assertions / checkers coverage should be created automatically. • Designer specific requests usually using “HILHULIM” should be placed in different file or under “define”

  4. Who should be involved in the coverage definition ? • Verification designer, based on specification and interfaces definition. • HDL designer, for implementation-related coverage focus and specific coverage items. • System architect or other, with zoomed-out point of view, mostly for defining unexpected scenarios.

  5. Completeness killing • Large crosses. • Try to avoid them • If Holes remain, try to review the cross using code coverage results, and determine if all items of the cross are truly necessary. • Match coverage expectation to the Verification environment scope (Don’t expect system level coverage to be the same as block level). Define well what will be covered in which environment.

  6. Completeness killing cont. • Designers tend to add capabilities to their block in order to make it more robust (behavior in wrong configuration scenarios, neighbor blocks error defense,…) . Sometimes it is wise to avoid checking/covering these capabilities. • Random environment may not always be easily manipulated to produce directed tests. When writing environment always think how easily it can be manipulated to create specific scenarios.

  7. Coverage completeness flow(based on simulator only verification environment) • Reach 95% + of functional Paths/ features (not cross items or special scenarios) • 90% + of checks coverage. • Run code coverage and if necessary update functional coverage plan . • Reach 100% of functional Paths/ features + 95% of all functional coverage + 100% Code coverage. (or good excuse why not)

  8. Coverage completeness flow cont. • Review cross coverage tables with holes according to spec and code coverage results. • 6 Define verification end-point, re-calculate risks of uncovered holes and act accordingly. Keep in mind that in engineering there is nothing as 100% good, only good enough.

  9. Open issues • When verifying design using FPGA or other non-simulator environments, code coverage need to be checked only for the “simulator based verification” and this may not easily distinguished.

More Related