aboutsummaryrefslogtreecommitdiff
path: root/model/riscv_step_common.sail
blob: 145b5bdf2bb8b04d875e8441d25a43521250c5f6 (plain)
1
2
3
4
5
6
7
8
9
10
/* The result of a fetch, which includes any possible error
 * from an extension that interposes on the fetch operation.
 */

union FetchResult = {
  F_Ext_Error : ext_fetch_addr_error,      /* For extensions */
  F_Base      : word,                      /* Base ISA */
  F_RVC       : half,                      /* Compressed ISA */
  F_Error     : (ExceptionType, xlenbits)  /* standard exception and PC */
}