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