zcu102: split tasks between the 4 available CPUs
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Kiran Kintali
2024-8-8
You need to split the model into two subsystems or two model reference based blocks for hardware and software.
3 个评论
Kiran Kintali
2024-8-8
编辑:Kiran Kintali
2024-8-24
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)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multicore Processor Targets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!