mirror of
https://github.com/riscv-software-src/riscv-isa-sim.git
synced 2025-10-14 02:07:30 +08:00

Previously cache block size had to be initialized via special set_chache_blocksz setter function and was uninitialized if you didn't call it. In this commit I move initialization of the block size to the mmu_t's constructor. The configuration of this member goes through cfg_t struct.