diff options
Diffstat (limited to 'recipes-demo/de10-nano-fftsw-apps/files/run_stream_256x16x1.sh')
-rwxr-xr-x | recipes-demo/de10-nano-fftsw-apps/files/run_stream_256x16x1.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-demo/de10-nano-fftsw-apps/files/run_stream_256x16x1.sh b/recipes-demo/de10-nano-fftsw-apps/files/run_stream_256x16x1.sh new file mode 100755 index 0000000..7c296dd --- /dev/null +++ b/recipes-demo/de10-nano-fftsw-apps/files/run_stream_256x16x1.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +[ -d "output_waveforms" ] || { + echo "" + echo "ERROR: directory 'output_waveforms' does not exits, please create it." + echo "" + exit 1 +} + +./stream_fpga_256x16x1 --input=input_waveforms/ne10cpx_short_sine256.bin --output=output_waveforms/stream_fpga_256x16x1_sine.bin > sine_stream_256x16x1.log +rm output_waveforms/stream_fpga_256x16x1_sine.bin +./stream_neon32_256x16x1 --input=input_waveforms/ne10cpx_long_sine256.bin --output=output_waveforms/stream_neon32_256x16x1_sine.bin >> sine_stream_256x16x1.log +rm output_waveforms/stream_neon32_256x16x1_sine.bin +./stream_raw_256x16x1 --input=input_waveforms/ne10cpx_long_sine256.bin --output=output_waveforms/stream_raw_256x16x1_sine.bin >> sine_stream_256x16x1.log +rm output_waveforms/stream_raw_256x16x1_sine.bin + +./stream_fpga_256x16x1 --input=input_waveforms/ne10cpx_short_square256.bin --output=output_waveforms/stream_fpga_256x16x1_square.bin > square_stream_256x16x1.log +rm output_waveforms/stream_fpga_256x16x1_square.bin +./stream_neon32_256x16x1 --input=input_waveforms/ne10cpx_long_square256.bin --output=output_waveforms/stream_neon32_256x16x1_square.bin >> square_stream_256x16x1.log +rm output_waveforms/stream_neon32_256x16x1_square.bin +./stream_raw_256x16x1 --input=input_waveforms/ne10cpx_long_square256.bin --output=output_waveforms/stream_raw_256x16x1_square.bin >> square_stream_256x16x1.log +rm output_waveforms/stream_raw_256x16x1_square.bin + +./stream_fpga_256x16x1 --input=input_waveforms/ne10cpx_short_triangle256.bin --output=output_waveforms/stream_fpga_256x16x1_triangle.bin > triangle_stream_256x16x1.log +rm output_waveforms/stream_fpga_256x16x1_triangle.bin +./stream_neon32_256x16x1 --input=input_waveforms/ne10cpx_long_triangle256.bin --output=output_waveforms/stream_neon32_256x16x1_triangle.bin >> triangle_stream_256x16x1.log +rm output_waveforms/stream_neon32_256x16x1_triangle.bin +./stream_raw_256x16x1 --input=input_waveforms/ne10cpx_long_triangle256.bin --output=output_waveforms/stream_raw_256x16x1_triangle.bin >> triangle_stream_256x16x1.log +rm output_waveforms/stream_raw_256x16x1_triangle.bin + + |