Filter löschen
Filter löschen

Is there a way to pipleine HDL reciprocal?

1 Ansicht (letzte 30 Tage)
Armin Azizian
Armin Azizian am 13 Feb. 2019
Beantwortet: Sreejith Menon am 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,

Antworten (1)

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

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by