HOTFIX : Add CUS_ADD custom instruction under the switch cfg (#1479)

This commit is contained in:
Jalali 2023-09-27 22:15:19 +01:00 committed by GitHub
parent 5ee1a340e3
commit 1f8a67a9b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,8 +119,8 @@ class cvxif_custom_instr extends riscv_custom_instr;
`DV_CHECK_FATAL($cast(cfg_cva6, cfg), "Could not cast cfg into cfg_cva6")
return cfg_cva6.enable_x_extension && (
instr_name inside {
CUS_ADD_MULTI,CUS_NOP,CUS_ADD_RS3,
CUS_EXC,CUS_U_ADD,CUS_S_ADD
CUS_ADD, CUS_ADD_MULTI, CUS_NOP, CUS_ADD_RS3,
CUS_EXC, CUS_U_ADD, CUS_S_ADD
});
endfunction