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 5 forks source link

RISC-V default TLB size documentation #50

Closed HanyzPAPU closed 1 year ago

HanyzPAPU commented 1 year 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 1 year 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 1 year ago

Yes, that should fix the problem. Thank you