Add fft, 2d_fft and sinwave to examples.
[Faustine.git] / examples / fft / fft.dsp
diff --git a/examples/fft/fft.dsp b/examples/fft/fft.dsp
new file mode 100644 (file)
index 0000000..41ad1fe
--- /dev/null
@@ -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);
+
+
+
+
+
+