Lower number of cores on HERO - Printable Version +- PULP Community (https://pulp-platform.org/community) +-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1) +--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2) +--- Thread: Lower number of cores on HERO (/showthread.php?tid=83) |
Lower number of cores on HERO - lukamac - 05-02-2019 Hello, I was wondering how to decrease the number of cores in a cluster. I have found where to do it for the hardware (bigpulp/fe/rtl/includes/pulp_soc_defines.sv) but I'm not sure if that is all that is needed to be done or should there be something changed elsewhere? Is there anything that needs to be changed in the HERO SDK? Thanks, Luka RE: Lower number of cores on HERO - akurth - 05-09-2019 Hi lukamac, For the hardware that is all, but you also need to change the `nb_pe` parameter in the configuration of the PULP SDK (https://github.com/pulp-platform/pulp-configs/blob/master/configs/chips/hero-z-7045/hero-z-7045.json#L21) and then rebuild the SDK. Best, Andreas RE: Lower number of cores on HERO - lukamac - 05-10-2019 Hi Andreas, Thank you for your reply. The file that you linked is not on the same path in my pulp-sdk. I want to point out that the pulp-sdk, that HERO-SDK clones, is at commit 82ce680 and pulp-configs at commit 43e58d2. So what I have at that path is: ~/hero-sdk/pulp-sdk/pulp-configs/configs/chips/hero-z-7045$ ls apb_soc.json chip.json cluster_0.json defaults.json soc.json system.json I found in the cluster_0.json the same parameter ("nb_pe") but just wanted to make sure is that the right place to change it since I also found the hero-z-7045.json file at several other places: ~/hero-sdk/pulp-sdk$ find -name *hero-z-7045.json* ./pkg/sdk/dev/configs/json/hero-z-7045.json ./pkg/sdk/dev/install/ws/configs/hero-z-7045.json ./pkg/sdk/dev/install/ws/configs/systems/hero-z-7045.json ./pkg/sdk/dev/install/ws/configs/templates/chips/hero-z-7045/hero-z-7045.json ./configs/json/hero-z-7045.json ./build/sdk/pulp-configs/configs/hero-z-7045.json ./build/sdk/pulp-configs/configs/systems/hero-z-7045.json ./build/sdk/pulp-configs/configs/templates/chips/hero-z-7045/hero-z-7045.json ./pulp-configs/configs/hero-z-7045.json ./pulp-configs/configs/systems/hero-z-7045.json ./pulp-configs/configs/templates/chips/hero-z-7045/hero-z-7045.json RE: Lower number of cores on HERO - lukamac - 05-21-2019 Hi Andreas, I have tried your suggestion and it worked partially. When running the helloworld example the host (ARM) gets stuck in function pulp_mbox_read. Here is the gdb backtrace: Code: #0 0xb6e23b94 in ?? () from /lib/libc.so.6 What could be the problem? Could you please help? |