- analog world
- code for microprocessor type A
- code for microprocessor type B
- code for FPGA type C
- code for ASIC design D
- ...
Simulation for custom multiprocessor hardware
1 次查看(过去 30 天)
显示 更早的评论
Is it possible to use Matlab/Simulink (with code generation) for a simulation dedicated to a custom multiprocessor hardware (CPU TI + CPU Freescale)
0 个评论
采纳的回答
Andy Bartlett
2021-9-2
编辑:Andy Bartlett
2021-9-2
Yes, a strength of Simulink is allowing all manner of different things to be brought together in a system level simulation.
This can include mixtures of components that model
Model Reference is a key feature for separating components that represent code for different targets.
In Alberto's model reference introductory video at time 3:29, he mentions that Model Reference models can have independent configuration sets. This is the key. On the configuration parameters dialog on the Hardware Implementation pane, each model representing embedded code should specify the appropriate type of microprocessor or ASIC/FPGA that it is targeting.
A parent model that references these child Model Reference models can provide the system level simulation of all this variety working together.
Code generation would be done for each type of chip, one at a time. Go to each Model Reference model that represents code on an embedded device. Generate code from that model for that device its configuration parameter specifies.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!