d-iii-s / msim

Light-weight MIPS R4000 and RISC-V system simulator
https://d3s.mff.cuni.cz/software/msim/
GNU General Public License v2.0
5 stars 4 forks source link

RISC-V default TLB size documentation #50

Closed HanyzPAPU closed 11 months ago

HanyzPAPU commented 11 months ago

The documentation regarding RICV-V TLB default size mentions a Kilo-TLB and Mega-TLB size, which is a remnant of previous implementation.

vhotspur commented 11 months ago

Would the following work or have I overlooked something?

diff --git a/doc/reference/riscv_constants.rst b/doc/reference/riscv_constants.rst
index 70a480e..c01a6c2 100644
--- a/doc/reference/riscv_constants.rst
+++ b/doc/reference/riscv_constants.rst
@@ -43,5 +43,4 @@ Waiting cycles
 Default TLB size
 ----------------

-Kilo-TLB - 256 entries
-Mega-TLB - 32 entries
+Default TLB size is 48 entries.
HanyzPAPU commented 11 months ago

Yes, that should fix the problem. Thank you