Identify the top-level design units in user design.
Language
Verilog, VHDL
Rule Description
The DetectTopDesignUnits rule identifies all top-level design units that are being processed by SpyGlass.Spyglass 靠这货认识了所有的顶层文件
NOTE:Unlike other basic rules, you cannot switch off the DetectTopDesignUnits rule; this rule will always run. 它不能关闭,永远会跑
NOTE:The DetectTopDesignUnits rule is a high-profile rule and is reported first in all SpyGlass standard reports. 你跑的时候它第一个汇报
Quite often, it is observed that SpyGlass is processing design units that are not part of design hierarchy that you would be interested in. This causes wasted CPU time and memory, and in fact may result in design appearing bigger than what it actually is required to be. 有时候你不需要跑某个模块,你对它不感兴趣
You should carefully review the top-level design unit list that the DetectTopDesignUnits rule reports. If there is a significant design component that is not relevant to your analysis, use the set_option top <du-name> command in the project file to select the design hierarchy that is relevant. 然后你就可以采用这个指令把顶层模块从新划定,这样有些模块就不会被用到,自然就不分析了
Message Details
The following message appears when a top-level design unit <du-name> of <type> is encountered: 出现以下消息的时候这个信息就会蹦出来
<type> <du-name> is a top level design unit
Where <type> can be Module (for Verilog) or Architecture or Configuration (for VHDL). 这对VHDL,Verilog语言都是会涉及的一个消息
Severity
Info 大概就是没事
Error: set_goal_option can not be executed after link design
当在链接设计完成后调用set_goal_option函数时会出现此错误。根据SpyGlass手册,应在进行链接设计之前调用set_goal_option函数来指定分析的目标和选项。要解决此错误,请确保在启动链接设计之前调用set_goal_option函数。
Error: get_goal_option can not be executed after link design, please select a methodology and a goal first
这个错误表明在完成链接设计后调用get_goal_option函数时,没有先指定方法和目标。SpyGlass手册规定,在调用get_goal_option函数之前必须先选择分析的方法和目标。要解决此错误,请确保在调用get_goal_option函数之前选择方法和目标。
Error: remove_goal_option can not be executed after link design
当在链接设计完成后调用remove_goal_option函数时会出现此错误。SpyGlass手册指定应在链接设计之前调用remove_goal_option函数来删除先前设置的目标和选项。要解决此错误,请确保在启动链接设计之前调用remove_goal_option函数。