Skip to content

Conversation

@bugavix
Copy link
Contributor

@bugavix bugavix commented Dec 22, 2025

This is an attempt to fix the bug described in #3167.

It appears that when enabling the CV-X-IF interface while disabling the RVC extension, the core freezes during the initialization phase of the debug sequence in the testbench.

I managed to find out that this was caused by a bug inside the Decode stage: the compressed‑instruction channel driver of the CV-X-IF inside the Decode stage is only generated if the RVC extension is enabled. However, this module still drives signals inside the stage even when RVC is off. I proposed a fix in the PR below, although I am not sure it is the cleanest way to address the issue.

is_illegal_deco[0] = is_illegal_cvxif_i;
instruction_deco[0] = instruction_cvxif_i;
is_compressed_deco[0] = is_compressed_cvxif_i;
if (CVA6Cfg.RVC) begin
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to have a cleaner code, I think these assignments should be made inside the previous if block (lines 156-281). This is only a quick fix.

@github-actions
Copy link
Contributor

👋 Hi there!

This pull request seems inactive. Need more help or have updates? Feel free to let us know. If there are no updates within the next few days, we'll go ahead and close this PR. 😊

@github-actions github-actions bot added the Status:Stale Issue or PR is stale and hasn't received any updates. label Jan 22, 2026
@JeanRochCoulon JeanRochCoulon removed the Status:Stale Issue or PR is stale and hasn't received any updates. label Jan 22, 2026
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

Successfully merging this pull request may close these issues.

2 participants