Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[uvma_axi5] There is an issue in the pre_reset phase of driver #2521

Open
khandelwaltanuj opened this issue Aug 7, 2024 · 0 comments
Open
Assignees

Comments

@khandelwaltanuj
Copy link
Contributor

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

@MikeOpenHWGroup MikeOpenHWGroup self-assigned this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants