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) 2018 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 licensee. */
/* ------------------------------------------------------------------------ */
/* IntegrIT, Ltd. www.integrIT.com, [email protected] */
/* */
/* DSP 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) 2015-2018 IntegrIT, Limited. */
/* All Rights Reserved. */
/* ------------------------------------------------------------------------ */
/* Copyright (c) 2018 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 licensee. */
/* ------------------------------------------------------------------------ */
/* IntegrIT, Ltd. www.integrIT.com, [email protected] */
/* */
/* DSP 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) 2015-2018 IntegrIT, Limited. */
/* All Rights Reserved. */
/* ------------------------------------------------------------------------ */
Binary file modified NDSP_HiFi4/NDSP_HiFi4_v420.zip
Binary file not shown.
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# HiFi_4_NDSP
NatureDSP Library for HiFi 4 DSP cores
# The repo is organized as follows.
## xws:
* Last stable release version of the NDSP containing two xws files.
* An xws each, for the library-kernels and the test-driver.
Ex : HiFi4_VFPU_Demo_v4_1_1.xws & HiFi4_VFPU_Library_v4_1_1.xws.xws
* Building and executing the xws in Xtensa Xplorer is described in the API Reference Document.
* Detailed release documentation can be extracted from lib.xws/doc folder.
### Release v4.1.1 Brief:
* Release Date : February 2022.
* This release is targeted for xt-clang compiler, using RI2021.8 toolchain version.
## NDSP_HiFi4
This contains the source code along with make files that will build in linux environment.
## doc folder
This contains help documentation on how to build the source code in linux and run the performance and functional regressions.
# HiFi_4_NDSP
NatureDSP Library for HiFi 4 DSP cores

# The repo is organized as follows.

## xws:
* Last stable release version of the NDSP containing two xws files.

* An xws each, for the library-kernels and the test-driver.
Ex : HiFi4_VFPU_Demo_v4_1_1.xws & HiFi4_VFPU_Library_v4_1_1.xws.xws

* Building and executing the xws in Xtensa Xplorer is described in the API Reference Document.
* Detailed release documentation can be extracted from lib.xws/doc folder.

### Release v4.1.1 Brief:
* Release Date : February 2022.
* This release is targeted for xt-clang compiler, using RI2021.8 toolchain version.

## NDSP_HiFi4
This contains the source code along with make files that will build in linux environment.

## doc folder
This contains help documentation on how to build the source code in linux and run the performance and functional regressions.
74 changes: 37 additions & 37 deletions doc/README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
# How to Build and Run the Source Code in Linux environment
* Get the latest or required version of NDSP HiFi4 Code from GitHub archived in zip format.
* https://github.com/foss-xtensa/ndsplib-hifi4/tree/main/NDSP_HiFi4
* 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 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
* ri8
* setenv XTENSA_CORE CORE_NAME
Ex: setenv XTENSA_CORE AE_HiFi4_LE5_AO_FP
## Compiling the Source Code:
* Navigate to the testdriver directory: …/ NDSP_HiFi4/build/project/xtclang/testdriver
* **CLEAN:** make clean -j -e LANG=LLVM
* **BUILD:** make all -j -e LANG=LLVM
## Running the executable:
### Navigate to the bin directory: …/ NDSP_HiFi4/build/bin
### Performance tests:
* xt-run testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -mips -brief
* xt-run testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -mips -full
### Functional tests:
* xt-run --turbo testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -func -brief
* xt-run --turbo testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -func -full
* xt-run --turbo testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -func -brief -verbose
* xt-run --turbo testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -func -full -fir -verbose
* xt-run --turbo testdriver-AE_HiFi4_LE5_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 HiFi4 Code from GitHub archived in zip format.
* https://github.com/foss-xtensa/ndsplib-hifi4/tree/main/NDSP_HiFi4
* 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 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
* ri8
* setenv XTENSA_CORE CORE_NAME
Ex: setenv XTENSA_CORE AE_HiFi4_LE5_AO_FP

## Compiling the Source Code:
* Navigate to the testdriver directory: …/ NDSP_HiFi4/build/project/xtclang/testdriver
* **CLEAN:** make clean -j -e LANG=LLVM
* **BUILD:** make all -j -e LANG=LLVM


## Running the executable:
### Navigate to the bin directory: …/ NDSP_HiFi4/build/bin
### Performance tests:
* xt-run testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -mips -brief
* xt-run testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -mips -full
### Functional tests:
* xt-run --turbo testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -func -brief
* xt-run --turbo testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -func -full
* xt-run --turbo testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -func -brief -verbose
* xt-run --turbo testdriver-AE_HiFi4_LE5_AO_FP_llvm-Xtensa-release -func -full -fir -verbose
* xt-run --turbo testdriver-AE_HiFi4_LE5_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 hifi4 "setenv XTENSA_CORE AE_HiFi4_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 hifi4 "setenv XTENSA_CORE AE_HiFi4_LE5_AO_FP"

alias cores 'xt-run --show-config=cores'
alias make "/usr/xtensa/stools-8.1/bin/make"