buffer quivalent block in HDL coder
Mostrar comentarios más antiguos
I am using buffer block in simulink model to store 512 samples of fft output,but this buffer block is unsupported for hdl code generation.so what is buffer equivalent block in HDL coder for hdl code generation. i have tried to use 'DESERIALIZER 1D' block in place of buffer then it is showing an error that "Illegal block in enabled subsystem",how to fix this error
Respuesta aceptada
Más respuestas (2)
Bharath Venkataraman
el 19 de Mzo. de 2018
Editada: Bharath Venkataraman
el 19 de Mzo. de 2018
0 votos
If you are using the HDL Optimized FFT block , I suggest you use a RAM block (either single port, simple dual port or dual port) to buffer the values and read them out.
3 comentarios
DEEKSHA GUPTA
el 19 de Mzo. de 2018
Bharath Venkataraman
el 20 de Mzo. de 2018
You will have to create those signals to drive the RAM based on the FFT output.
An easier approach would be to use the HDL FIFO . You can use the FFT output valid to push into the FIFO and then pop for FFT length cycles when the end output from the FFT goes high. You can use the HDL counter block to count the number of cycles you need to keep the pop high.
May I ask why you need the output of the FFT to be buffered?
DEEKSHA GUPTA
el 20 de Mzo. de 2018
Editada: DEEKSHA GUPTA
el 20 de Mzo. de 2018
Bharath Venkataraman
el 20 de Mzo. de 2018
0 votos
Starting in R2018a, you can choose natural or bit-reversed order for the FFT block with vector input.
1 comentario
DEEKSHA GUPTA
el 7 de Abr. de 2018
Categorías
Más información sobre Hierarchical Designs and Synchronous Hardware Behavior 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!