SpyGlass 问题汇总

文章介绍了SpyGlass如何识别顶层设计单元,以及在处理Verilog和VHDL设计时可能出现的规则和错误,如无法关闭的DetectTopDesignUnits规则,以及在链接设计前后设置、获取和删除目标选项的正确步骤。
摘要由CSDN通过智能技术生成

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函数。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值