77 lines
1.4 KiB
Markdown
77 lines
1.4 KiB
Markdown
dsp_sqrt
|
|
---
|
|
|
|
This example is a demo project to calculate sqrt with DSP
|
|
> Support to input `unsigned 64-bits` values
|
|
|
|
## Log
|
|
|
|
Use serial port with baudrate 115200, 8bit, no parity check.
|
|
|
|
```
|
|
13:49:12
|
|
This is a demo project to calculat square root with DSP
|
|
square root of 1285064488:
|
|
DSP: 35847
|
|
SW : 35847
|
|
square root of 2029536100:
|
|
DSP: 45050
|
|
SW : 45050
|
|
square root of 3986797496:
|
|
DSP: 63141
|
|
SW : 63141
|
|
square root of 243657094:
|
|
DSP: 15609
|
|
SW : 15609
|
|
square root of 3954601218:
|
|
DSP: 62885
|
|
SW : 62885
|
|
square root of 3274404210:
|
|
DSP: 57222
|
|
SW : 57222
|
|
square root of 2272361996:
|
|
DSP: 47669
|
|
SW : 47669
|
|
square root of 1348358280:
|
|
DSP: 36719
|
|
SW : 36719
|
|
square root of 2143185402:
|
|
DSP: 46294
|
|
SW : 46294
|
|
square root of 1611702454:
|
|
DSP: 40146
|
|
SW : 40146
|
|
square root of 2651961574:
|
|
DSP: 51497
|
|
SW : 51497
|
|
square root of 2217312272:
|
|
DSP: 47088
|
|
SW : 47088
|
|
square root of 2377225393:
|
|
DSP: 48756
|
|
SW : 48756
|
|
square root of 3369961082:
|
|
DSP: 58051
|
|
SW : 58051
|
|
square root of 3553778770:
|
|
DSP: 59613
|
|
SW : 59613
|
|
square root of 3301112800:
|
|
DSP: 57455
|
|
SW : 57455
|
|
square root of 4229335839:
|
|
DSP: 65033
|
|
SW : 65033
|
|
square root of 2794502198:
|
|
DSP: 52863
|
|
SW : 52863
|
|
square root of 2327378881:
|
|
DSP: 48242
|
|
SW : 48242
|
|
square root of 584525248:
|
|
DSP: 24176
|
|
SW : 24176
|
|
done~~~
|
|
|
|
|
|
``` |