Skip to content

Commit

Permalink
Integrate new KUL cluster with only 2 cores.
Browse files Browse the repository at this point in the history
  - Change the number of CLINT,PLIC and PLIC_INTRS cores to build the system
  - Modify offload.h and chimera_pkg.sv to map only 2 cores in KULCluster
  • Loading branch information
Lore0599 committed Dec 4, 2024
1 parent f1b8d06 commit 0861753
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Bender.lock
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ packages:
- common_cells
- register_interface
kulcluster:
revision: 6ecccdbe71edbbde6a5bf149938065369616c96e
revision: adb033bf1cceeebf7456eb19bfed3f699d7fafe4
version: null
source:
Git: git@gitlab.tue.nl:es/convolve-private/kulcluster.git
Expand Down
2 changes: 1 addition & 1 deletion Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
TUEDCIM: { git: "git@gitlab.tue.nl:es/convolve-private/tuedcim.git", rev: 22112024-2}
TUEMEGA: { git: "git@gitlab.tue.nl:es/convolve-private/tuemega.git", rev: 11102024}
TUDDCIM: { git: "git@gitlab.tue.nl:es/convolve-private/tuddcim.git", rev: 04122024-2}
KULCLUSTER: { git: "git@gitlab.tue.nl:es/convolve-private/kulcluster.git", rev: 29112024}
KULCLUSTER: { git: "git@gitlab.tue.nl:es/convolve-private/kulcluster.git", rev: 04122024-2}
ETHCluster: { git: "git@gitlab.tue.nl:es/convolve-private/ethcluster.git", rev: 31102024-3}

export_include_dirs:
Expand Down
6 changes: 3 additions & 3 deletions chimera.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# Lorenzo Leone <lleone@iis.ee.ethz.ch>


CLINTCORES = 19
PLICCORES = 38
PLIC_NUM_INTRS = 38
CLINTCORES = 18
PLICCORES = 36
PLIC_NUM_INTRS = 36


.PHONY: update_plic
Expand Down
2 changes: 1 addition & 1 deletion hw/chimera_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ package chimera_pkg;

localparam cluster_config_t ChimeraClusterCfg = '{
hasWideMasterPort: {1'b1, 1'b1, 1'b1, 1'b1, 1'b1},
NrCores: {8'h9, 8'h3, 8'h2, 8'h2, 8'h2}
NrCores: {8'h9, 8'h2, 8'h2, 8'h2, 8'h2}
};

function automatic int _sumVector(byte_bt [iomsb(ExtClusters):0] vector, int vectorLen);
Expand Down
2 changes: 1 addition & 1 deletion sw/include/soc_addr_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define CLUSTER_0_NUMCORES 2
#define CLUSTER_1_NUMCORES 2
#define CLUSTER_2_NUMCORES 2
#define CLUSTER_3_NUMCORES 3
#define CLUSTER_3_NUMCORES 2
#define CLUSTER_4_NUMCORES 9

static uint8_t _chimera_numCores[] = {CLUSTER_0_NUMCORES, CLUSTER_1_NUMCORES, CLUSTER_2_NUMCORES,
Expand Down

0 comments on commit 0861753

Please sign in to comment.