SoCRocket
Transaction-Level Modeling Framework for Space Applications
#include "core/common/trapgen/instructionBase.hpp"#include <string>#include "core/common/trapgen/utils/customExceptions.hpp"#include "core/common/trapgen/utils/trap_utils.hpp"#include "gaisler/leon3/intunit/registers.hpp"#include "gaisler/leon3/intunit/alias.hpp"#include "gaisler/leon3/intunit/memory.hpp"#include "gaisler/leon3/intunit/externalPins.hpp"#include <sstream>#include "core/common/systemc.h"Namespaces | |
| leon3_funclt_trap | |
| #define CP_DISABLED 9 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define CP_EXCEPTION 16 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define DATA_ACCESS_ERROR 17 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define DATA_ACCESS_EXC 19 |
Referenced by leon3_funclt_trap::Instruction::RaiseException(), and mmu::tlb_lookup().
| #define DATA_ACCESS_MMU_MISS 18 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define DATA_STORE_ERROR 1 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define DIV_ZERO 21 |
Referenced by leon3_funclt_trap::UDIVcc_imm::behavior(), leon3_funclt_trap::SDIV_imm::behavior(), leon3_funclt_trap::SDIVcc_reg::behavior(), leon3_funclt_trap::UDIVcc_reg::behavior(), leon3_funclt_trap::UDIV_imm::behavior(), leon3_funclt_trap::SDIV_reg::behavior(), leon3_funclt_trap::UDIV_reg::behavior(), leon3_funclt_trap::SDIVcc_imm::behavior(), and leon3_funclt_trap::Instruction::RaiseException().
| #define FP_DISABLED 8 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define FP_EXCEPTION 15 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define FUNC_MODEL |
| #define ILLEGAL_INSTR 7 |
| #define IMPL_DEP_EXC 38 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define INSTR_ACCESS_ERROR 3 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define INSTR_ACCESS_EXC 5 |
Referenced by leon3_funclt_trap::Instruction::RaiseException(), and mmu::tlb_lookup().
| #define INSTR_ACCESS_MMU_MISS 2 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_1 37 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_10 28 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_11 27 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_12 26 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_13 25 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_14 24 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_15 23 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_2 36 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_3 35 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_4 34 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_5 33 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_6 32 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_7 31 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_8 30 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define IRQ_LEV_9 29 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define LT_IF |
| #define MEM_ADDR_NOT_ALIGNED 14 |
Referenced by leon3_funclt_trap::LDUH_imm::behavior(), leon3_funclt_trap::STA_reg::behavior(), leon3_funclt_trap::LDSHA_reg::behavior(), leon3_funclt_trap::ST_imm::behavior(), leon3_funclt_trap::SWAPA_reg::behavior(), leon3_funclt_trap::STH_reg::behavior(), leon3_funclt_trap::LD_reg::behavior(), leon3_funclt_trap::ST_reg::behavior(), leon3_funclt_trap::LDD_reg::behavior(), leon3_funclt_trap::LDUH_reg::behavior(), leon3_funclt_trap::STD_imm::behavior(), leon3_funclt_trap::SWAP_imm::behavior(), leon3_funclt_trap::STH_imm::behavior(), leon3_funclt_trap::LDD_imm::behavior(), leon3_funclt_trap::LDUHA_reg::behavior(), leon3_funclt_trap::LDSH_reg::behavior(), leon3_funclt_trap::STD_reg::behavior(), leon3_funclt_trap::LDSH_imm::behavior(), leon3_funclt_trap::SWAP_reg::behavior(), leon3_funclt_trap::STDA_reg::behavior(), leon3_funclt_trap::JUMP_imm::behavior(), leon3_funclt_trap::JUMP_reg::behavior(), leon3_funclt_trap::LDA_reg::behavior(), leon3_funclt_trap::STHA_reg::behavior(), leon3_funclt_trap::LDDA_reg::behavior(), leon3_funclt_trap::LD_imm::behavior(), and leon3_funclt_trap::Instruction::RaiseException().
| #define MULT_SIZE_16 |
| #define PRIVILEDGE_INSTR 6 |
Referenced by leon3_funclt_trap::WRITEpsr_imm::behavior(), leon3_funclt_trap::READpsr::behavior(), leon3_funclt_trap::LDSBA_reg::behavior(), leon3_funclt_trap::STA_reg::behavior(), leon3_funclt_trap::LDSHA_reg::behavior(), leon3_funclt_trap::STBA_reg::behavior(), leon3_funclt_trap::READtbr::behavior(), leon3_funclt_trap::SWAPA_reg::behavior(), leon3_funclt_trap::WRITEwim_imm::behavior(), leon3_funclt_trap::LDUHA_reg::behavior(), leon3_funclt_trap::RETT_imm::behavior(), leon3_funclt_trap::WRITEtbr_imm::behavior(), leon3_funclt_trap::READwim::behavior(), leon3_funclt_trap::WRITEtbr_reg::behavior(), leon3_funclt_trap::LDSTUBA_reg::behavior(), leon3_funclt_trap::WRITEwim_reg::behavior(), leon3_funclt_trap::STDA_reg::behavior(), leon3_funclt_trap::LDUBA_reg::behavior(), leon3_funclt_trap::LDA_reg::behavior(), leon3_funclt_trap::STHA_reg::behavior(), leon3_funclt_trap::LDDA_reg::behavior(), leon3_funclt_trap::RETT_reg::behavior(), leon3_funclt_trap::WRITEpsr_reg::behavior(), and leon3_funclt_trap::Instruction::RaiseException().
| #define R_REGISTER_ACCESS_ERROR 4 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define RESET 0 |
| #define TAG_OVERFLOW 20 |
| #define TRAP_INSTRUCTION 22 |
| #define UNIMPL_FLUSH 10 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define WATCHPOINT_DETECTED 11 |
Referenced by leon3_funclt_trap::Instruction::RaiseException().
| #define WINDOW_OVERFLOW 12 |
| #define WINDOW_UNDERFLOW 13 |