How to configure number of CORDIC iterations used in Real Divide HDL Optimized Block?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Urvish
am 26 Feb. 2025
Kommentiert: Urvish
am 28 Feb. 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 Kommentare
Akzeptierte Antwort
Divyajyoti Nayak
am 27 Feb. 2025
Bearbeitet: Divyajyoti Nayak
am 27 Feb. 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:
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Fixed-Point Math Operations in MATLAB and Simulink finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!