You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on uvma_axi5 agent, I stumbled upon this code, which looks erroneous to eyes.
The event reset_asserted is never emitted and the driver may remain blocked in this function if a reset is asserted.
Hello,
While working on uvma_axi5 agent, I stumbled upon this code, which looks erroneous to eyes.
The event reset_asserted is never emitted and the driver may remain blocked in this function if a reset is asserted.
https://github.com/openhwgroup/core-v-verif/blob/master/lib/uvm_agents/uvma_axi5/src/comps/uvma_axi_drv.sv
**_// ------------------------------------------------------------------------
// Pre reset phase
// ------------------------------------------------------------------------
task uvma_axi_drv_c::pre_reset_phase(uvm_phase phase);
`uvm_info(get_type_name(), $sformatf("start drv_pre_reset"), UVM_DEBUG)
@(reset_asserted);
this.slave_mp.slv_axi_cb.aw_ready <= 0;
this.slave_mp.slv_axi_cb.w_ready <= 0;_**
I believe here instead of having
@(reset_asserted);
There should be
-->(reset_asserted);
Thanks and Regards
Tanuj Khandelwal
The text was updated successfully, but these errors were encountered: