math
math copied to clipboard
Maybe a little more optimal for an FPGA...
"(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.
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