How to create a Cosimulation Block without using Cosimulation Wizard?
Mostrar comentarios más antiguos
As I know, the Cosimlation block in Simulink is generated by Cosimulation wizard as shown in the example Get Started with Simulink HDL Cosimulation

Question:
I wonder if I can create a Cosimlation block without using Cosimulation wizard in Simulink.
Respuesta aceptada
Más respuestas (1)
Marc Erickson
el 28 de Ag. de 2024
0 votos
Yes, you can! There is a generic HDL Cosimulation block In the Simulink library browser, in the library HDL Verifier / For use with Siemens ModelSim/Questa. (Or open "modelsimlib" at the command prompt.)
The wizard automates a lot of the work, but manually filling in the block mask and writing your own scripts can give you more flexibility. A main difference is that the wizard assumes you are cosimulating a specific HDL module interface, whereas manually creating it allows you to scope the driving/sampling of HDL signals anywhere in the HDL design.
We have several examples that do not use the wizard to arrive at the cosimulation model. Here are a couple:
HTH!
1 comentario
Xuan
el 28 de Ag. de 2024
Categorías
Más información sobre Simulink Cosimulation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!