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

[BUG] Combinational loop in hypervisor extension #2803

Open
1 task done
KatCe opened this issue Mar 1, 2025 · 2 comments
Open
1 task done

[BUG] Combinational loop in hypervisor extension #2803

KatCe opened this issue Mar 1, 2025 · 2 comments
Labels
notCV32A65X It is not an CV32A65X issue Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system

Comments

@KatCe
Copy link

KatCe commented Mar 1, 2025

Is there an existing CVA6 bug for this?

  • I have searched the existing bug issues

Bug Description

The decoder (core/decoder.sv) does not assign a default value to signal 'tinst', when the hypervisor extension is enabled (CVA6Cfg.RVH). This leads to a combinational loop in some tool flows.
Assigning a default value at the beginning of: always_comb begin : decoder solves the problem.

@KatCe KatCe added the Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system label Mar 1, 2025
@JeanRochCoulon JeanRochCoulon added the notCV32A65X It is not an CV32A65X issue label Mar 2, 2025
@JeanRochCoulon
Copy link
Contributor

Good feedback, you are free to submit a PR to fix it. Thanks

@KatCe
Copy link
Author

KatCe commented Mar 2, 2025

I can do that. Is it correct to set it to 0 for the default cases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notCV32A65X It is not an CV32A65X issue Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system
Projects
None yet
Development

No branches or pull requests

2 participants