AXI Slave VIP that control the delay between the AREADY and AVALID

 

There are two variables in AXI Slave VIP that control the delay between the AREADY and AVALID: 

MAX:     dw_vip_axi_port_configuration :: m_nMaxDelay   = 5000 

MIN:      m_nAvalidAreadyDelay  = 0;   

You can set your own Maximum delay in VMM env as below (using configuration):  

class axiEnv extends vmm_env; 

    virtual function void gen_cfg() ; 

       super.gen_cfg(); 

       vip_axi_slave_cfg.m_oPortCfg.m_nMaxDelay=3000;

   endfunction : gen_cfg 

endclass

 also you can specify the minimum delay in Slave Responseras below (using object member):  

task axiSlaveXactor::recv_write();  



    $display("###################################################"); 

    $display($time,,"SLAVE receives a WRITE transaction"); 

    $display("##################################################"); 

    resp_trans.display("SLAVE RECV ::\t"); 

    $display("\n"); 

 

    /* Put the response object into the VIP slave input channel. */ 

    resp_trans.m_nAvalidAreadyDelay =3; 

   o_input_chan.put(resp_trans);  



endtask

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值