Skip to content

Commit b24212f

Browse files
authored
fix numbers
1 parent 6ff06f5 commit b24212f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cmake/prebuild.cmake

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ endif ()
14271427
set(SYMV_P 16)
14281428
elseif ("${TCORE}" STREQUAL "x280")
14291429
file(APPEND ${TARGET_CONF_TEMP}
1430-
"#define L1_DATA_SIZE 64536\n"
1430+
"#define L1_DATA_SIZE 65536\n"
14311431
"#define L1_LINESIZE 32 \n"
14321432
"#define L2_SIZE 262144\n"
14331433
"#define L2_LINESIZE 32 \n"
@@ -1446,7 +1446,7 @@ endif ()
14461446
elseif ("${TCORE}" STREQUAL "RISCV64_ZVL128B")
14471447
file(APPEND ${TARGET_CONF_TEMP}
14481448
"#define L1_DATA_SIZE 32768\n"
1449-
"#define L1_DATA_LINESIZE 128\n"
1449+
"#define L1_DATA_LINESIZE 32\n"
14501450
"#define L2_SIZE 1048576\n"
14511451
"#define L2_LINESIZE 32 \n"
14521452
"#define DTB_DEFAULT_ENTRIES 128\n"
@@ -1463,10 +1463,10 @@ endif ()
14631463
set(SYMV_P 16)
14641464
elseif ("${TCORE}" STREQUAL "RISCV64_ZVL256B")
14651465
file(APPEND ${TARGET_CONF_TEMP}
1466-
"#define L1_DATA_SIZE 32768\n"
1467-
"#define L1_DATA_LINESIZE 128\n"
1468-
"#define L2_SIZE 524288\n"
1469-
"#define L2_LINESIZE 128 \n"
1466+
"#define L1_DATA_SIZE 65536\n"
1467+
"#define L1_DATA_LINESIZE 32\n"
1468+
"#define L2_SIZE 262144\n"
1469+
"#define L2_LINESIZE 32 \n"
14701470
"#define DTB_DEFAULT_ENTRIES 128\n"
14711471
"#define DTB_SIZE 4096\n"
14721472
"#define L2_ASSOCIATIVE 4\n")
@@ -1490,9 +1490,9 @@ endif ()
14901490
"#define L2_ASSOCIATIVE 8\n")
14911491
elseif ("${TCORE}" STREQUAL "RISCV64_GENERIC")
14921492
file(APPEND ${TARGET_CONF_TEMP}
1493-
"#define L1_DATA_SIZE 64536\n"
1493+
"#define L1_DATA_SIZE 32768\n"
14941494
"#define L1_DATA_LINESIZE 32\n"
1495-
"#define L2_SIZE 262144\n"
1495+
"#define L2_SIZE 1048576\n"
14961496
"#define L2_LINESIZE 32 \n"
14971497
"#define DTB_DEFAULT_ENTRIES 128\n"
14981498
"#define DTB_SIZE 4096\n"

0 commit comments

Comments
 (0)