math icon indicating copy to clipboard operation
math copied to clipboard

Maybe a little more optimal for an FPGA...

Open hamsternz opened this issue 4 years ago • 1 comments

"(delta_part_a + delta_part_b)" can be "(delta_part_a } delta_part_b)", replacing an adder with an OR operation, which might be slightly quicker or use less resource if implemented in H/W.

hamsternz avatar Nov 14 '20 07:11 hamsternz

Hi Mike!

Is this the equation that you're talking about? https://github.com/tomverbeure/math/blob/7a1a5354eea726149ef9ecafa7eab2834c1c374e/src/main/scala/math/FpxxDiv.scala#L181

A quick grep for delta doesn't show anything else that might apply to this...

Tom

tomverbeure avatar Feb 18 '21 02:02 tomverbeure