From 7777f33f8d104565530da3ce89d526b4863cae54 Mon Sep 17 00:00:00 2001 From: Diyou Shen Date: Thu, 28 Sep 2023 13:38:41 +0200 Subject: [PATCH] LLC-Partitioning: Update the LLC version to fix an issue failing the CI. Update helloword test for partitioning. --- Bender.lock | 2 +- Bender.yml | 2 +- sw/tests/helloworld.c | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Bender.lock b/Bender.lock index 5c34a6c75..b3b37c05e 100644 --- a/Bender.lock +++ b/Bender.lock @@ -24,7 +24,7 @@ packages: - common_verification - tech_cells_generic axi_llc: - revision: 39ee9575279b3d1fe119616be07f485eb33df52b + revision: ef30225613a585b96264866f866c5e36e23f1481 version: null source: Git: https://github.com/pulp-platform/axi_llc.git diff --git a/Bender.yml b/Bender.yml index af286ae0d..99eba9a25 100644 --- a/Bender.yml +++ b/Bender.yml @@ -14,7 +14,7 @@ package: dependencies: apb_uart: { git: "https://github.com/pulp-platform/apb_uart.git", version: 0.2.1 } axi: { git: "https://github.com/pulp-platform/axi", rev: 4fb5a02 } - axi_llc: { git: "https://github.com/pulp-platform/axi_llc", rev: 39ee957 } + axi_llc: { git: "https://github.com/pulp-platform/axi_llc", rev: ef30225 } axi_riscv_atomics: { git: "https://github.com/pulp-platform/axi_riscv_atomics.git", version: 0.8.1 } axi_rt: { git: "https://github.com/pulp-platform/axi_rt.git", version: 0.0.0-alpha.3 } axi_vga: { git: "https://github.com/pulp-platform/axi_vga.git", version: 0.1.1 } diff --git a/sw/tests/helloworld.c b/sw/tests/helloworld.c index 6adeda85f..0493a9a8e 100644 --- a/sw/tests/helloworld.c +++ b/sw/tests/helloworld.c @@ -22,9 +22,13 @@ int main(void) { a = (0x03001064); // commit changes for llc *a = 1; - // Configure + // Configure Tagger for partitioning a = (0x0300a044); // set user signal to 1 *a = 1; + a = (0x0300a004); // set addr range from 0 to 0xffff_ffff + *a = (0xffffffff >> 2); + a = (0x0300a050); // set TOR mode + *a = 1; a = (0x0300a000); // commit changes for tagger *a = 1;