Skip to content

Commit

Permalink
add amocas specific addr check
Browse files Browse the repository at this point in the history
  • Loading branch information
ved-rivos committed Aug 18, 2023
1 parent cd3f3e1 commit ea78240
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion model/riscv_insts_aext.sail
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ function clause execute (AMO(op, aq, rl, rs2, rs1, width, rd)) = {
if haveAtomics() then {
/* Get the address, X(rs1) (no offset).
* Some extensions perform additional checks on address validity.
* For obtaining virtual address, the width is not needed.
*/
match ext_data_get_amo_addr(rs1, ReadWrite(Data, Data), width) {
Ext_DataAddr_Error(e) => { ext_handle_data_check_error(e); RETIRE_FAIL },
Expand Down

0 comments on commit ea78240

Please sign in to comment.