diff --git a/CMakeLists.txt b/CMakeLists.txt index b4761dc..e2de168 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,7 @@ if(NOT TARGET dbt-rise-core) FetchContent_Declare( dbt_rise_core_git GIT_REPOSITORY "https://github.com/Minres/DBT-RISE-Core.git" - GIT_TAG 9b571ff9 + GIT_TAG 752b9d67 GIT_SHALLOW OFF UPDATE_DISCONNECTED NOT ${UPDATE_EXTERNAL_PROJECT} # When enabled, this option causes the update step to be skipped. ) diff --git a/src/iss/arch/riscv_hart_common.h b/src/iss/arch/riscv_hart_common.h index fe076ec..d336136 100644 --- a/src/iss/arch/riscv_hart_common.h +++ b/src/iss/arch/riscv_hart_common.h @@ -1057,6 +1057,7 @@ template struct riscv_hart_common : public BAS std::unordered_map const& get_symbol_table(std::string name) override { return arch.symbol_table; } + unsigned get_core_id() override { return arch.mhartid_reg; }; riscv_hart_common& arch; };