Design Compiler:中断命令/脚本的执行

相关阅读

Design Compilerhttps://blog.youkuaiyun.com/weixin_45791458/category_12738116.html?spm=1001.2014.3001.5482


中断命令的执行

        如果在使用命令时输入了错误的选项或输入了错误的命令,可以使用Ctrl+C手动中断命令的执行并返回到dc_shell中,此时终端会提示"Information:  Interrupting current command.  (INT-2)";如果在命令响应中断前再次使用Ctrl+C,终端会提示"Information:  One more interrupt will exit process.  (INT-3)";如果在命令响应中断前使用了三次Ctrl+C,dc_shell进程会被终止并提示"Information:  Process terminated by interrupt.  (INT-4)"。以上行为对于dc_shell也是成立的,即可以把dc_shell当作一个一直在执行的命令。

        有些命令无法中止,比如update_timing命令,要中止它们必须从系统级别终止dc_shell。

中断脚本的执行

        如果此时由于source命令或dc_shell -f命令正在执行脚本,可以使用Ctrl+C手动中断当前执行的命令,忽略脚本中的后续命令并返回到dc_shell中。

中断综合命令的执行

        对于compile命令和compile_ultra命令的中断与其他命令情况有所不同,需要进行分类讨论。

映射阶段

        如果设计此时处于映射阶段,使用Ctrl+C时终端会提示"Information:  Ignoring interrupt signal since the design is being mapped. One more interrupt will abort optimization without transferring the design...  (INT-7)"并忽略此中断信号;如果在该阶段再次使用Ctrl+C,终端会提示"Information:  Aborting optimization without transferring the design...  (INT-8)"并中断综合,设计的当前状态不会返回,因为尚未完全映射;如果在该阶段使用了三次Ctrl+C,dc_shell进程会被终止并提示"Information:  Process terminated by interrupt.  (INT-4)"。

优化阶段

        如果设计此时处于优化阶段,使用Ctrl+C时终端会提示"Information:  Preparing to interrupt optimization  (INT-5)"并显示菜单(交互模式),综合必须完成当前的转换才能显示菜单,这可能需要几分钟;如果在该阶段再次使用Ctrl+C,终端会提示"Information:  Aborting optimization...  (INT-6)"并中断综合,设计的当前状态会返回;如果在该阶段使用了三次Ctrl+C,dc_shell进程会被终止并提示"Information:  Process terminated by interrupt.  (INT-4)"。

Information:  Preparing to interrupt optimization  (INT-5)
Please type in one of the following options:
    1 to write out the current state of the design
    2 to Abort optimization
    3 to Kill the process
    4 to Continue optimization
Please enter a number:
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

日晨难再

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值