stnolting / neorv32

:desktop_computer: A small, customizable and extensible MCU-class 32-bit RISC-V soft-core CPU and microcontroller-like SoC written in platform-independent VHDL.

Home Page:https://neorv32.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HPM variation while using cache

mahdi259 opened this issue · comments

Describe the bug
Hi, When I enable the Icache and Dcache, cpu cycles increase from 0x001d3ef3 to 0x004713f2.

To Reproduce
First I assign 0 to PERFORMANCE_OPTION and then 1. Imem and Dmem are external.

Expected behavior
Cache reduces run time.

Environment:
gcc-13.2.0

Hardware:
Latest hardware version. No hardware modification.
!make clean USER_FLAGS+="-Wl,--defsym,__neorv32_ram_size=262144" MARCH=rv32ima_zicsr_zfinx_zifencei install exe asm

Just a mistake, sorry!