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
);