Skip to content
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) 2016 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, info@integrIT.com */
/* */
/* 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-2016 IntegrIT, Limited. */
/* All Rights Reserved. */
/* ------------------------------------------------------------------------ */
/* Copyright (c) 2016 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, info@integrIT.com */
/* */
/* 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-2016 IntegrIT, Limited. */
/* All Rights Reserved. */
/* ------------------------------------------------------------------------ */
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Fusion_F1_NDSP
NatureDSP Library for Fusion F1 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 : FusionF1_VFPU_library_v1_2_0.xws & FusionF1_VFPU_demo_v1_2_0.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 v1.2.0 Brief
Release Date : Jan-2022.
This release primarily contains changes to work with RI.6 xt-xcc and RI.7 xt-clang toolchain.
# Fusion_F1_NDSP
NatureDSP Library for Fusion F1 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 : FusionF1_VFPU_library_v1_2_0.xws & FusionF1_VFPU_demo_v1_2_0.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 v1.2.0 Brief
Release Date : Jan-2022.
This release primarily contains changes to work with RI.6 xt-xcc and RI.7 xt-clang toolchain.
78 changes: 39 additions & 39 deletions doc/README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
# How to Build and Run the Source Code in Linux environment
* Get the latest or required version of NDSP FusionF1 Code from GitHub archived in zip format.
* https://github.com/foss-xtensa/ndsplib-fuf1/tree/main/NDSP_FuF1
* 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_FuF1_LE5_AO_FP
## Compiling the Source Code:
* Navigate to the testdriver directory: …/ NDSP_FuF1/build/project/xtclang/testdriver
* **CLEAN:** make clean -j
* **BUILD:** make all -j
## Running the executable:
### Navigate to the bin directory: …/ NDSP_FuF1/build/bin
### Performance tests:
* xt-run testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -mips -brief
* xt-run testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -mips -full
### Functional tests:
* xt-run --turbo testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -func -sanity
* xt-run --turbo testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -func -brief
* xt-run --turbo testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -func -full
* xt-run --turbo testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -func -sanity -verbose
* xt-run --turbo testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -func -sanity -fir -verbose
* xt-run --turbo testdriver-AE_FuF1_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 FusionF1 Code from GitHub archived in zip format.
* https://github.com/foss-xtensa/ndsplib-fuf1/tree/main/NDSP_FuF1
* 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_FuF1_LE5_AO_FP


## Compiling the Source Code:
* Navigate to the testdriver directory: …/ NDSP_FuF1/build/project/xtclang/testdriver
* **CLEAN:** make clean -j
* **BUILD:** make all -j


## Running the executable:
### Navigate to the bin directory: …/ NDSP_FuF1/build/bin
### Performance tests:
* xt-run testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -mips -brief
* xt-run testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -mips -full
### Functional tests:
* xt-run --turbo testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -func -sanity
* xt-run --turbo testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -func -brief
* xt-run --turbo testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -func -full
* xt-run --turbo testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -func -sanity -verbose
* xt-run --turbo testdriver-AE_FuF1_LE5_AO_FP_llvm-Xtensa-release -func -sanity -fir -verbose
* xt-run --turbo testdriver-AE_FuF1_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 hifi1 "setenv XTENSA_CORE AE_FuF1_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_FuF1_LE5_AO_FP"

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