diff options
| -rw-r--r-- | rtl/core/cp15/syscfg.sv | 4 | ||||
| -rw-r--r-- | tb/top/conspiracion.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rtl/core/cp15/syscfg.sv b/rtl/core/cp15/syscfg.sv index f7fc1a5..5bd2530 100644 --- a/rtl/core/cp15/syscfg.sv +++ b/rtl/core/cp15/syscfg.sv @@ -11,14 +11,14 @@ module core_cp15_syscfg input cp_opcode op2, input word write, - output word read /*verilator public*/, + output word read, output logic high_vectors, mmu_enable ); logic dcache_enable, icache_enable; - cp15_syscfg_ctrl ctrl, write_ctrl; + cp15_syscfg_ctrl ctrl /*verilator public*/, write_ctrl; assign write_ctrl = write; diff --git a/tb/top/conspiracion.cpp b/tb/top/conspiracion.cpp index 11516b6..f0cfaa2 100644 --- a/tb/top/conspiracion.cpp +++ b/tb/top/conspiracion.cpp @@ -439,7 +439,7 @@ int main(int argc, char **argv) std::fprintf(ctrl, "%08x spsr_und\n", core.psr->spsr_und_word); std::fprintf(ctrl, "%08x spsr_fiq\n", core.psr->spsr_fiq_word); std::fprintf(ctrl, "%08x spsr_irq\n", core.psr->spsr_irq_word); - std::fprintf(ctrl, "%08x sysctrl\n", core.cp15->syscfg->read); + std::fprintf(ctrl, "%08x sysctrl\n", core.cp15->syscfg->ctrl); std::fprintf(ctrl, "%08x ttbr\n", core.cp15->ttbr->read); std::fprintf(ctrl, "%08x far\n", core.cp15->far_->read); std::fprintf(ctrl, "%08x fsr\n", core.cp15->fsr->read); |
