您的位置:首页 > 其它

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

Protected Attributes

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
);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: