目录
一 背景
为了仿真性能的提高,我们可以在编译时使用-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. |

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

1325

被折叠的 条评论
为什么被折叠?



