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

Problem with multiple bit manipulation instructions #51

Open
itsomaia opened this issue Oct 2, 2024 · 0 comments
Open

Problem with multiple bit manipulation instructions #51

itsomaia opened this issue Oct 2, 2024 · 0 comments

Comments

@itsomaia
Copy link

itsomaia commented Oct 2, 2024

Observed Behavior

In the case of multiple bit manipulation instructions, such as BINVI, the result of the operation is computed incorrectly due to an incorrect operand. The operand value passed from the decode stage and the input of the ALU, differ from the value used in the operation. This issue arises because the core incorrectly assumes it is not in the first cycle for BINVI, even though it is, due to an illegal CHERI exception that occurred a few cycles earlier.

Please see the waveform for more details.

BINVI_NEW_ILL

Expected Behavior

Getting correct operands for the instruction.

Steps to reproduce the issue

Illegal_reg_cheri exception before the bit manipulation instructions.

My Environment

Running formalISA v 3.0 app with Cadence JasperGold 2023.09

EDA tool and version:

Running formalISA v 3.0 app with Cadence JasperGold 2023.09

Operating system:

Running formalISA v 3.0 app with Cadence JasperGold 2023.09

Version of the Ibex source code:

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

1 participant