FPGA Software bearbeitet

This commit is contained in:
schmelzma80036
2024-01-09 08:28:30 +01:00
parent 0d1b73e3e0
commit 45ef215901
223 changed files with 10970 additions and 12 deletions
+11 -2
View File
@@ -2,10 +2,19 @@
#include "system/data_channel.h"
#include "system/Complex.h"
#include "system/float_word.h"
#include <math.h>
int task_fft_run( void * task ) {
// TODO
Complex Array[DATA_CHANNEL_DEPTH];
fft_config * fft = (fft_config *) task;
for(int a = 0; a<DATA_CHANNEL_DEPTH; a++)
{
data_channel_read(task->sources, Array.re[a]);
Array.im[a]=0;
}
return 0;
}