increase TLB_NUM_WAYS to 4
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 14 Sep 2020 15:59:21 +0000 (16:59 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 14 Sep 2020 15:59:21 +0000 (16:59 +0100)
src/soc/experiment/dcache.py

index 488203ff9ce9ebf9153c3ba490599906bf303c69..7a0ddff69ddc6fb880a299320be5cc92241cfb8f 100644 (file)
@@ -45,7 +45,7 @@ LINE_SIZE = 64    # Line size in bytes
 NUM_LINES = 16    # Number of lines in a set
 NUM_WAYS = 4      # Number of ways
 TLB_SET_SIZE = 64 # L1 DTLB entries per set
-TLB_NUM_WAYS = 2  # L1 DTLB number of sets
+TLB_NUM_WAYS = 4  # L1 DTLB number of sets
 TLB_LG_PGSZ = 12  # L1 DTLB log_2(page_size)
 LOG_LENGTH = 0    # Non-zero to enable log data collection