buffer block inside enabled subsystem
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have created model for finding 512 point FFT in simulink,FFT is processing 16 samples at a time(16*1),within that model i have used enabled subsystem and within that enabled system buffer block is used to buffer 512 samples but while doing HDL code generation it is showing an error "Simulink Block Warnings/Errors fft512V16/mainsystem/Enabled Synchronous Subsystem/Deserializer1D Error: Illegal block in enabled subsystem. fft512V16/mainsystem/Enabled Synchronous Subsystem/Enable Error: All ports of an enabled/triggered subsystem must have the same sample rate for HDL code generation. " I have attached a snapshot of my model,plz try to fix asap.
0 comentarios
Respuestas (2)
Tim McBrayer
el 9 de Abr. de 2018
As the error message states, all ports of an enabled subsystem must be the same rate, for HDL code generation. From your image I can see that the inputs are at a rate displayed in red (the fast rate), while the outputs are displayed in green (a slower rate).
The message also states that you have a Deserializer in the enabled subsystem. Since the Deserializer is inherently multi-rate, this might be causing the issue.
0 comentarios
Bharath Venkataraman
el 9 de Abr. de 2018
What is the purpose of using the buffer block in an enabled subsystem? You cannot really have 512 samples coming out of an FPGA (there aren't enough pins). What you likely want to do is to send out 16 samples at a time (if you can) and then collect them outside the FPGA.
0 comentarios
Ver también
Categorías
Más información sobre Speed Optimization en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!