EDA Simulator link and Simulink Cosimulation
Mostrar comentarios más antiguos
Hello All,
I am trying to use EDA simulator link with simulink but I am getting the error:
Error reported by S-function 'shdlcosim' in 'fpgs_sim/HDL Cosimulation/S-Function':
Continuous sample time not allowed for input port 1 of cosim block.
Now what am I supposed to do? The input is actually fixed point 12 bit signed but still I get the error. I have attached the simulink file. Please help....
Respuesta aceptada
Más respuestas (2)
Tim McBrayer
el 13 de Feb. de 2012
0 votos
The error message is referring to the signal's rate, not its data type. You will need to change the rate of the Simulink signal(s) feeding into the EDA Simulator Link block so that they have a discrete rate. (A continuous signal has a rate of 0; a discrete signal has a rate > 0.) Two ways to do this are to ensure all your sources have a discrete rate, or to add rate transition blocks immediately before the signals feed into the Link block.
1 comentario
shreyas
el 13 de Feb. de 2012
Sean Little
el 13 de Feb. de 2012
0 votos
What clock rate do you want to simulate in your HDL? That is what determines the sample rate in Simulink. It sounds like you should spend some time reading the documentation for both Simulink and the EDA Link.
Categorías
Más información sobre Video Formats and Interfaces en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!