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

Issue with illegal_reg_rv32e when RV32E #40

Closed
esdatmisarian opened this issue Jul 16, 2024 · 6 comments
Closed

Issue with illegal_reg_rv32e when RV32E #40

esdatmisarian opened this issue Jul 16, 2024 · 6 comments

Comments

@esdatmisarian
Copy link

Instruction sw x20, -1982(x3) is not seen as illegal with RV32E
Waveform:
issue_on_illegal_instruction_cheri

if (RV32E) begin : gen_rv32e_reg_check_active
assign illegal_reg_rv32e = ((rf_raddr_a_o[4] & (alu_op_a_mux_sel_o == OP_A_REG_A)) |
(rf_raddr_b_o[4] & (alu_op_b_mux_sel_o == OP_B_REG_B)) |
(rf_waddr_o[4] & rf_we));

version:
5e4798f

@kliuMsft
Copy link
Contributor

Very good finding, thanks!

@marnovandermaas, this might be an issue for upstream ibex as well.

@marnovandermaas
Copy link
Contributor

I think this is related to: lowRISC/ibex#2178

@esdatmisarian
Copy link
Author

esdatmisarian commented Jul 17, 2024 via email

@kliuMsft
Copy link
Contributor

New commit a57ec46 should fix the issue, please help to verify.

@esdatmisarian
Copy link
Author

esdatmisarian commented Jul 24, 2024 via email

@kliuMsft
Copy link
Contributor

Thanks for the confirmation. I am closing the issue then.

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

3 participants