diff --git a/License.txt b/License.txt index 979f128..4f35951 100644 --- a/License.txt +++ b/License.txt @@ -1,24 +1,24 @@ -/* ------------------------------------------------------------------------ */ -/* Copyright (c) 2022 by Cadence Design Systems, Inc. ALL RIGHTS RESERVED. */ -/* These coded instructions, statements, and computer programs ('Cadence */ -/* Libraries') are the copyrighted works of Cadence Design Systems Inc. */ -/* Cadence IP is licensed for use with Cadence processor cores only and */ -/* must not be used for any other processors and platforms. Your use of the */ -/* Cadence Libraries is subject to the terms of the license agreement you */ -/* have entered into with Cadence Design Systems, or a sublicense granted */ -/* to you by a direct Cadence license. */ -/* ------------------------------------------------------------------------ */ -/* IntegrIT, Ltd. www.integrIT.com, info@integrIT.com */ -/* */ -/* NatureDSP Signal Library */ -/* */ -/* This library contains copyrighted materials, trade secrets and other */ -/* proprietary information of IntegrIT, Ltd. This software is licensed for */ -/* use with Cadence processor cores only and must not be used for any other */ -/* processors and platforms. The license to use these sources was given to */ -/* Cadence, Inc. under Terms and Condition of a Software License Agreement */ -/* between Cadence, Inc. and IntegrIT, Ltd. */ -/* ------------------------------------------------------------------------ */ -/* Copyright (C) 2009-2022 IntegrIT, Limited. */ -/* All Rights Reserved. */ +/* ------------------------------------------------------------------------ */ +/* Copyright (c) 2022 by Cadence Design Systems, Inc. ALL RIGHTS RESERVED. */ +/* These coded instructions, statements, and computer programs ('Cadence */ +/* Libraries') are the copyrighted works of Cadence Design Systems Inc. */ +/* Cadence IP is licensed for use with Cadence processor cores only and */ +/* must not be used for any other processors and platforms. Your use of the */ +/* Cadence Libraries is subject to the terms of the license agreement you */ +/* have entered into with Cadence Design Systems, or a sublicense granted */ +/* to you by a direct Cadence license. */ +/* ------------------------------------------------------------------------ */ +/* IntegrIT, Ltd. www.integrIT.com, info@integrIT.com */ +/* */ +/* NatureDSP Signal Library */ +/* */ +/* This library contains copyrighted materials, trade secrets and other */ +/* proprietary information of IntegrIT, Ltd. This software is licensed for */ +/* use with Cadence processor cores only and must not be used for any other */ +/* processors and platforms. The license to use these sources was given to */ +/* Cadence, Inc. under Terms and Condition of a Software License Agreement */ +/* between Cadence, Inc. and IntegrIT, Ltd. */ +/* ------------------------------------------------------------------------ */ +/* Copyright (C) 2009-2022 IntegrIT, Limited. */ +/* All Rights Reserved. */ /* ------------------------------------------------------------------------ */ \ No newline at end of file diff --git a/NDSP_HiFi1/NDSP_HiFi1_v110.zip b/NDSP_HiFi1/NDSP_HiFi1_v110.zip index decac0c..7784e83 100644 Binary files a/NDSP_HiFi1/NDSP_HiFi1_v110.zip and b/NDSP_HiFi1/NDSP_HiFi1_v110.zip differ diff --git a/doc/README.md b/doc/README.md index 44bbe21..1bc1375 100644 --- a/doc/README.md +++ b/doc/README.md @@ -1,40 +1,40 @@ -# How to Build and Run the Source Code in Linux environment - * Get the latest or required version of NDSP HiFi1 Code from GitHub archived in zip format. - * https://github.com/foss-xtensa/ndsplib-hifi1/tree/main/NDSP_HiFi1 - * Unzip or extract to the destination directory. - -## The source code is organized as follows. - * **build** - contains the make file - * **library** - contains the optimized kernel functions for the HiFi core - * **testdriver** - contains the demo driver code to tun the library - -### It is assumed that the required HiFi core configurations and the Xtensa toolchain are set installed in the Linux environment. - An example .cshrc file that sets up the build environment accordingly is provided for reference - -## Setting up the environment - * A typical way is to place this .cshrc file in your home directory and execute the following from the command line terminal... - * source ~/.cshrc - * ri9 - * setenv XTENSA_CORE CORE_NAME - Ex: setenv XTENSA_CORE AE_HiFi1e_LE5_AO_FP - - -## Compiling the Source Code: - * Navigate to the testdriver directory: …/ NDSP_HiFi1/build/project/xtclang/testdriver - * **CLEAN:** make clean -j - * **BUILD:** make all -j - - -## Running the executable: - ### Navigate to the bin directory: …/ NDSP_HiFi1/build/bin - ### Performance tests: - * xt-run testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -mips -sanity - * xt-run testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -mips -brief - * xt-run testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -mips -full - ### Functional tests: - * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -sanity - * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -brief - * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -full - * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -sanity -verbose - * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -sanity -fir -verbose - * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -brief -fir -iir -fft +# How to Build and Run the Source Code in Linux environment + * Get the latest or required version of NDSP HiFi1 Code from GitHub archived in zip format. + * https://github.com/foss-xtensa/ndsplib-hifi1/tree/main/NDSP_HiFi1 + * Unzip or extract to the destination directory. + +## The source code is organized as follows. + * **build** - contains the make file + * **library** - contains the optimized kernel functions for the HiFi core + * **testdriver** - contains the demo driver code to tun the library + +### It is assumed that the required HiFi core configurations and the Xtensa toolchain are set installed in the Linux environment. + An example .cshrc file that sets up the build environment accordingly is provided for reference + +## Setting up the environment + * A typical way is to place this .cshrc file in your home directory and execute the following from the command line terminal... + * source ~/.cshrc + * ri9 + * setenv XTENSA_CORE CORE_NAME + Ex: setenv XTENSA_CORE AE_HiFi1e_LE5_AO_FP + + +## Compiling the Source Code: + * Navigate to the testdriver directory: …/ NDSP_HiFi1/build/project/xtclang/testdriver + * **CLEAN:** make clean -j + * **BUILD:** make all -j + + +## Running the executable: + ### Navigate to the bin directory: …/ NDSP_HiFi1/build/bin + ### Performance tests: + * xt-run testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -mips -sanity + * xt-run testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -mips -brief + * xt-run testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -mips -full + ### Functional tests: + * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -sanity + * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -brief + * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -full + * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -sanity -verbose + * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -sanity -fir -verbose + * xt-run --turbo testdriver-AE_HiFi1e_LE1_AO_FP_llvm-Xtensa-release -func -brief -fir -iir -fft diff --git a/doc/cshrc.txt b/doc/cshrc.txt index 0fe70ce..0aad197 100644 --- a/doc/cshrc.txt +++ b/doc/cshrc.txt @@ -1,12 +1,12 @@ -#setenv LM_LICENSE_FILE -#alias make "/usr/xtensa/stools-8.1/bin/make" - -alias ri8 "setenv XTENSA_SYSTEM /XtDevTools/install/tools/RI-2021.8-linux/XtensaTools/config/; set path = ( /fac/vol11/audio/xtensa/XtDevTools/install/tools/RI-2021.8-linux/XtensaTools/bin $path); setenv XPLORER_W_AUTOMATION_PLUGIN /fac/vol11/audio/xtensa/Xplorer-9.0.17/xplorer" - -alias ri9 "setenv XTENSA_SYSTEM /XtDevTools/install/tools/RI-2022.9-linux/XtensaTools/config/; set path = ( /fac/vol11/audio/xtensa/XtDevTools/install/tools/RI-2022.9-linux/XtensaTools/bin $path); setenv XPLORER_W_AUTOMATION_PLUGIN /fac/vol11/audio/xtensa/Xplorer-9.0.17/xplorer" - -alias hifi1 "setenv XTENSA_CORE AE_HiFi1e_LE5_AO_FP" - -alias cores 'xt-run --show-config=cores' -alias make "/usr/xtensa/stools-8.1/bin/make" - +#setenv LM_LICENSE_FILE +#alias make "/usr/xtensa/stools-8.1/bin/make" + +alias ri8 "setenv XTENSA_SYSTEM /XtDevTools/install/tools/RI-2021.8-linux/XtensaTools/config/; set path = ( /fac/vol11/audio/xtensa/XtDevTools/install/tools/RI-2021.8-linux/XtensaTools/bin $path); setenv XPLORER_W_AUTOMATION_PLUGIN /fac/vol11/audio/xtensa/Xplorer-9.0.17/xplorer" + +alias ri9 "setenv XTENSA_SYSTEM /XtDevTools/install/tools/RI-2022.9-linux/XtensaTools/config/; set path = ( /fac/vol11/audio/xtensa/XtDevTools/install/tools/RI-2022.9-linux/XtensaTools/bin $path); setenv XPLORER_W_AUTOMATION_PLUGIN /fac/vol11/audio/xtensa/Xplorer-9.0.17/xplorer" + +alias hifi1 "setenv XTENSA_CORE AE_HiFi1e_LE5_AO_FP" + +alias cores 'xt-run --show-config=cores' +alias make "/usr/xtensa/stools-8.1/bin/make" +