zcu102: split tasks between the 4 available CPUs
30 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Kiran Kintali
am 8 Aug. 2024 um 14:07
You need to split the model into two subsystems or two model reference based blocks for hardware and software.
3 Kommentare
Kiran Kintali
am 8 Aug. 2024 um 16:42
Bearbeitet: Kiran Kintali
am 24 Aug. 2024 um 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)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!