Home > Community > Forums > Functional Verification > How to disable vr_axi checks

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to disable vr_axi checks 

Last post Tue, Jan 7 2014 1:19 AM by StephenH. 5 replies.
Started by deviprasada 03 Jan 2014 03:49 AM. Topic has 5 replies and 4720 views
Page 1 of 1 (6 items)
Sort Posts:
  • Fri, Jan 3 2014 3:49 AM

    How to disable vr_axi checks Reply

    Hi I am new to vr_axi enviorment,in my testbench i have some axi interfaces. I want to understand how to disable vr_axi checks like below

    "ERR_VR_AXI190***"

    • Post Points: 20
  • Fri, Jan 3 2014 8:46 AM

    • StephenH
    • Top 25 Contributor
    • Joined on Tue, Sep 2 2008
    • Bristol, Avon
    • Posts 268
    • Points 4,325
    Re: How to disable vr_axi checks Reply

    Hi.

    This is done using the set_check() method, either at the start of the test, or even just during a part of the test, since you can switch the errors back on again if you wish. Here's a simple time-zero example.

    extend sys {
      run() is also {
        set_check("...ERR_VR_AXI190...",WARNING); // or IGNORE or ERROR_CONTINUE etc.
      };
    };

    More information can be found in the "cdnshelp"  tool by searching for "set_check". There are also vr_axi examples of using set_check in the vr_axi package itself, e.g. in the file:

    VIPCAT11.30.007-s/packages/vr_axi/examples/e/axi3/vr_axi_config_template.e

     

    Steve Hobbs / Applications Engineer / Cadence Functional Verification
    Filed under: , ,
    • Post Points: 20
  • Sun, Jan 5 2014 7:53 PM

    Re: How to disable vr_axi checks Reply

    Thanks  i am using axi vip enviornment in my enviornment,on top of axi there is uvm sv wrapper for doing transactions , in test enviornment i am doing like below,but i am not seeing any effect with this . I dont want these axi messages to dumped in irun.log .Just want to disable all vr_axi_agent_monitor checks

     vr_axi::set_vip_cmd("set_check \"...VR_AXI**...\" IGNORE");

     

     

     

    • Post Points: 20
  • Mon, Jan 6 2014 1:39 AM

    • StephenH
    • Top 25 Contributor
    • Joined on Tue, Sep 2 2008
    • Bristol, Avon
    • Posts 268
    • Points 4,325
    Re: How to disable vr_axi checks Reply

    You were close but the command is "set check" not "set_check". Here's an example from the examples directory, the file is VIPCAT11.30.007-s/vips/amba_axi/vr_axi/examples/sv/axi3/interface/vr_axi_test.sv:

    vr_axi::set_vip_cmd("set check \"...VR_AXI242...\" IGNORE");
     

    You should probably not use the stars in the pattern match expression either, the ellipsis (...) is equivalent to ".*" so already matches what you're trying to match with the star.

    BTW, why do you want to turn off all the AXI checks in the log? Surely you want to know about protocol errors, otherwise what's the point of running a VIP?

    If you really don't want any checks at all, then you would do better to turn off completely rather than letting them run and just masking the messages. There is a "has_checks" field in vr_axi_master_agent_configand vr_axi_slave_agent_config which you can use to disable the checks completely.

     

    Steve Hobbs / Applications Engineer / Cadence Functional Verification
    Filed under: , ,
    • Post Points: 20
  • Mon, Jan 6 2014 8:04 PM

    Re: How to disable vr_axi checks Reply

    Thanks,i got it. Now tool ignores the error with below command.

    vr_axi::set_vip_cmd("set check \"...VR_AXI242...\" IGNORE");

    I dont want to disable all axi checks i want to disable only one check which checks for wdata when wvalid is low. Error message is something like this. I want to know whether we can disable only this particular check below. These error statements are occupying lot of log space

     ERR_VR_AXI*_MASTER_BAD_DATA_SIGNAL_VALUE_WHEN_WVALID_LOW

    • Post Points: 20
  • Tue, Jan 7 2014 1:19 AM

    • StephenH
    • Top 25 Contributor
    • Joined on Tue, Sep 2 2008
    • Bristol, Avon
    • Posts 268
    • Points 4,325
    Re: How to disable vr_axi checks Reply

     OK, sounds like you're sorted then. You confused me when you said "Just want to disable all vr_axi_agent_monitor checks". :-)

    Steve Hobbs / Applications Engineer / Cadence Functional Verification
    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by deviprasada at 03 Jan 2014 03:49 AM. Topic has 5 replies.