FPGA Software bearbeitet
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user