ParaNut SystemC Model
A SystemC Model of the ParaNut architecture
Macros | Enumerations
exu_csr.h File Reference
#include "paranut-config.h"
Include dependency graph for exu_csr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EX_ID_LENGTH   5
 

Enumerations

enum  EPerfCount {
  perfInstret , perfALU , perfLoad , perfStore ,
  perfJump , perfSystem , perfLoadStoreWait
}
 
enum  EPrivMode { User = 0 , Supervisor = 1 , Machine = 3 }
 
enum  EXS { off = 0 , initial , clean , dirty }
 
enum  EExceptions {
  UserSoftwareInterrupt = 0 , SupervisorSoftwareInterrupt = 1 , MachineSoftwareInterrupt = 3 , UserTimerInterrupt = 4 ,
  SupervisorTimerInterrupt = 5 , MachineTimerInterrupt = 7 , UserExternalInterrupt = 8 , SupervisorExternalInterrupt = 9 ,
  MachineExternalInterrupt = 11 , InstructionAddressMisaligned = 0 , IllegalInstruction = 2 , Breakpoint = 3 ,
  LoadAddressMisaligned = 4 , StoreAddressMisaligned = 6 , ECallU = 8 , ECallS = 9 ,
  ECallM = 11 , InstructionPageFault = 12 , LoadPageFault = 13 , StorePageFault = 15 ,
  CoPUException = 16
}
 

Macro Definition Documentation

◆ EX_ID_LENGTH

#define EX_ID_LENGTH   5

Enumeration Type Documentation

◆ EExceptions

Enumerator
UserSoftwareInterrupt 
SupervisorSoftwareInterrupt 
MachineSoftwareInterrupt 
UserTimerInterrupt 
SupervisorTimerInterrupt 
MachineTimerInterrupt 
UserExternalInterrupt 
SupervisorExternalInterrupt 
MachineExternalInterrupt 
InstructionAddressMisaligned 
IllegalInstruction 
Breakpoint 
LoadAddressMisaligned 
StoreAddressMisaligned 
ECallU 
ECallS 
ECallM 
InstructionPageFault 
LoadPageFault 
StorePageFault 
CoPUException 

◆ EPerfCount

enum EPerfCount
Enumerator
perfInstret 
perfALU 
perfLoad 
perfStore 
perfJump 
perfSystem 
perfLoadStoreWait 

◆ EPrivMode

enum EPrivMode
Enumerator
User 
Supervisor 
Machine 

◆ EXS

enum EXS
Enumerator
off 
initial 
clean 
dirty