Clear Filters
Clear Filters

Is there a way to pipleine HDL reciprocal?

1 view (last 30 days)
Armin Azizian
Armin Azizian on 13 Feb 2019
Answered: Sreejith Menon on 20 Feb 2019
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,

Answers (1)

Sreejith Menon
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

Categories

Find more on Code Generation in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!