Transaction-Level Modeling Framework for Space Applications
#include <ostream>
#include "core/common/trapgen/utils/trap_utils.hpp"
#include "core/common/sc_register.h"
Namespaces | |
leon3_funclt_trap | |
Macros | |
#define | FUNC_MODEL |
#define | LT_IF |
#define | key_VER 0 |
#define | key_ICC_z 1 |
#define | key_ICC_v 2 |
#define | key_EF 3 |
#define | key_EC 4 |
#define | key_ICC_n 5 |
#define | key_S 6 |
#define | key_ET 7 |
#define | key_ICC_c 8 |
#define | key_PS 9 |
#define | key_PIL 10 |
#define | key_CWP 11 |
#define | key_IMPL 12 |
#define | key_WIM_28 13 |
#define | key_WIM_29 14 |
#define | key_WIM_24 15 |
#define | key_WIM_25 16 |
#define | key_WIM_26 17 |
#define | key_WIM_27 18 |
#define | key_WIM_20 19 |
#define | key_WIM_21 20 |
#define | key_WIM_22 21 |
#define | key_WIM_23 22 |
#define | key_WIM_9 23 |
#define | key_WIM_8 24 |
#define | key_WIM_1 25 |
#define | key_WIM_0 26 |
#define | key_WIM_3 27 |
#define | key_WIM_2 28 |
#define | key_WIM_5 29 |
#define | key_WIM_4 30 |
#define | key_WIM_7 31 |
#define | key_WIM_6 32 |
#define | key_WIM_11 33 |
#define | key_WIM_10 34 |
#define | key_WIM_13 35 |
#define | key_WIM_12 36 |
#define | key_WIM_15 37 |
#define | key_WIM_14 38 |
#define | key_WIM_17 39 |
#define | key_WIM_16 40 |
#define | key_WIM_19 41 |
#define | key_WIM_18 42 |
#define | key_WIM_31 43 |
#define | key_WIM_30 44 |
#define | key_TBA 45 |
#define | key_TT 46 |
#define FUNC_MODEL |
#define key_CWP 11 |
Referenced by leon3_funclt_trap::RETT_imm::behavior(), leon3_funclt_trap::RETT_reg::behavior(), leon3_funclt_trap::Instruction::checkDecrementWin(), leon3_funclt_trap::Instruction::checkIncrementWin(), leon3_funclt_trap::Instruction::DecrementRegWindow(), leon3_funclt_trap::Instruction::IncrementRegWindow(), leon3_funclt_trap::Reg32_0::operator[](), leon3_funclt_trap::LEON3_ABIIf::postCall(), leon3_funclt_trap::LEON3_ABIIf::preCall(), and leon3_funclt_trap::Instruction::RaiseException().
#define key_EC 4 |
Referenced by leon3_funclt_trap::Reg32_0::operator[]().
#define key_EF 3 |
Referenced by leon3_funclt_trap::Reg32_0::operator[]().
#define key_ET 7 |
#define key_ICC_c 8 |
Referenced by leon3_funclt_trap::ADDXcc_imm::behavior(), leon3_funclt_trap::SUBXcc_imm::behavior(), leon3_funclt_trap::SUBXcc_reg::behavior(), leon3_funclt_trap::ADDX_imm::behavior(), leon3_funclt_trap::TRAP_imm::behavior(), leon3_funclt_trap::ADDXcc_reg::behavior(), leon3_funclt_trap::SUBX_reg::behavior(), leon3_funclt_trap::BRANCH::behavior(), leon3_funclt_trap::SUBX_imm::behavior(), leon3_funclt_trap::ADDX_reg::behavior(), leon3_funclt_trap::TRAP_reg::behavior(), leon3_funclt_trap::ICC_writeAdd_op::ICC_writeAdd(), leon3_funclt_trap::ICC_writeDiv_op::ICC_writeDiv(), leon3_funclt_trap::ICC_writeLogic_op::ICC_writeLogic(), leon3_funclt_trap::ICC_writeSub_op::ICC_writeSub(), leon3_funclt_trap::ICC_writeTAdd_op::ICC_writeTAdd(), leon3_funclt_trap::ICC_writeTSub_op::ICC_writeTSub(), leon3_funclt_trap::ICC_writeTVAdd_op::ICC_writeTVAdd(), leon3_funclt_trap::ICC_writeTVSub_op::ICC_writeTVSub(), and leon3_funclt_trap::Reg32_0::operator[]().
#define key_ICC_n 5 |
Referenced by leon3_funclt_trap::MULScc_reg::behavior(), leon3_funclt_trap::TRAP_imm::behavior(), leon3_funclt_trap::MULScc_imm::behavior(), leon3_funclt_trap::BRANCH::behavior(), leon3_funclt_trap::TRAP_reg::behavior(), leon3_funclt_trap::ICC_writeAdd_op::ICC_writeAdd(), leon3_funclt_trap::ICC_writeDiv_op::ICC_writeDiv(), leon3_funclt_trap::ICC_writeLogic_op::ICC_writeLogic(), leon3_funclt_trap::ICC_writeSub_op::ICC_writeSub(), leon3_funclt_trap::ICC_writeTAdd_op::ICC_writeTAdd(), leon3_funclt_trap::ICC_writeTSub_op::ICC_writeTSub(), leon3_funclt_trap::ICC_writeTVAdd_op::ICC_writeTVAdd(), leon3_funclt_trap::ICC_writeTVSub_op::ICC_writeTVSub(), and leon3_funclt_trap::Reg32_0::operator[]().
#define key_ICC_v 2 |
Referenced by leon3_funclt_trap::MULScc_reg::behavior(), leon3_funclt_trap::TRAP_imm::behavior(), leon3_funclt_trap::MULScc_imm::behavior(), leon3_funclt_trap::BRANCH::behavior(), leon3_funclt_trap::TRAP_reg::behavior(), leon3_funclt_trap::ICC_writeAdd_op::ICC_writeAdd(), leon3_funclt_trap::ICC_writeDiv_op::ICC_writeDiv(), leon3_funclt_trap::ICC_writeLogic_op::ICC_writeLogic(), leon3_funclt_trap::ICC_writeSub_op::ICC_writeSub(), leon3_funclt_trap::ICC_writeTAdd_op::ICC_writeTAdd(), leon3_funclt_trap::ICC_writeTSub_op::ICC_writeTSub(), leon3_funclt_trap::ICC_writeTVAdd_op::ICC_writeTVAdd(), leon3_funclt_trap::ICC_writeTVSub_op::ICC_writeTVSub(), and leon3_funclt_trap::Reg32_0::operator[]().
#define key_ICC_z 1 |
Referenced by leon3_funclt_trap::TRAP_imm::behavior(), leon3_funclt_trap::BRANCH::behavior(), leon3_funclt_trap::TRAP_reg::behavior(), leon3_funclt_trap::ICC_writeAdd_op::ICC_writeAdd(), leon3_funclt_trap::ICC_writeDiv_op::ICC_writeDiv(), leon3_funclt_trap::ICC_writeLogic_op::ICC_writeLogic(), leon3_funclt_trap::ICC_writeSub_op::ICC_writeSub(), leon3_funclt_trap::ICC_writeTAdd_op::ICC_writeTAdd(), leon3_funclt_trap::ICC_writeTSub_op::ICC_writeTSub(), leon3_funclt_trap::ICC_writeTVAdd_op::ICC_writeTVAdd(), leon3_funclt_trap::ICC_writeTVSub_op::ICC_writeTVSub(), and leon3_funclt_trap::Reg32_0::operator[]().
#define key_IMPL 12 |
Referenced by leon3_funclt_trap::Reg32_0::operator[]().
#define key_PIL 10 |
#define key_PS 9 |
#define key_S 6 |
Referenced by leon3_funclt_trap::LDSB_imm::behavior(), leon3_funclt_trap::WRITEpsr_imm::behavior(), leon3_funclt_trap::LDSBA_reg::behavior(), leon3_funclt_trap::LDUH_imm::behavior(), leon3_funclt_trap::STA_reg::behavior(), leon3_funclt_trap::LDSHA_reg::behavior(), leon3_funclt_trap::STBA_reg::behavior(), leon3_funclt_trap::ST_imm::behavior(), leon3_funclt_trap::READtbr::behavior(), leon3_funclt_trap::SWAPA_reg::behavior(), leon3_funclt_trap::STB_imm::behavior(), leon3_funclt_trap::STH_reg::behavior(), leon3_funclt_trap::LDSTUB_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::WRITEwim_imm::behavior(), leon3_funclt_trap::LDD_imm::behavior(), leon3_funclt_trap::LDUHA_reg::behavior(), leon3_funclt_trap::RETT_imm::behavior(), leon3_funclt_trap::WRITEtbr_imm::behavior(), leon3_funclt_trap::LDUB_reg::behavior(), leon3_funclt_trap::STB_reg::behavior(), leon3_funclt_trap::READwim::behavior(), leon3_funclt_trap::LDSTUB_imm::behavior(), leon3_funclt_trap::LDSB_reg::behavior(), leon3_funclt_trap::LDSH_reg::behavior(), leon3_funclt_trap::STD_reg::behavior(), leon3_funclt_trap::WRITEtbr_reg::behavior(), leon3_funclt_trap::LDSH_imm::behavior(), leon3_funclt_trap::LDSTUBA_reg::behavior(), leon3_funclt_trap::WRITEwim_reg::behavior(), leon3_funclt_trap::SWAP_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::LD_imm::behavior(), leon3_funclt_trap::LDUB_imm::behavior(), leon3_funclt_trap::RETT_reg::behavior(), leon3_funclt_trap::WRITEpsr_reg::behavior(), leon3_funclt_trap::Processor_leon3_funclt::mainLoop(), leon3_funclt_trap::Reg32_0::operator[](), and leon3_funclt_trap::Instruction::RaiseException().
#define key_TBA 45 |
Referenced by leon3_funclt_trap::Reg32_2::operator[]().
#define key_TT 46 |
#define key_VER 0 |
Referenced by leon3_funclt_trap::Reg32_0::operator[]().
#define key_WIM_0 26 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_1 25 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_10 34 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_11 33 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_12 36 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_13 35 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_14 38 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_15 37 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_16 40 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_17 39 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_18 42 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_19 41 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_2 28 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_20 19 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_21 20 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_22 21 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_23 22 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_24 15 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_25 16 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_26 17 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_27 18 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_28 13 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_29 14 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_3 27 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_30 44 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_31 43 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_4 30 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_5 29 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_6 32 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_7 31 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_8 24 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define key_WIM_9 23 |
Referenced by leon3_funclt_trap::Reg32_1::operator[]().
#define LT_IF |