#VCS#关于 <-debug*> 和 <-debug_access*> 切记晕头转向

本文介绍了VCS编译时的-debug_access和-debug_region选项,详细解析了它们的语法和使用场景,强调了如何通过精细化控制来优化仿真性能。-debug_access选项从2014.03版本开始被推荐使用,而-debug_region则在2015.09版本引入,两者结合能有效控制调试功能的作用范围,提高仿真效率。
摘要由CSDN通过智能技术生成

目录

一 背景

二 语法

三 关于 -debug_access 选项

四 关于 -debug_region 选项

五 -debug_access* 对性能影响


一 背景

        为了仿真性能的提高,我们可以在编译时使用-debug_access+选项,来更好地控制仿真中调试的功能。与-debug_pp选项相比,-debug_access选项允许存储VPD和FSDB文件以进行后处理调试,并减少不必要的调试选项。可以使用-debug_access+指定其他选项,以有选择地启用所需的调试功能。 这样通过只启用所需的调试部分功能,可以一定程度上优化仿真性能。

二 语法

语法: debug_access(+<option>)*

三 关于 -debug_access 选项

选项 组合 功效详细描述
r -debug_access+r The -debug_access+r option enables the read capability for the entire design.
w -debug_access+w The -debug_access+w option applies write (deposit) capability to the registers and variables for the entire design.
wn -debug_access+wn The -debug_access+wn option applies write (deposit) capability to the nets for the entire design.
f -debug_access+f

The -debug_access+f option enables the following:

(1)Write (deposit) capability on registers and variables.

(2)Force capability on registers, variables, and nets.

This option is equivalent to -debug_access+w+fn

fn -debug_access+fn The -debug_access+fn option applies force capability to the nets for the entire design.
fwn -debug_access+fwn The -debug_access+fwn option applies write (deposit) and force capability to all nets in the design.
line
  • 4
    点赞
  • 56
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

那么菜

你的鼓励和批评是我最大动力

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

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

打赏作者

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

抵扣说明:

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

余额充值