diff options
Diffstat (limited to 'recipes-demo/de10-nano-fftsw-apps/files')
94 files changed, 6968 insertions, 0 deletions
diff --git a/recipes-demo/de10-nano-fftsw-apps/files/LICENSE b/recipes-demo/de10-nano-fftsw-apps/files/LICENSE new file mode 100644 index 0000000..ab84792 --- /dev/null +++ b/recipes-demo/de10-nano-fftsw-apps/files/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) +Copyright (c) 2016 Intel Corporation + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + diff --git a/recipes-demo/de10-nano-fftsw-apps/files/README_HOST.TXT b/recipes-demo/de10-nano-fftsw-apps/files/README_HOST.TXT new file mode 100644 index 0000000..c068ccb --- /dev/null +++ b/recipes-demo/de10-nano-fftsw-apps/files/README_HOST.TXT @@ -0,0 +1,154 @@ +To build the applications in this directory, you should be able to run these +host scripts in this order: + +source ./setup_env.src + this will put the cross compiler tools into the PATH +./build_ne10.sh + this will build the ne10 library into a directory 'ne10' +./build_all.sh + this will build all the applications +./archive_for_target.sh + this will archive all applications and target scripts into fft.tgz for + installation on the target +./copy_to_target.sh + this will copy the fft.tgz archive and setup_target_fft_env.sh over to + the target + +Description of directory contents: + +build_ne10.sh + host script to build the ne10 library + +build_all.sh + host script to build all applications and libraries, except ne10 library + +build_app.sh + host script to build one application + +build_lib.sh + host script to build one library + +clean_all.sh + host script to clean all build objects + +archive_for_target.sh + host script to archive all applications and scripts for target + installation + +copy_to_target.sh + host script that copies fft.tgz archive and setup_target_fft_env.sh + script over to the target + +create_input_waveforms.sh + target script that executes waveform creation applications and + duplication scripts to create all input waveforms for the applications + to consume + +duplicate_x128.sh +duplicate_x32.sh +duplicate_x8.sh + these target scripts duplicate a file x8, x32 or x128 times. These are + used to replicate the fundamental waveforms into longer patterns + +images/ + this directory contains host scripts to create PNG images of waveform + data text files using gnu plot and montage from imagemagick + +run_all.sh +run_fft_256.sh +run_fft_256x32.sh +run_fft_256x32x128.sh +run_fft_4096.sh +run_stream_256x32x128.sh +run_stream_256x16x1.sh +run_stream_256x1x1.sh + these target scripts execute all of the various permutations of the demo + applications mentioned below + +setup_target_fft_env.sh + this target script is used to extract the fft.tgz archive onto the ram + disk mounted at /mnt/ram + +overhead.c + this is the source for the overhead library that all of the applications + are linked against + +c16_256.c +c16_256x32.c +c16_256x32x128.c +c16_4096.c + these applications use the NE10 C functions to implement the FFT + algorithm for a variety of input sample sizes with 16-bit resolution + +c32_256.c +c32_256x32.c +c32_256x32x128.c +c32_4096.c + these applications use the NE10 C functions to implement the FFT + algorithm for a variety of input sample sizes with 32-bit resolution + +fft_256.c +fft_256x32.c +fft_256x32x128.c +fft_4096.c + these applications use the FPGA logic to implement the FFT + algorithm for a variety of input sample sizes. This variant pushes + the input samples into the FPGA and pulls the results back out using + programmed I/O from the HPS Cortex A9 processor + +fftdma_256.c +fftdma_256x32.c +fftdma_256x32x128.c +fftdma_4096.c + these applications use the FPGA logic to implement the FFT + algorithm for a var |