67 SQRT1 Square Root Engine

67 : SQRT1 Square Root Engine

Select Project123456789ONSW2
  • Author: Davit Margarian (UDXS)
  • Description: Computes 4.2 fixed-point square root for any 7-bit integer
  • GitHub repository
  • Clock: 1000 Hz

How it works

This uses Newton's method to solve sqrt in 3 cycles.

How to test

Set a 7-bit input value and toggle clock 3 times. After, the output will be correct, rounded down to the nearest 4th.

External hardware

Optionally, binary to BCD converter for output

IO

#InputOutput
0clockfrac1
1i1frac2
2i2whole1
3i3whole2
4i4whole3
5i5whole4
6i6
7i7