Skip to content

Commit

Permalink
Bump kul and ethcluster (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scheremo authored and Lore0599 committed Oct 30, 2024
1 parent 36739d7 commit e774de9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Bender.lock
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ packages:
- fpnew
- tech_cells_generic
ethcluster:
revision: 8ab985c7965ec0c3c4dd7e99227439d23804a157
revision: 49adaab00aa652adf8601e296b13dedc3f3b6197
version: null
source:
Git: git@gitlab.tue.nl:es/convolve-private/ethcluster.git
Expand Down Expand Up @@ -192,7 +192,7 @@ packages:
- common_cells
- register_interface
kulcluster:
revision: e348b6275c79e1b20510f2ee6d497a49fb2699b6
revision: 6da824eb38f6db629cdbca0d7727fec8be545d6b
version: null
source:
Git: git@gitlab.tue.nl:es/convolve-private/kulcluster.git
Expand Down
4 changes: 2 additions & 2 deletions Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ dependencies:
TUEDCIM: { git: "git@gitlab.tue.nl:es/convolve-private/tuedcim.git", rev: 10102024}
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: 11102024-6}
KULCLUSTER: { git: "git@gitlab.tue.nl:es/convolve-private/kulcluster.git", rev: 11102024}
ETHCluster: { git: "git@gitlab.tue.nl:es/convolve-private/ethcluster.git", rev: 8ab985c}
KULCLUSTER: { git: "git@gitlab.tue.nl:es/convolve-private/kulcluster.git", rev: 17102024}
ETHCluster: { git: "git@gitlab.tue.nl:es/convolve-private/ethcluster.git", rev: 17102024-4}

export_include_dirs:
- hw/include
Expand Down
2 changes: 1 addition & 1 deletion bender.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ COMMON_TARGS ?=
COMMON_TARGS += -t snitch_cluster -t cv32a6_convolve -t cva6 -t rtl

SIM_TARGS = -t test -t sim
EXT_TARGS = -t tuedcim -t tuemega -t kulcluster -t tuddcim
EXT_TARGS = -t tuedcim -t tuemega -t kulcluster -t tuddcim -t ethcluster
8 changes: 6 additions & 2 deletions sw/tests/testCluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ int main() {
clusterMemPtr = (volatile int32_t *)CLUSTERMEMORYSTART;
for (int i = 0; i < NUMCLUSTERS; i++) {
result = *(clusterMemPtr);
ret += (result == TESTVAL);
if (result == TESTVAL) {
ret += 1;
} else {
ret += 1 << (NUMCLUSTERS + i);
}
clusterMemPtr += CLUSTERDISTANCE / 4;
}

if (ret == NUMCLUSTERS) {
if ((ret & ((1 << NUMCLUSTERS) - 1)) == NUMCLUSTERS) {
return 0;
}

Expand Down

0 comments on commit e774de9

Please sign in to comment.