cm_hier file for Code Coverage

We can use -cm_hier to specify certain modules/instances to be included when VCS do compiling for coverage.
Some useful cmd :

  • +tree instance_name [level_number] : VCS compile only the specified instance and the instances under it for coverage (for entire hier under this instance name).
  • -tree : for exclude one instance from coverage and other instances under it.
  • +module module_name : VCS only compiles all instances of the specified module. Meanwhile, excluding all other definitions under it for coverage. (only for this module’s all instances)
  • -module : VCS only exclude all instances of this module, keeping all other definitions under it for coverage.
  • +moduletree module_name : VCS provides coverage metrics for each hierarchy tree starting at each instance of the specified module (for this module’s all instances and entire hier under this module).
  • -moduletree : excluding coverage for all instances of the specified module and all module instances below the specified module.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章