zcu102: split tasks between the 4 available CPUs
30 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I'm doing some testing on a ZCU102. I followed a few examples and I was able to run HDL to split some programming between FPGA and CPU and run my model on the target. Based on the examples I found, as far as I understand, basically everything that is not processed via HDL goes on the CPU. The ZCU102 as a quadcore. I would like to try to split some tasks between them. I found a few examples like but when I go into Allow tasks to execute concurrently on target and I click Configure Tasks I cannot find the ZCU102 in the possible target applications and if I select custom it just shows one CPU. Is there something I'm missing? Is there an example I can follow?
thanks
Michele
0 commentaires
Réponses (1)
Kiran Kintali
le 8 Août 2024 à 14:07
You need to split the model into two subsystems or two model reference based blocks for hardware and software.
3 commentaires
Kiran Kintali
le 8 Août 2024 à 16:42
Modifié(e) : Kiran Kintali
le 24 Août 2024 à 2:47
IP core workflow in HDL Coder generates SW interface subsystem as the subsystem to talk to the FPGA side.
This SW interface subsystem can be placed into your SW model to use Embedded Coder to build multi-core application.
There are different ways for Embedded Coder to build multi-core:
- Multi rate and Multitasking Mode (https://www.mathworks.com/help/rtw/ug/modeling-for-multitasking-execution.html)
- Explicit modeling of concurrent execution (https://www.mathworks.com/help/simulink/multicore-processor-targets.html?s_tid=CRUX_lftnav)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!