movingstar
Newbie level 2
- Joined
- Aug 19, 2013
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 22
Floating point equation in 1 cycle
y1= 1.5f*y0 - x*y0*y0*y0
...Note that all quantities are in single precision floating point. Is it possible to carry this out in 1 cycle? I can't even write this equation in behavioral form for synthesizer to optimize because it has to be broken down and fed into FP-multipliers. I have got both the y0 and x available in 1 clock cycle ready to be plugged into this equation ...Now I'm stuck on reducing this equation in least cycles...right now I have got cascaded series fp-multipliers feeding into final fp-subtractor...Each multiplication consumes one clock cycle.
What in your opinion should be the best way to map this equation in hardware? Is there an alternative form of this equation that would be more suitable for implementation?
Regards.
y1= 1.5f*y0 - x*y0*y0*y0
...Note that all quantities are in single precision floating point. Is it possible to carry this out in 1 cycle? I can't even write this equation in behavioral form for synthesizer to optimize because it has to be broken down and fed into FP-multipliers. I have got both the y0 and x available in 1 clock cycle ready to be plugged into this equation ...Now I'm stuck on reducing this equation in least cycles...right now I have got cascaded series fp-multipliers feeding into final fp-subtractor...Each multiplication consumes one clock cycle.
What in your opinion should be the best way to map this equation in hardware? Is there an alternative form of this equation that would be more suitable for implementation?
Regards.
Last edited: