Regarding the Zybo board and Embedded Coder
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm currently working with a Zybo board and using MATLAB's HDL and Embedded Coder for automatic code generation.
I have a question regarding Embedded Coder for the project I am working on. I would like to run two separate tasks in parallel on the dual processor in the ZYBO board, however, when running Embedded Coder there is no option to target a specific processor.
If anyone else has come across this, is there a way I can find out which processor my code is being uploaded to and is there a way I can control this?
Many thanks
댓글 수: 0
답변 (2개)
Andy Tang
2018년 3월 9일
Same here, I also wondering the same problem too. Is there any MATLAB master can answer this?
댓글 수: 0
MathWorks Embedded Coder Team
2018년 3월 10일
Hi,
You cannot control what process runs on which core of ARM Cortex-A9 CPU on Zybo hardware board.
However, if your model has multiple rates (tasks), you can allow the tasks to execute concurrently on the hardware board. To enable the concurrent tasking behavior for the model: Check “Allow tasks to execute concurrently on target” setting, in Simulink model Configuration parameters > Solver page.
Thanks.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!