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] uvme_exception_covg and uvme_illegal_instr_covg not compliant LRM #2026

Open
1 task done
CoralieAllioux opened this issue Apr 10, 2024 · 0 comments
Open
1 task done
Assignees
Labels
Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system

Comments

@CoralieAllioux
Copy link
Contributor

CoralieAllioux commented Apr 10, 2024

Is there an existing CVA6 bug for this?

  • I have searched the existing bug issues

Bug Description

We are currently porting the verification to be compliant with Cadence Xcelium simulator. The objective is to use the current verification flow and adapt it, to add the Cadence simulator.
This issue concerns the cva6/verif/env/uvme/cov/uvme_exception_covg.sv and cva6/verif/env/uvme/cov/uvme_illegal_instr_covg.sv.

For uvme_exception_covg.sv, the issue is coming from the following code:
bins BREAKPOINT_EXC_RAISED = (NO_EXCEPTION => BREAKPOINT => NO_EXCEPTION);
A bin name cannot be used inside a bin with a transition, xcelium does not allow it.

For uvme_illegal_instr_covg.sv, the issue is about the covergroup cg_illegal_i: the variable legal_i_opcode is "Illegal operand for covergroup expression [19.5(SVLRM-2012)]". The usage of legal_i_opcode in this context is not then not compliant with the LRM.

From now, we would like to get a solution to make work those covergroups for xcelium, which we still not manage to fix: we need a better understanding of the purpose of those lines.
We already discussed a bit with @AyoubJalali. Could you please better explain what you meant to achieve? In order to better look at potential solutions. Thank you!

@CoralieAllioux CoralieAllioux added the Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system label Apr 10, 2024
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

2 participants