Switching Off assertion (xmsim: *E,ASRTST (monitor.svh,149))

Hi All,

xmsim: *E,ASRTST (monitor.svh,149): (time 111558750 PS) Assertion pci_lib.pci_pkg::monitor@156350_492.write_pci_mon.unmblk2.checks.PCI_AVG_BF_LEN_ERR has failed
UVM_ERROR /vobs/asic/vip/vip_lib/pci/sv/pci_monitor.svh(155) @ 111558750: uvm_test_top.m_iqx_tb.m_iqx_env.m_iqx_o_pci_engress_agent[0].monitor [uvm_test_top.m_iqx_tb.m_iqx_env.m_iqx_o_pci_engress_agent[0].monitor] Difference between latest average Basic Frame length and expected value exceeds configured tolerance.
| Expected: 208.333333 | Calculated: 266.677043 | Difference: 58.343709 | Tolerance: 5.000000 |

I am trying to SWITCH-OFF this assertion during “end_of_elaboration” phase of my test, but doesn’t seems to be working. I tried 2 ways, but none is working. Please let me know, if I am missing something.

1)=====================================================================
$assertoff(0, engress_agent[00].monitor.PCI_AVG_BF_LEN_ERR);
$assertoff(1, engress_agent[00].monitor.PCI_AVG_BF_LEN_ERR);

2)=====================================================================
$assertoff(0, engress_agent[00].monitor.write_eci_mon.unmblk2.checks.PCI_AVG_BF_LEN_ERR);
$assertoff(1, engress_agent[00].monitor.write_eci_mon.unmblk2.checks.PCI_AVG_BF_LEN_ERR);