Wideband Computers, Inc. Analog Devices ADSP-210xx Demo Library Analog Devices 21020 and 21060 August 14, 1997 Version 2.5 New for this release: The demo library for the ADSP-210xx contains a sampling of functions that demonstrate vector, math, and dsp functions. One particular example is included with this distribution is texample.c. This test code shows how an input signal array is transformed to a Power Spectral Density output. Two additional libraries have been added for the 21020 and 2106x respectively. These libraries have been compiled with the ADSP-210xx Version 2.3 release 3.3 development toolset. Currently, this toolset is available for DOS only. The UNIX version will be available upon arrival of the SPARC toolset. Note: The new toolset (release 3.3) for DOS requires the use of the DPMI server. This server can be downloaded free from http://www.simtel.net/simtel.net or one of its mirrors. The file (csdpmi3b.zip) is zipped. Extract cwsdpmi.exe and place it in the bin directory where g21k.exe resides. For more information on a complete library, contact: Seth Copeland, Marketing Manager Wideband Computers, Inc. 1350 Pear Ave, Suite C Mountain View, CA 94043 Tel: (650) 962-8722 Fax; (650) 962-8790 E-mail: adsplib@wideband.com seth@wideband.com ------------------------------------------------------------- Wideband Computers, Inc. ADSP-210xx Propac Libraries are packaged on 2 diskettes for DOS and on 1 diskette for UNIX. There are seven libraries for the DOS release and four libraries for the UNIX release. The Analog Devices compiler/linker toolset used to build these libraries are as follows: ADSP-21020 Version 2.06 Release 3.0 (DOS) ADSP-21020 Version 2.10 Release 3.1 (DOS) ADSP-21060 Version 2.10 Release 3.1 (DOS) ADSP-21020 Version 2.15 Release 3.2 (DOS and UNIX) ADSP-21060 Version 2.15 Release 3.2 (DOS and UNIX) ADSP-21020 Version 2.3 Release 3.3 (DOS and UNIX?) ADSP-21060 Version 2.3 Release 3.3 (DOS and UNIX?) When installed, the default target directory structure and contents looks like this: C:WCI +---21KLIB +---INCLUDE | +---VECPAC.H Vector function prototypes | +---MATHPAC.H Math function prototypes | +---DSPPAC.H DSP function prototypes | +---PROPAC.H Comprehensive function prototypes | +---AD020R30 (DOS) | +---LIBWCI.A ADSP-21020 PROPAC library for | Version 2.06 Release 3.0 toolset | +---AD020R31 (DOS) | +---LIBWCI.A ADSP-21020 PROPAC library for | Version 2.10 Release 3.1 toolset | +---AD060R31 (DOS) | +---LIBWCI.A ADSP-21060 PROPAC library for | Version 2.10 Release 3.1 toolset | +---AD020R32 (DOS and UNIX) | +---LIBWCI.A ADSP-21020 PROPAC library for | Version 2.15 Release 3.2 toolset | +---AD060R32 (DOS and UNIX) | +---LIBWCI.A ADSP-21060 PROPAC library for | Version 2.15 Release 3.2 toolset | +---AD020R33 (DOS and UNIX) | +---LIBWCI.A ADSP-21020 PROPAC library for | Version 2.3 Release 3.3 toolset | +---AD060R33 (DOS and UNIX) | +---LIBWCI.A ADSP-21060 PROPAC library for | Version 2.3 Release 3.3 toolset | +---SOURCE (optionally available with source | license) | +---WCI020.ACH Sample architecture file | | for ADSP-21020 | +---WCI060.ACH Sample architecture file | | for ADSP-21060 | +---*.ASM Source code | +---*.H Supporting include files | +---EXAMPLES | +---WCI020.ACH Sample architecture file | | for ADSP-21020 | +---WCI060.ACH Sample architecture file | | for ADSP-21060 | +---COMPILE.BAT (DOS) Batch file used to compile and link | | example test code and library | | into an executable | +---SIMULATE.BAT (DOS) Batch file used to run the | | simulator for the executable | | | +---*.C Example test code for demonstrating | the library functions | +---CONTENTS.EXE (DOS) Executable to display | - Version of library toolset | - Device type for library | - Library contents | +---README.DOC This file When compiling/linking using the g21k command, use the -L switch for the new library path and the -l switch to link in your new library functions. Example: g21k -g -fno-short-double -LC:\WCI\21KLIB\AD020R30 tvadd.c -lwci -a wci020.ach -o tvadd.exe Note: The library switch (-l) must be located after the C source file that references the function in libwci.a (in this case vadd). Note: The architecture files wci020.ach and wci060.ach are sample architecture files used to demonstrate the C test code in the examples directory. These files are by no means meant to describe the intended target system. Modify or create the architecture file that best describes the target system. For DOS systems: Type b:\install or a:\install to execute the install script. The install script will optionally create an environment variable called WCIADLIB in autoexec.bat. This environment variable is used by COMPILE.BAT and SIMULATE.BAT when compiling and running the test code in the EXAMPLES directory. Additionally, it may be used as a means of locating the library when compiling and linking your application. To activate the variable execute autoexec.bat when the installation is complete. SET WCIADLIB=C:\xxxx where: xxxx is the target directory for the library (the default is \WCI\21KLIB). For Unix systems: Mount the diskette as a PC file system and copy wci21k.tar to the target directory. This file is a tar file and can be extracted by typing the following on the command line. %tar -xvf wci21k.tar This will unpack the entire directory structure shown above. Wideband Computers will write/code custom functions for people that have special needs. If such is the case, please provide a synopsis for the function along with a description of the algorithm (examples appreciated). Send to the above address, email address, or FAX number.