X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/d1e05f17aa7a1169e3e8ea4ccef8817d7dffb0da..cc8ed2bd6bd5a60156d63040b2d352ad5b1a3095:/examples/fft/fft.dsp diff --git a/examples/fft/fft.dsp b/examples/fft/fft.dsp new file mode 100644 index 0000000..41ad1fe --- /dev/null +++ b/examples/fft/fft.dsp @@ -0,0 +1,18 @@ +import ( "../../architecture/fft.lib" ) ; +import ( "../../architecture/complex.lib" ) ; + + + +//fft_test(n,m) = _ : overlap(n,m) <: picks(n) : real2complex(n) : fft(n) : stops(n/2), pcplx_moduls(n/2) : modules_vector(n/2); +//fft_test(n,m) = _ : overlap(n,m) : fft(n) : stops(n/2), pcplx_moduls(n/2) : nconcat(n/2); +fft_test(n,m) = vectorize(n) : fft(n) : pcplx_moduls(n) : nconcat(n); + +//process = +, _ : + : fft_test(128,128); +process = fft_test(128,128) : serialize; +//process = (0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7) <: shuffle(8); + + + + + +