Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert DOS style newlines to Linux style #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions License.txt
Original file line number Diff line number Diff line change
@@ -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, [email protected] */
/* */
/* 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, [email protected] */
/* */
/* 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. */
/* ------------------------------------------------------------------------ */
Binary file modified NDSP_HiFi1/NDSP_HiFi1_v110.zip
Binary file not shown.
80 changes: 40 additions & 40 deletions doc/README.md
Original file line number Diff line number Diff line change
@@ -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
24 changes: 12 additions & 12 deletions doc/cshrc.txt
Original file line number Diff line number Diff line change
@@ -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"