How to configure number of CORDIC iterations used in Real Divide HDL Optimized Block?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Urvish
el 26 de Feb. de 2025
Comentada: Urvish
el 28 de Feb. de 2025
I'm trying to configure the Real Divide HDL Optimized block in the simulink. The man page says that the algorithm uses CORDIC to perform division internally. Also, it says that the number of iterations of the CORDIC are fixed to a number, in my case it is 18, which is way too much. I want to reduce it down and experiment with my code. When I try to change the MaximumShiftValue using the set_param(), the MATLAB throws an error saying no such parameter is present in the block. Also, when I try to configure this through GUI, I don't see the parameter their either. Please help.
0 comentarios
Respuesta aceptada
Divyajyoti Nayak
el 27 de Feb. de 2025
Editada: Divyajyoti Nayak
el 27 de Feb. de 2025
I see that you're using MATLAB R2022b, but the 'CORDIC maximum shift value' parameter was added to the 'Real Divide HDL Optimized' block in MATLAB R2024b, hence the error. If you would like to make use of this parameter, I would suggest to update your MATLAB version to R2024b. Here's the part of the documentation which mentions this:
Más respuestas (0)
Ver también
Categorías
Más información sobre Fixed-Point Math Operations in MATLAB and Simulink 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!