How to disable AXI Monitor VIP protocol checking
2010-12-13 10:06
316 查看
AXI Monitor VIP supports user-defined enable/disable protocol checking (enable by default):
dw_vip_axi_system_model_configuration class
VMT_BOOL m_blChkProt = VMT_TRUE
As you can see, this attribute is PROTECTED, you can’t access it directly. VIP provide a separate method to access this protected attribute:
task setChkProt (VMT_BOOL nChkProt, integer kind=-1)
Here is an example to disable the protocol check of Slave AXI monitor VIP :
dw_vip_axi_system_model_configuration vip_axi_sys_cfg;
dw_vip_axi_port_model_configuration vip_axi_slave_cfg;
vip_axi_sys_cfg = new (, 1, 1, VMT_BOOLEAN_FALSE);
vip_axi_sys_cfg.setChkProt (0, );//disable protocol check
vip_axi_slave_cfg = vip_axi_sys_cfg.createPortMdlCfg (`DW_VIP_AXI_SLAVE_PORT_CFG, 0);
vip_axi_slave_monitor = new ("AXI Port Monitor Slave",
slave_monitor_mp ,
vip_axi_slave_cfg
);
dw_vip_axi_system_model_configuration class
Protected Attributes |
As you can see, this attribute is PROTECTED, you can’t access it directly. VIP provide a separate method to access this protected attribute:
task setChkProt (VMT_BOOL nChkProt, integer kind=-1)
Here is an example to disable the protocol check of Slave AXI monitor VIP :
dw_vip_axi_system_model_configuration vip_axi_sys_cfg;
dw_vip_axi_port_model_configuration vip_axi_slave_cfg;
vip_axi_sys_cfg = new (, 1, 1, VMT_BOOLEAN_FALSE);
vip_axi_sys_cfg.setChkProt (0, );//disable protocol check
vip_axi_slave_cfg = vip_axi_sys_cfg.createPortMdlCfg (`DW_VIP_AXI_SLAVE_PORT_CFG, 0);
vip_axi_slave_monitor = new ("AXI Port Monitor Slave",
slave_monitor_mp ,
vip_axi_slave_cfg
);
相关文章推荐
- how to generate AXI VIP built-in coverage
- How to use AXI VIP
- How to disable SSL certificate checking with Spring RestTemplate?(使用resttemplate访问https时禁用证书检查)
- How to covert AHB BUS monitor VIP to AHB Master Port monitor
- How to use, monitor, and disable transparent hugepages in Red Hat Enterprise Linux 6
- How to disable SSL certificate checking with Spring RestTemplate?(使用resttemplate访问https时禁用证书检查)
- How to Disable SELinux
- How to disable button in Add/Remove Programs?
- How to: How to disable Java Security Warning "The application requires an earlier version of Java."
- How To Monitor Remote Windows Machine Using Nagios on Linux
- How to Enable or Disable Hibernate in Windows 7
- How to Monitor Your Network Usage in Windows 8 (And Prevent Paying For The Extra Bandwidth)
- Docker: How to enable/disable HTTP Proxy in Toolbox
- How to disable ARP in ns-2
- Checking monitor must be configured to display at least 256 colors Could not ex
- how to monitor system logs and export to files simultaneously
- How to Monitor Network Traffic in Linux
- How to check and disable Adaptive Cursor Sharing in 11g
- How to Monitor Java Garbage Collection
- How to disable Storage I/O Control for an unavailable datastore (VMware Front Experience)