From b8a4fcc30b2016c4c022e7b3679c36c6c7091fe9 Mon Sep 17 00:00:00 2001 From: FallenSigh Date: Wed, 24 Jun 2026 01:58:29 +0800 Subject: [PATCH] Fix matmul_base address: 0x1f500000 -> 0xbf500000 The open-la500 CPU maps 0xbfxx_xxxx to the peripheral address space (crossbar sees 0x1fxx_xxxx). FFT uses 0xbf400000, CONFREG uses 0xbf20f100, UART uses 0xbf000000. Matmul must follow the same convention. --- sdk/software/examples/matmul_test/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/software/examples/matmul_test/main.c b/sdk/software/examples/matmul_test/main.c index c510084..c6c278e 100644 --- a/sdk/software/examples/matmul_test/main.c +++ b/sdk/software/examples/matmul_test/main.c @@ -39,7 +39,7 @@ unsigned long CORE_CLOCKS_PER_SEC = 33000000L; #define DST_BASE (SRC_BASE + N_GROUPS * 32) /* result region start */ /* ─── MATMUL IP register map ─────────────────────────────────────── */ -#define MATMUL_BASE 0x1f500000 +#define MATMUL_BASE 0xbf500000 #define MATMUL_CTRL (MATMUL_BASE + 0x000) #define MATMUL_STATUS (MATMUL_BASE + 0x004)