10000 [UVM] Mixing of task and functions · Issue #2960 · openhwgroup/cva6 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[UVM] Mixing of task and functions #2960

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

Open
1 task done
OlivierBetschi opened this issue May 7, 2025 · 0 comments
Open
1 task done

[UVM] Mixing of task and functions #2960

OlivierBetschi opened this issue May 7, 2025 · 0 comments
Labels
Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system

Comments

@OlivierBetschi
Copy link
Contributor

Is there an existing CVA6 bug for this?

  • I have searched the existing bug issues

Bug Description

in uvml_mem_vp.sv, function post_write uses the debug task. This raises an error during elaboration with xcelium :
xmelab: *E,BADBTF (cva6/verif/env/uvme/uvml_mem_vp.sv,98|8): Function "post_write" cannot enable a blocking or a virtual task "debug"

As function are not allowed to consume simulation time this is a problem : the debug call should be removed or updated to a function that does not consume simulation time. Alternatively the post_write function and all its parents / caller should be changed to tasks.

@OlivierBetschi OlivierBetschi added the Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system
Projects
None yet
Development

No branches or pull requests

1 participant
0