aboutsummaryrefslogtreecommitdiff
path: root/recipes-demo/de10-nano-fftsw-apps/files/run_stream_256x1x1.sh
blob: 657f9f78e4e089bde7ce5a125ba784fc157aa2ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

[ -d "output_waveforms" ] || {
	echo ""
	echo "ERROR: directory 'output_waveforms' does not exits, please create it."
	echo ""
	exit 1	
}

./stream_fpga_256x1x1 --input=input_waveforms/ne10cpx_short_sine256.bin --output=output_waveforms/stream_fpga_256x1x1_sine.bin > sine_stream_256x1x1.log
rm output_waveforms/stream_fpga_256x1x1_sine.bin
./stream_neon32_256x1x1 --input=input_waveforms/ne10cpx_long_sine256.bin --output=output_waveforms/stream_neon32_256x1x1_sine.bin >> sine_stream_256x1x1.log
rm output_waveforms/stream_neon32_256x1x1_sine.bin
./stream_raw_256x1x1 --input=input_waveforms/ne10cpx_long_sine256.bin --output=output_waveforms/stream_raw_256x1x1_sine.bin >> sine_stream_256x1x1.log
rm output_waveforms/stream_raw_256x1x1_sine.bin

./stream_fpga_256x1x1 --input=input_waveforms/ne10cpx_short_square256.bin --output=output_waveforms/stream_fpga_256x1x1_square.bin > square_stream_256x1x1.log
rm output_waveforms/stream_fpga_256x1x1_square.bin
./stream_neon32_256x1x1 --input=input_waveforms/ne10cpx_long_square256.bin --output=output_waveforms/stream_neon32_256x1x1_square.bin >> square_stream_256x1x1.log
rm output_waveforms/stream_neon32_256x1x1_square.bin
./stream_raw_256x1x1 --input=input_waveforms/ne10cpx_long_square256.bin --output=output_waveforms/stream_raw_256x1x1_square.bin >> square_stream_256x1x1.log
rm output_waveforms/stream_raw_256x1x1_square.bin

./stream_fpga_256x1x1 --input=input_waveforms/ne10cpx_short_triangle256.bin --output=output_waveforms/stream_fpga_256x1x1_triangle.bin > triangle_stream_256x1x1.log
rm output_waveforms/stream_fpga_256x1x1_triangle.bin
./stream_neon32_256x1x1 --input=input_waveforms/ne10cpx_long_triangle256.bin --output=output_waveforms/stream_neon32_256x1x1_triangle.bin >> triangle_stream_256x1x1.log
rm output_waveforms/stream_neon32_256x1x1_triangle.bin
./stream_raw_256x1x1 --input=input_waveforms/ne10cpx_long_triangle256.bin --output=output_waveforms/stream_raw_256x1x1_triangle.bin >> triangle_stream_256x1x1.log
rm output_waveforms/stream_raw_256x1x1_triangle.bin