X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fexamples%2Fexample5%2Fsrc%2Ffft2.h;fp=dol%2Fexamples%2Fexample5%2Fsrc%2Ffft2.h;h=79e567e9c3312d066acb8f74ee39ce9c521f5b11;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/examples/example5/src/fft2.h b/dol/examples/example5/src/fft2.h new file mode 100644 index 0000000..79e567e --- /dev/null +++ b/dol/examples/example5/src/fft2.h @@ -0,0 +1,21 @@ +#ifndef FFT2_H +#define FFT2_H + +#include +#include "global.h" + +#define PORT_INA "inA" +#define PORT_INB "inB" +#define PORT_OUTA "outA" +#define PORT_OUTB "outB" + +typedef struct _local_states +{ + char id[14]; + ComplexNumber inA, inB, outA, outB, rotated_inB, twiddle_factor; +} Fft2_State; + +void fft2_init(DOLProcess *); +int fft2_fire(DOLProcess *); + +#endif