SMV Source Code delivery Tools required to build the code: 1) Texas Instruments Code Composer Studio version 2.20, compiler version 4.36. 2) Cygnus Cygwin V. B20, which includes unix utilities as well as the 'make' program. 3) Microsoft Windows NT 4.0, Windows 2000, or Windows XP. 4) Clearcase ccperl Build 110, or Active Perl ActivePerl-5.6.1.633-MSWin32-x86 Recommended Hardware Emulator: 1) Texas Instruments TMS320C6416 TEB Directory Structure: The directory structure is as follows: \SMV_XDAIS2_SRC_REL210_ROOTDIR \smv \c64x\make # makefile \source # SMV Source files \xdais # SMV xDAIS Interface files \docs # Documents \tstsrc # Test Benches \testvecs # Test Vectors \mkrel # Build makefiles \readme.txt # this file \SMV_XDAIS2_SRC_REL210_Sample_Build Directory SMV_XDAIS2_SRC_REL210_ROOTDIR contains the sources. Directory SMV_XDAIS2_SRC_REL210_Sample_Build contains a copy of SMV_XDAIS2_SRC_REL210_ROOTDIR where SMV has been built. Tools configuration: Locate file SMV_XDAIS2_SRC_REL210_ROOTDIR\mkrel\cygwin32.bat. The file cygwin32.bat configures the windows environment for builds. This batch file contains the following path statement: set PATH=c:\tools\c6xx\cgen436\c6000\cgtools\bin; set PATH=%PATH%;c:\tools;t:\gen\gnu\99-11-01\cygwin-b20\H-i586-cygwin32\bin; set PATH=%PATH%;c:\winnt\system32;c:\winnt; set PATH=%PATH%;c:\apln\atria\bin;c:\progra~1\Rational\clearcase\bin Replace "c:\tools\c6xx\cgen436\c6000\cgtools\bin" with the directory containing cl6x.exe provided in the 4.36 tools distribution. Replace "c:\tools" with a directory containing 'makedep.exe'. This utility can be found in \SMV_XDAIS2_SRC_REL210_ROOTDIR\mkrel\makedep.exe. Replace "t:\gen\gnu\99-11-01\cygwin-b20\H-i586-cygwin32\bin" with your installation of Cygnus Cygwin V. B20. This directory contains the 'make.exe' program. If using Active Perl, instead of clearcase perl, uncomment the two lines set PERL=//c/perl/bin/perl set PERLDOS=c:\perl\bin\perl and comment out the two lines set PERL=//c/apln/atria/bin/ccperl set PERLDOS=c:\apln\atria\bin\ccperl If necessary replace "c:\winnt\system32" and "c:\winnt" with the locations of your winnt files. Windows XP works if you change "winnt" to "windows". "c:\apln\atria\bin" can be replaced with any other utilities you need in the path. We trim the path down to the bare minimum to speed up the build process and to make sure the correct utilities are called from within make. Change & Build Procedure The SMV application is built from sources provided in the release. 1. Modify desired files in their home directories. 2. Configure environment: \EVRC_XDAIS2_SRC_REL210_ROOTDIR\mkrel> cygwin32 bypass This operation only has to be done once after each DOS window is created. 3. At command prompt go to smv\c64x\make. Execute the command as specified below make test ENDIAN=LITTLE FLAT=YES (for Little Endian 20msec build) make test ENDIAN=BIG FLAT=YES (for Big Endian 20msec build) make test ENDIAN=LITTLE SPLIT=10MS FLAT=YES (for Little Endian 10msec build) make test ENDIAN=BIG SPLIT=10MS FLAT=YES (for Big Endian 10msec build) This will produce the out files in the directory \SMV_XDAIS2_SRC_REL210_ROOTDIR\smv\c64x\make\flat\ Note: This will create a single full duplex library (smv_tii.l64) for the corresponding build. To create seperate encoder/Decoder libraries(smvenc_tii.l64 and smvdec_tii.l64), execute the command as specified below: make test ENDIAN=LITTLE XDAIS=YES FLAT=YES (for Little Endian 20msec build) make test ENDIAN=BIG XDAIS=YES FLAT=YES (for Big Endian 20msec build) make test ENDIAN=LITTLE SPLIT=10MS XDAIS=YES FLAT=YES (for Little Endian 10msec build) make test ENDIAN=BIG SPLIT=10MS XDAIS=YES FLAT=YES (for Big Endian 10msec build) Finally, the build procedure makes no assumptions about the root directory. The name "SMV_XDAIS2_SRC_REL210_ROOTDIR" may be shortened, and/or placed somewhere other than the root of a specific drive.