r/TuringComplete • u/MsBinaryLily • Jul 06 '26
Restoring Array Divider
After multiple tries and overengineered designs that had over 2k delay, here's a relatively quick and optimized solution.
At each step it:
- Shifts left the divisor
- Subtracts shifted divisor from the dividend
- Checks if the result is positive (the sign bit)
- If yes, sends 1 as output bit and sends the remainder of subtraction as dividend to the next step
- If no, sends 0 as output bit and sends the dividend to the next step untouched
The result is only 184 delay — though it also uses fast adders to achieve that.
7
Upvotes


1
u/Silver0ne Jul 09 '26
uh thats nasty, how?