We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As in spec, EEAR register should save the instruction fetch VA when illegal instruction exception.
We should change code in mor1kx_ctrl_cappuccino.v as follow.
always @(posedge clk `OR_ASYNC_RST) if (rst) spr_eear <= {OPTION_OPERAND_WIDTH{1'b0}}; else if (/*padv_ctrl & exception*/ exception_re) begin if (except_ibus_err_i | except_itlb_miss_i | except_ipagefault_i | except_illegal_i) spr_eear <= pc_ctrl_i; else if (except_dbus_i | except_dtlb_miss_i | except_dpagefault_i | except_align_i) spr_eear <= ctrl_lsu_adr_i; end
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
As in spec,
EEAR register should save the instruction fetch VA when illegal instruction exception.
We should change code in mor1kx_ctrl_cappuccino.v as follow.
The text was updated successfully, but these errors were encountered: