Skip to content

Commit

Permalink
LLC-Partitioning:
Browse files Browse the repository at this point in the history
Update the LLC version to fix an issue failing the CI. Update helloword test for partitioning.
  • Loading branch information
DiyouS committed Sep 28, 2023
1 parent 64fee40 commit 7777f33
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Bender.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
6 changes: 5 additions & 1 deletion sw/tests/helloworld.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7777f33

Please sign in to comment.