zcu102: split tasks between the 4 available CPUs
4 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Kiran Kintali
on 8 Aug 2024
You need to split the model into two subsystems or two model reference based blocks for hardware and software.
3 Comments
Kiran Kintali
on 8 Aug 2024
Edited: Kiran Kintali
on 24 Aug 2024
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)
See Also
Categories
Find more on Multicore Processor Targets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!