Is there a way to pipleine HDL reciprocal?
1 view (last 30 days)
Show older comments
I have a simulink block at runs at 100MHz (10ns sampling rate). I am using an HDL reciprocal block but I don't need it to give me a value every 10ns. I'm wondering if there is a way to pipeline the block internally, or somehow tell HDL coder that this block doesn't need to run at 10ns? I need to be able to insert pipeline registers between iterations of newton raphson operation, or have the tool do something similar for me.
Thanks,
0 Comments
Answers (1)
Sreejith Menon
on 20 Feb 2019
I am assuming that you are using fixed point operations. Since your requirement is to add pipelines between iterations, let me recommend you to use our Native Floating Pointfeatures. You can read more about Native Floating Point from our document.
Native Floating Point allows you to vary between Zero, Min, Max, and Custom latency for the block. That should help you to achieve your goal.
regards,
Sreejith
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!