
This uses Newton's method to solve sqrt in 3 cycles.
Set a 7-bit input value and toggle clock 3 times. After, the output will be correct, rounded down to the nearest 4th.
Optionally, binary to BCD converter for output
| # | Input | Output |
|---|---|---|
| 0 | clock | frac1 |
| 1 | i1 | frac2 |
| 2 | i2 | whole1 |
| 3 | i3 | whole2 |
| 4 | i4 | whole3 |
| 5 | i5 | whole4 |
| 6 | i6 | |
| 7 | i7 |