Update repo
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?ccsproject version="1.0"?>
|
||||
<projectOptions>
|
||||
<deviceVariant value="com.ti.ccstudio.deviceModel.C2000.GenericC28xxDevice"/>
|
||||
<deviceFamily value="C2000"/>
|
||||
<codegenToolVersion value="6.2.5"/>
|
||||
<isElfFormat value="false"/>
|
||||
<templateProperties value="id=com.ti.common.project.core.emptyProjectTemplate,"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
@@ -0,0 +1,258 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369" moduleId="org.eclipse.cdt.core.settings" name="ISA_C2800">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="lib" artifactName="${FIXEDPT_DSP_LIB_ROOT}/lib/${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="Standard C28x Instruction Set Architecture" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369" name="ISA_C2800" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.libraryDebugToolchain.652999477" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.libraryDebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.librarianDebug.1205745875">
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.503545639" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C2000.GenericC28xxDevice"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=staticLibrary"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1328509871" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.targetPlatformDebug.1538699742" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.builderDebug.499713229" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.compilerDebug.454554935" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.1972337788" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.68916742" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.189747688" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.98860381" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1239489212" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DISPLAY_ERROR_NUMBER.2028806376" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WRAP.1510101118" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.1266541497" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${FIXEDPT_DSP_LIB_ROOT}/include""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.475321002" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="__TI_EABI__=0"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.541638731" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.549638930" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.1884552210" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1436312774" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.librarianDebug.1205745875" name="C2000 Archiver" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.librarianDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.archiverID.OUTPUT_FILE.1932183853" name="Output file" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.archiverID.OUTPUT_FILE" useByScannerDiscovery="false" value="${FIXEDPT_DSP_LIB_ROOT}/lib/${ProjName}.lib" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.archiverID.PRINT_GLOBAL_SYMBOLS.613202454" name="Print symbol table contents (s)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.archiverID.PRINT_GLOBAL_SYMBOLS" value="true" valueType="boolean"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.1395561679">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.1395561679" moduleId="org.eclipse.cdt.core.settings" name="ISA_C28FPU32">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="lib" artifactName="${FIXEDPT_DSP_LIB_ROOT}/lib/${ProjName}_fpu32" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="C28x + FPU32 Instruction Set Architecture" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.1395561679" name="ISA_C28FPU32" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.1395561679." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.libraryDebugToolchain.1222973999" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.libraryDebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.librarianDebug.1205745875">
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.138578935" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C2000.GenericC28xxDevice"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=staticLibrary"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.254751078" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.targetPlatformDebug.733676401" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.builderDebug.825209158" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.compilerDebug.2082949048" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.928582157" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.693187562" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.1692169547" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.68540449" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1082062864" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DISPLAY_ERROR_NUMBER.1833577221" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WRAP.852011249" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.1670421526" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${FIXEDPT_DSP_LIB_ROOT}/include""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.85373370" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.fpu32" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.1109897484" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="__TI_EABI__=0"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.208242599" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.859753983" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.815384984" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1175530514" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.librarianDebug.1251408395" name="C2000 Archiver" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.library.librarianDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.archiverID.OUTPUT_FILE.278630669" name="Output file" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.archiverID.OUTPUT_FILE" useByScannerDiscovery="false" value="${FIXEDPT_DSP_LIB_ROOT}/lib/${ProjName}_fpu32.lib" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.archiverID.PRINT_GLOBAL_SYMBOLS.1380712320" name="Print symbol table contents (s)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.archiverID.PRINT_GLOBAL_SYMBOLS" value="true" valueType="boolean"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.671347441">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.671347441" moduleId="org.eclipse.cdt.core.settings" name="ISA_C2800_EABI">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="lib" artifactName="${FIXEDPT_DSP_LIB_ROOT}/lib/${ProjName}_eabi" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="Standard C28x Library in EABI format" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.671347441" name="ISA_C2800_EABI" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.671347441." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_22.6.libraryDebugToolchain.1073450192" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.libraryDebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.librarianDebug.2015402844">
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1105770267" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C2000.GenericC28xxDevice"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=staticLibrary"/>
|
||||
<listOptionValue builtIn="false" value="PRODUCTS="/>
|
||||
<listOptionValue builtIn="false" value="PRODUCT_MACRO_IMPORTS={}"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1034424275" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="22.6.0.LTS" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.targetPlatformDebug.787657770" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.builderDebug.1194398693" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.compilerDebug.838005502" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.SILICON_VERSION.1004172487" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.LARGE_MEMORY_MODEL.1608943776" name="Option deprecated, set by default (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.UNIFIED_MEMORY.1459691409" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.INCLUDE_PATH.2119953858" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
||||
<listOptionValue builtIn="false" value="${FIXEDPT_DSP_LIB_ROOT}/include"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ADVICE__PERFORMANCE.970423607" name="Provide advice on optimization techniques (--advice:performance)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ADVICE__PERFORMANCE" value="--advice:performance=all" valueType="string"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEFINE.621918888" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="__TI_EABI__=1"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEBUGGING_MODEL.2014333063" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WARNING.74528086" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WRAP.11388206" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DISPLAY_ERROR_NUMBER.1145996986" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ABI.947156623" name="Application binary interface [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ABI.eabi" valueType="enumerated"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__C_SRCS.342836801" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__CPP_SRCS.1017292346" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM_SRCS.1049143785" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM2_SRCS.2091902324" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.librarianDebug.2015402844" name="C2000 Archiver" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.librarianDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.archiverID.OUTPUT_FILE.1258753155" name="Output file" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.archiverID.OUTPUT_FILE" value="${FIXEDPT_DSP_LIB_ROOT}/lib/${ProjName}_eabi.lib" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.archiverID.PRINT_GLOBAL_SYMBOLS.1025225074" name="Print symbol table contents (s)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.archiverID.PRINT_GLOBAL_SYMBOLS" value="true" valueType="boolean"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.1395561679.2085196819">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.1395561679.2085196819" moduleId="org.eclipse.cdt.core.settings" name="ISA_C28FPU32_EABI">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="lib" artifactName="${FIXEDPT_DSP_LIB_ROOT}/lib/${ProjName}_fpu32_eabi" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="Standard C28x library + FPU32 ISA in EABI format" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.1395561679.2085196819" name="ISA_C28FPU32_EABI" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1298346369.1395561679.2085196819." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_22.6.libraryDebugToolchain.1779874660" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.libraryDebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.librarianDebug.1547353449">
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.564719835" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C2000.GenericC28xxDevice"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=staticLibrary"/>
|
||||
<listOptionValue builtIn="false" value="PRODUCTS="/>
|
||||
<listOptionValue builtIn="false" value="PRODUCT_MACRO_IMPORTS={}"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1704992659" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="22.6.0.LTS" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.targetPlatformDebug.937853143" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.builderDebug.991231445" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.compilerDebug.41294725" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.SILICON_VERSION.427151993" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.LARGE_MEMORY_MODEL.2008192024" name="Option deprecated, set by default (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.UNIFIED_MEMORY.771164582" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.FLOAT_SUPPORT.2094119468" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.FLOAT_SUPPORT.fpu32" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.INCLUDE_PATH.1247552704" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
||||
<listOptionValue builtIn="false" value="${FIXEDPT_DSP_LIB_ROOT}/include"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEFINE.1162390778" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="__TI_EABI__=1"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEBUGGING_MODEL.1847413361" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WARNING.751661618" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WRAP.721859121" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DISPLAY_ERROR_NUMBER.1483757868" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ABI.1796150334" name="Application binary interface [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ABI.eabi" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ADVICE__PERFORMANCE.184420368" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ADVICE__PERFORMANCE" value="--advice:performance=all" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__C_SRCS.1285220705" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__CPP_SRCS.919350861" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM_SRCS.1967079456" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM2_SRCS.1485410386" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.librarianDebug.1547353449" name="C2000 Archiver" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.library.librarianDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.archiverID.OUTPUT_FILE.1500402003" name="Output file" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.archiverID.OUTPUT_FILE" value="${FIXEDPT_DSP_LIB_ROOT}/lib/${ProjName}_fpu32_eabi.lib" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.archiverID.PRINT_GLOBAL_SYMBOLS.681454881" name="Print symbol table contents (s)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.archiverID.PRINT_GLOBAL_SYMBOLS" value="true" valueType="boolean"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="c28x_fixedpoint_dsp_library.com.ti.ccstudio.buildDefinitions.C2000.ProjectType.2062488716" name="C2000" projectType="com.ti.ccstudio.buildDefinitions.C2000.ProjectType"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
|
||||
<project-mappings>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
</project-mappings>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
||||
<storageModule moduleId="null.endianPreference"/>
|
||||
<storageModule moduleId="cpuFamily"/>
|
||||
</cproject>
|
||||
@@ -0,0 +1,145 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>c28x_fixedpoint_dsp_library</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.ti.ccstudio.core.ccsNature</nature>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>CFFT32_brev.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/CFFT32_brev.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>CFFT32_mag.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/CFFT32_mag.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>CFFT32_win.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/CFFT32_win.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>FFT32_calc.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/FFT32_calc.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>FFT32_init.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/FFT32_init.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>FFT32_izero.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/FFT32_izero.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>RFFT32_brev.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/RFFT32_brev.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>RFFT32_brev_RT.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/RFFT32_brev_RT.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>RFFT32_mag.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/RFFT32_mag.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>RFFT32_split.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/RFFT32_split.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>RFFT32_win.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/RFFT32_win.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>fir16.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/fir16.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>fir16_alt.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/fir16_alt.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>fir32.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/fir32.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>fir32_alt.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/fir32_alt.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>iir5biq16.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/iir5biq16.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>iir5biq32.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/iir5biq32.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>sel_q.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>FIXEDPT_DSP_LIB_ROOT/source/sel_q.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ISA_C2800/c28x_fixedpoint_dsp_library.lib</name>
|
||||
<type>1</type>
|
||||
<locationURI>EXTERNAL_BUILD_ARTIFACT</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ISA_C2800_EABI/c28x_fixedpoint_dsp_library_eabi.lib</name>
|
||||
<type>1</type>
|
||||
<locationURI>EXTERNAL_BUILD_ARTIFACT</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ISA_C28FPU32/c28x_fixedpoint_dsp_library_fpu32.lib</name>
|
||||
<type>1</type>
|
||||
<locationURI>EXTERNAL_BUILD_ARTIFACT</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ISA_C28FPU32_EABI/c28x_fixedpoint_dsp_library_fpu32_eabi.lib</name>
|
||||
<type>1</type>
|
||||
<locationURI>EXTERNAL_BUILD_ARTIFACT</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>FIXEDPT_DSP_LIB_ROOT</name>
|
||||
<value>$%7BPARENT-1-PROJECT_LOC%7D</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
||||
@@ -0,0 +1,134 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00000000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM01 : origin = 0x00000128, length = 0x00000658
|
||||
//RAMM1 : origin = 0x00000400, length = 0x00000380 /* on-chip RAM block M1 */
|
||||
BOOT_RSVD_SYSBIOS: origin = 0x00000780, length = 0x00000080
|
||||
|
||||
RAMLS_BUFFERS : origin = 0x00008000, length = 0x00002000
|
||||
RAMLS : origin = 0x0000A000, length = 0x00001FF8
|
||||
RAMLS1_RSVD : origin = 0x0000BFF8, length = 0x00000008
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
|
||||
/* Flash sectors */
|
||||
FLASH_BANK0_SEC_0_7 : origin = 0x080002, length = 0x1FFE /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_8_15 : origin = 0x082000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_16_23 : origin = 0x084000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_24 : origin = 0x086000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_25 : origin = 0x086400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_26 : origin = 0x086800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_27 : origin = 0x086C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_28 : origin = 0x087000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_29 : origin = 0x087400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_30 : origin = 0x087800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_31 : origin = 0x087C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_32 : origin = 0x088080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_33 : origin = 0x088480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_34 : origin = 0x088880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_35 : origin = 0x088C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_36 : origin = 0x089080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_37 : origin = 0x089480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_38 : origin = 0x089880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_39 : origin = 0x089C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_40_47 : origin = 0x08A000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_48_55 : origin = 0x08C000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_56_63 : origin = 0x08E000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_64_71 : origin = 0x090000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_72_79 : origin = 0x092000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_80_87 : origin = 0x094000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_88 : origin = 0x096000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_89 : origin = 0x096400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_90 : origin = 0x096800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_91 : origin = 0x096C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_92 : origin = 0x097000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_93 : origin = 0x097400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_94 : origin = 0x097800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_95 : origin = 0x097C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_96 : origin = 0x098080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_97 : origin = 0x098480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_98 : origin = 0x098880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_99 : origin = 0x098C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_100 : origin = 0x099080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_101 : origin = 0x099480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_102 : origin = 0x099880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_103 : origin = 0x099C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_104_111 : origin = 0x09A000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_112_119 : origin = 0x09C000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_120_127 : origin = 0x09E000, length = 0x1FF0 /* on-chip Flash */
|
||||
|
||||
FLASH_BANK0_SEC_127_RSVD : origin = 0x0A0FF0, length = 0x0010 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
code_start : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM01
|
||||
|
||||
|
||||
|
||||
FFTipcb : >> RAMLS_BUFFERS, ALIGN(1024)
|
||||
FFTipcbsrc : >> RAMLS_BUFFERS
|
||||
|
||||
#if defined(RAM)
|
||||
.TI.ramfunc : > RAMM01
|
||||
.text : >> RAMLS
|
||||
.cinit : > RAMM01
|
||||
.switch : > RAMM01
|
||||
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.init_array : > RAMM01
|
||||
.const : >> RAMLS | RAMLS_BUFFERS | RAMM01
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
#else
|
||||
.pinit : > RAMM01
|
||||
.ebss : > RAMLS
|
||||
.econst : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
#endif
|
||||
FFTtf : >> RAMLS | RAMLS_BUFFERS | RAMM01
|
||||
|
||||
#elif defined(_FLASH)
|
||||
.text : >> FLASH_BANK0_SEC0_7, ALIGN(8)
|
||||
.cinit : > FLASH_BANK0_SEC0_7, ALIGN(8)
|
||||
.switch : > FLASH_BANK0_SEC0_7, ALIGN(8)
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.init_array : > FLASH_BANK0_SEC0_7, ALIGN(8)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.const : > FLASH_BANK0_SEC0_7, ALIGN(8)
|
||||
#else
|
||||
.pinit : > FLASH_BANK0_SEC0_7, ALIGN(8)
|
||||
.ebss : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
.econst : > FLASH_BANK0_SEC0_7, ALIGN(8)
|
||||
#endif
|
||||
|
||||
.TI.ramfunc : LOAD = FLASH_BANK0_SEC0_7,
|
||||
RUN = RAMLS,
|
||||
LOAD_START(RamfuncsLoadStart),
|
||||
LOAD_SIZE(RamfuncsLoadSize),
|
||||
LOAD_END(RamfuncsLoadEnd),
|
||||
RUN_START(RamfuncsRunStart),
|
||||
RUN_SIZE(RamfuncsRunSize),
|
||||
RUN_END(RamfuncsRunEnd),
|
||||
ALIGN(8)
|
||||
|
||||
FFTtf : > FLASH_BANK0_SEC0_7
|
||||
#endif//RAM
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00000000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM01 : origin = 0x00000128, length = 0x00000658
|
||||
//RAMM1 : origin = 0x00000400, length = 0x00000380 /* on-chip RAM block M1 */
|
||||
BOOT_RSVD_SYSBIOS: origin = 0x00000780, length = 0x00000080
|
||||
|
||||
RAMLS_BUFFERS : origin = 0x00008000, length = 0x00002000
|
||||
RAMLS : origin = 0x0000A000, length = 0x00001FF8
|
||||
RAMLS1_RSVD : origin = 0x0000BFF8, length = 0x00000008
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
|
||||
/* Flash sectors */
|
||||
FLASH_BANK0_SEC_0_7 : origin = 0x080002, length = 0x1FFE /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_8_15 : origin = 0x082000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_16_23 : origin = 0x084000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_24 : origin = 0x086000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_25 : origin = 0x086400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_26 : origin = 0x086800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_27 : origin = 0x086C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_28 : origin = 0x087000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_29 : origin = 0x087400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_30 : origin = 0x087800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_31 : origin = 0x087C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_32 : origin = 0x088080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_33 : origin = 0x088480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_34 : origin = 0x088880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_35 : origin = 0x088C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_36 : origin = 0x089080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_37 : origin = 0x089480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_38 : origin = 0x089880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_39 : origin = 0x089C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_40_47 : origin = 0x08A000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_48_55 : origin = 0x08C000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_56_63 : origin = 0x08E000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_64_71 : origin = 0x090000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_72_79 : origin = 0x092000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_80_87 : origin = 0x094000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_88 : origin = 0x096000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_89 : origin = 0x096400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_90 : origin = 0x096800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_91 : origin = 0x096C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_92 : origin = 0x097000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_93 : origin = 0x097400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_94 : origin = 0x097800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_95 : origin = 0x097C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_96 : origin = 0x098080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_97 : origin = 0x098480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_98 : origin = 0x098880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_99 : origin = 0x098C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_100 : origin = 0x099080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_101 : origin = 0x099480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_102 : origin = 0x099880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_103 : origin = 0x099C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_104_111 : origin = 0x09A000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_112_119 : origin = 0x09C000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_120_127 : origin = 0x09E000, length = 0x1FF0 /* on-chip Flash */
|
||||
|
||||
FLASH_BANK0_SEC_127_RSVD : origin = 0x0A0FF0, length = 0x0010 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM01
|
||||
|
||||
#if defined(RAM)
|
||||
.TI.ramfunc : > RAMM01
|
||||
.text : >> RAMLS
|
||||
.cinit : > RAMM01
|
||||
.switch : > RAMM01
|
||||
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.init_array : > RAMM01
|
||||
.const : > RAMLS
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
#else
|
||||
.pinit : > RAMM01
|
||||
.ebss : > RAMLS
|
||||
.econst : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
#endif
|
||||
|
||||
coefffilt : > RAMLS, ALIGN(0x100)
|
||||
|
||||
#elif defined(_FLASH)
|
||||
.text : >> FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
.cinit : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
.switch : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.init_array : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.const : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
#else
|
||||
.pinit : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
.ebss : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
.econst : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
#endif
|
||||
|
||||
.TI.ramfunc : LOAD = FLASH_BANK0_SEC_0_7,
|
||||
RUN = RAMLS,
|
||||
LOAD_START(RamfuncsLoadStart),
|
||||
LOAD_SIZE(RamfuncsLoadSize),
|
||||
LOAD_END(RamfuncsLoadEnd),
|
||||
RUN_START(RamfuncsRunStart),
|
||||
RUN_SIZE(RamfuncsRunSize),
|
||||
RUN_END(RamfuncsRunEnd),
|
||||
ALIGN(8)
|
||||
|
||||
coefffilt :> FLASH_BANK0_SEC_0_7, ALIGN(0x100)
|
||||
#endif//RAM
|
||||
|
||||
firfilt : >> RAMLS_BUFFERS
|
||||
firldb : > RAMLS_BUFFERS, ALIGN(0x100)
|
||||
revcoeff : > RAMLS_BUFFERS
|
||||
sigIn : >> RAMLS_BUFFERS
|
||||
sigOut : >> RAMLS_BUFFERS
|
||||
|
||||
ramgs0 : > RAMLS
|
||||
ramgs1 : > RAMLS
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00080000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM01 : origin = 0x00000128, length = 0x00000658
|
||||
//RAMM011 : origin = 0x00000400, length = 0x00000380 /* on-chip RAM block M1 */
|
||||
BOOT_RSVD_SYSBIOS: origin = 0x00000780, length = 0x00000080
|
||||
|
||||
RAMLS_BUFFERS : origin = 0x00008000, length = 0x00002000
|
||||
RAMLS : origin = 0x0000A000, length = 0x00001FF8
|
||||
RAMLS1_RSVD : origin = 0x0000BFF8, length = 0x00000008
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
|
||||
/* Flash sectors */
|
||||
FLASH_BANK0_SEC_0_7 : origin = 0x080002, length = 0x1FFE /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_8_15 : origin = 0x082000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_16_23 : origin = 0x084000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_24 : origin = 0x086000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_25 : origin = 0x086400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_26 : origin = 0x086800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_27 : origin = 0x086C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_28 : origin = 0x087000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_29 : origin = 0x087400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_30 : origin = 0x087800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_31 : origin = 0x087C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_32 : origin = 0x088080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_33 : origin = 0x088480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_34 : origin = 0x088880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_35 : origin = 0x088C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_36 : origin = 0x089080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_37 : origin = 0x089480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_38 : origin = 0x089880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_39 : origin = 0x089C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_40_47 : origin = 0x08A000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_48_55 : origin = 0x08C000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_56_63 : origin = 0x08E000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_64_71 : origin = 0x090000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_72_79 : origin = 0x092000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_80_87 : origin = 0x094000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_88 : origin = 0x096000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_89 : origin = 0x096400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_90 : origin = 0x096800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_91 : origin = 0x096C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_92 : origin = 0x097000, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_93 : origin = 0x097400, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_94 : origin = 0x097800, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_95 : origin = 0x097C00, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_96 : origin = 0x098080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_97 : origin = 0x098480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_98 : origin = 0x098880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_99 : origin = 0x098C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_100 : origin = 0x099080, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_101 : origin = 0x099480, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_102 : origin = 0x099880, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_103 : origin = 0x099C80, length = 0x0380 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_104_111 : origin = 0x09A000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_112_119 : origin = 0x09C000, length = 0x2000 /* on-chip Flash */
|
||||
FLASH_BANK0_SEC_120_127 : origin = 0x09E000, length = 0x1FF0 /* on-chip Flash */
|
||||
|
||||
FLASH_BANK0_SEC_127_RSVD : origin = 0x0A0FF0, length = 0x0010 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM01
|
||||
|
||||
#if defined(RAM)
|
||||
.TI.ramfunc : > RAMM01
|
||||
.text : >> RAMLS
|
||||
.cinit : > RAMM01
|
||||
.switch : > RAMM01
|
||||
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.init_array : > RAMM01
|
||||
.const : > RAMLS
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
#else
|
||||
.pinit : > RAMM01
|
||||
.ebss : > RAMLS
|
||||
.econst : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
#endif
|
||||
|
||||
coefffilt : > RAMLS, ALIGN(0x100)
|
||||
|
||||
#elif defined(_FLASH)
|
||||
.text : >> FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
.cinit : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
.switch : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.init_array : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.const : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
#else
|
||||
.pinit : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
.ebss : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
.econst : > FLASH_BANK0_SEC_0_7, ALIGN(8)
|
||||
#endif
|
||||
|
||||
.TI.ramfunc : LOAD = FLASH_BANK0_SEC_0_7,
|
||||
RUN = RAMLS,
|
||||
LOAD_START(RamfuncsLoadStart),
|
||||
LOAD_SIZE(RamfuncsLoadSize),
|
||||
LOAD_END(RamfuncsLoadEnd),
|
||||
RUN_START(RamfuncsRunStart),
|
||||
RUN_SIZE(RamfuncsRunSize),
|
||||
RUN_END(RamfuncsRunEnd),
|
||||
ALIGN(8)
|
||||
|
||||
coefffilt :> FLASH_BANK0_SEC_0_7, ALIGN(0x100)
|
||||
#endif//RAM
|
||||
|
||||
iirfilt : > RAMLS_BUFFERS, ALIGN(0x100)
|
||||
iirldb : > RAMLS
|
||||
sigIn : > RAMLS
|
||||
sigOut : > RAMLS
|
||||
|
||||
ramgs0 : > RAMLS
|
||||
ramgs1 : > RAMLS
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00000000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM01 : origin = 0x00000128, length = 0x000006D0
|
||||
//RAMM01 : origin = 0x00000400, length = 0x000003F8
|
||||
// RAMM01_RSVD : origin = 0x000007F8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
|
||||
RAMLS : origin = 0x00008000, length = 0x00003FF8
|
||||
//RAM_BUFFER : origin = 0x0000A7F0, length = 0x00001008
|
||||
//RAMLS : origin = 0x00008000, length = 0x00002000
|
||||
//RAMLS1 : origin = 0x0000A000, length = 0x00001FF8
|
||||
// RAMLS1_RSVD : origin = 0x0000BFF8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
}
|
||||
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM01
|
||||
|
||||
FFTipcbsrc : > RAMLS
|
||||
FFTipcb : > RAMLS, ALIGN(512)
|
||||
|
||||
|
||||
.TI.ramfunc : > RAMM01
|
||||
.text : > RAMLS
|
||||
.cinit : > RAMM01
|
||||
.switch : > RAMM01
|
||||
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.init_array : > RAMM01
|
||||
.const : > RAMM01
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
#else
|
||||
.pinit : > RAMM01
|
||||
.ebss : > RAMLS
|
||||
.econst : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
#endif
|
||||
|
||||
FFTtf : > RAMLS
|
||||
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00000000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM01 : origin = 0x00000128, length = 0x000006D0
|
||||
//RAMM01 : origin = 0x00000400, length = 0x000003F8
|
||||
// RAMM01_RSVD : origin = 0x000007F8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
|
||||
RAMLS : origin = 0x00008000, length = 0x00003FF8
|
||||
//RAMLS : origin = 0x00008000, length = 0x00002000
|
||||
//RAMLS1 : origin = 0x0000A000, length = 0x00001FF8
|
||||
// RAMLS1_RSVD : origin = 0x0000BFF8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
}
|
||||
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM01
|
||||
|
||||
|
||||
.TI.ramfunc : > RAMM01
|
||||
.text : > RAMLS
|
||||
.cinit : > RAMM01
|
||||
.switch : > RAMM01
|
||||
|
||||
coefffilt : > RAMLS, ALIGN(0x100)
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.init_array : > RAMM01
|
||||
.const : > RAMLS
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
#else
|
||||
.pinit : > RAMM01
|
||||
.ebss : > RAMLS
|
||||
.econst : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
#endif
|
||||
|
||||
|
||||
firfilt : > RAMLS
|
||||
firldb : > RAMLS, ALIGN(0x100)
|
||||
revcoeff : > RAMLS
|
||||
sigIn : >> RAMLS
|
||||
sigOut : >> RAMLS
|
||||
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00000000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM01 : origin = 0x00000128, length = 0x000006D0
|
||||
//RAMM01 : origin = 0x00000400, length = 0x000003F8
|
||||
// RAMM01_RSVD : origin = 0x000007F8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
|
||||
RAMLS : origin = 0x00008000, length = 0x00003FF8
|
||||
//RAMLS : origin = 0x00008000, length = 0x00002000
|
||||
//RAMLS1 : origin = 0x0000A000, length = 0x00001FF8
|
||||
// RAMLS1_RSVD : origin = 0x0000BFF8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM01
|
||||
|
||||
.TI.ramfunc : > RAMM01
|
||||
.text : >> RAMLS
|
||||
.cinit : > RAMM01
|
||||
.switch : > RAMM01
|
||||
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.init_array : > RAMM01
|
||||
.const : > RAMLS
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
#else
|
||||
.pinit : > RAMM01
|
||||
.ebss : > RAMLS
|
||||
.econst : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
#endif
|
||||
|
||||
coefffilt : > RAMLS, ALIGN(0x100)
|
||||
|
||||
iirfilt : > RAMLS, ALIGN(0x100)
|
||||
iirldb : > RAMLS
|
||||
sigIn : > RAMLS
|
||||
sigOut : > RAMLS
|
||||
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00000000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM0 : origin = 0x00000128, length = 0x000002D8
|
||||
RAMM1 : origin = 0x00000400, length = 0x00000380 /* on-chip RAM block M1 */
|
||||
BOOT_RSVD_SYSBIOS: origin = 0x00000780, length = 0x00000080
|
||||
|
||||
|
||||
RAMLS0 : origin = 0x00008000, length = 0x00000800
|
||||
RAMLS1 : origin = 0x00008800, length = 0x00000800
|
||||
RAMLS2 : origin = 0x00009000, length = 0x00000800
|
||||
RAMLS3 : origin = 0x00009800, length = 0x00000800
|
||||
RAMLS4 : origin = 0x0000A000, length = 0x00000800
|
||||
RAMLS5 : origin = 0x0000A800, length = 0x00000800
|
||||
RAMLS6 : origin = 0x0000B000, length = 0x00000800
|
||||
RAMLS7 : origin = 0x0000B800, length = 0x00000800
|
||||
|
||||
RAMGS : origin = 0x0000C000, length = 0x00004000
|
||||
// RAMGS1 : origin = 0x0000D000, length = 0x00001000
|
||||
// RAMGS2 : origin = 0x0000E000, length = 0x00001000
|
||||
// RAMGS3 : origin = 0x0000F000, length = 0x00001000
|
||||
|
||||
BOOTROM : origin = 0x003F8000, length = 0x00007FC0
|
||||
SECURE_ROM : origin = 0x003F2000, length = 0x00006000
|
||||
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
|
||||
/* Flash sectors */
|
||||
/* BANK 0 */
|
||||
FLASH_BANK0_SEC0 : origin = 0x080002, length = 0x000FFE
|
||||
FLASH_BANK0_SEC1 : origin = 0x081000, length = 0x001000
|
||||
FLASH_BANK0_SEC2 : origin = 0x082000, length = 0x001000
|
||||
FLASH_BANK0_SEC3 : origin = 0x083000, length = 0x001000
|
||||
FLASH_BANK0_SEC4 : origin = 0x084000, length = 0x001000
|
||||
FLASH_BANK0_SEC56 : origin = 0x085000, length = 0x002000
|
||||
//FLASH_BANK0_SEC6 : origin = 0x086000, length = 0x001000
|
||||
FLASH_BANK0_SEC7 : origin = 0x087000, length = 0x001000
|
||||
FLASH_BANK0_SEC8 : origin = 0x088000, length = 0x001000
|
||||
FLASH_BANK0_SEC9 : origin = 0x089000, length = 0x001000
|
||||
FLASH_BANK0_SEC10 : origin = 0x08A000, length = 0x001000
|
||||
FLASH_BANK0_SEC11 : origin = 0x08B000, length = 0x001000
|
||||
FLASH_BANK0_SEC12 : origin = 0x08C000, length = 0x001000
|
||||
FLASH_BANK0_SEC13 : origin = 0x08D000, length = 0x001000
|
||||
FLASH_BANK0_SEC14 : origin = 0x08E000, length = 0x001000
|
||||
FLASH_BANK0_SEC15 : origin = 0x08F000, length = 0x001000
|
||||
|
||||
/* BANK 1 */
|
||||
FLASH_BANK1_SEC0 : origin = 0x090000, length = 0x001000
|
||||
FLASH_BANK1_SEC1 : origin = 0x091000, length = 0x001000
|
||||
FLASH_BANK1_SEC2 : origin = 0x092000, length = 0x001000
|
||||
FLASH_BANK1_SEC3 : origin = 0x093000, length = 0x001000
|
||||
FLASH_BANK1_SEC4 : origin = 0x094000, length = 0x001000
|
||||
FLASH_BANK1_SEC5 : origin = 0x095000, length = 0x001000
|
||||
FLASH_BANK1_SEC6 : origin = 0x096000, length = 0x001000
|
||||
FLASH_BANK1_SEC7 : origin = 0x097000, length = 0x001000
|
||||
FLASH_BANK1_SEC8 : origin = 0x098000, length = 0x001000
|
||||
FLASH_BANK1_SEC9 : origin = 0x099000, length = 0x001000
|
||||
FLASH_BANK1_SEC10 : origin = 0x09A000, length = 0x001000
|
||||
FLASH_BANK1_SEC11 : origin = 0x09B000, length = 0x001000
|
||||
FLASH_BANK1_SEC12 : origin = 0x09C000, length = 0x001000
|
||||
FLASH_BANK1_SEC13 : origin = 0x09D000, length = 0x001000
|
||||
FLASH_BANK1_SEC14 : origin = 0x09E000, length = 0x001000
|
||||
FLASH_BANK1_SEC15 : origin = 0x09F000, length = 0x001000
|
||||
|
||||
/* BANK 2 */
|
||||
FLASH_BANK2_SEC0 : origin = 0x0A0000, length = 0x001000
|
||||
FLASH_BANK2_SEC1 : origin = 0x0A1000, length = 0x001000
|
||||
FLASH_BANK2_SEC2 : origin = 0x0A2000, length = 0x001000
|
||||
FLASH_BANK2_SEC3 : origin = 0x0A3000, length = 0x001000
|
||||
FLASH_BANK2_SEC4 : origin = 0x0A4000, length = 0x001000
|
||||
FLASH_BANK2_SEC5 : origin = 0x0A5000, length = 0x001000
|
||||
FLASH_BANK2_SEC6 : origin = 0x0A6000, length = 0x001000
|
||||
FLASH_BANK2_SEC7 : origin = 0x0A7000, length = 0x001000
|
||||
FLASH_BANK2_SEC8 : origin = 0x0A8000, length = 0x001000
|
||||
FLASH_BANK2_SEC9 : origin = 0x0A9000, length = 0x001000
|
||||
FLASH_BANK2_SEC10 : origin = 0x0AA000, length = 0x001000
|
||||
FLASH_BANK2_SEC11 : origin = 0x0AB000, length = 0x001000
|
||||
FLASH_BANK2_SEC12 : origin = 0x0AC000, length = 0x001000
|
||||
FLASH_BANK2_SEC13 : origin = 0x0AD000, length = 0x001000
|
||||
FLASH_BANK2_SEC14 : origin = 0x0AE000, length = 0x001000
|
||||
FLASH_BANK2_SEC15 : origin = 0x0AF000, length = 0x001000
|
||||
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM1
|
||||
|
||||
#if defined(RAM)
|
||||
.TI.ramfunc : > RAMM0
|
||||
.text : >> RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMLS4
|
||||
.cinit : > RAMM0
|
||||
.switch : > RAMM0
|
||||
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS5
|
||||
.bss:output : > RAMLS5
|
||||
.init_array : > RAMM0
|
||||
.const : > RAMLS5
|
||||
.data : > RAMLS5
|
||||
.sysmem : > RAMLS5
|
||||
.bss:cio : > RAMLS0
|
||||
#else
|
||||
.pinit : > RAMM0
|
||||
.ebss : > RAMLS5
|
||||
.econst : > RAMLS5
|
||||
.esysmem : > RAMLS5
|
||||
.cio : > RAMLS0
|
||||
#endif
|
||||
FFTtf : > RAMGS
|
||||
|
||||
#elif defined(_FLASH)
|
||||
.text : >> FLASH_BANK0_SEC2 | FLASH_BANK0_SEC3 | FLASH_BANK0_SEC4 | FLASH_BANK0_SEC5, ALIGN(8)
|
||||
.cinit : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
.switch : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.init_array : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
.bss : > RAMLS5
|
||||
.bss:output : > RAMLS3
|
||||
.bss:cio : > RAMLS0
|
||||
.data : > RAMLS5
|
||||
.sysmem : > RAMLS5
|
||||
.const : > FLASH_BANK0_SEC4, ALIGN(8)
|
||||
#else
|
||||
.pinit : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
.ebss : > RAMLS5
|
||||
.esysmem : > RAMLS5
|
||||
.cio : > RAMLS0
|
||||
.econst : > FLASH_BANK0_SEC4, ALIGN(8)
|
||||
#endif
|
||||
|
||||
.TI.ramfunc : LOAD = FLASH_BANK0_SEC1,
|
||||
RUN = RAMLS0,
|
||||
LOAD_START(RamfuncsLoadStart),
|
||||
LOAD_SIZE(RamfuncsLoadSize),
|
||||
LOAD_END(RamfuncsLoadEnd),
|
||||
RUN_START(RamfuncsRunStart),
|
||||
RUN_SIZE(RamfuncsRunSize),
|
||||
RUN_END(RamfuncsRunEnd),
|
||||
ALIGN(8)
|
||||
|
||||
FFTtf : > FLASH_BANK0_SEC56
|
||||
#endif//RAM
|
||||
|
||||
FFTipcb : >> RAMGS, ALIGN(4096)
|
||||
FFTipcbsrc : >> RAMGS, ALIGN(2048)
|
||||
}
|
||||
@@ -0,0 +1,162 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00000000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM0 : origin = 0x00000128, length = 0x000002D8
|
||||
RAMM1 : origin = 0x00000400, length = 0x00000380 /* on-chip RAM block M1 */
|
||||
BOOT_RSVD_SYSBIOS: origin = 0x00000780, length = 0x00000080
|
||||
|
||||
|
||||
RAMLS0 : origin = 0x00008000, length = 0x00000800
|
||||
RAMLS1 : origin = 0x00008800, length = 0x00000800
|
||||
RAMLS2 : origin = 0x00009000, length = 0x00000800
|
||||
RAMLS3 : origin = 0x00009800, length = 0x00000800
|
||||
RAMLS4 : origin = 0x0000A000, length = 0x00000800
|
||||
RAMLS5 : origin = 0x0000A800, length = 0x00000800
|
||||
RAMLS6 : origin = 0x0000B000, length = 0x00000800
|
||||
RAMLS7 : origin = 0x0000B800, length = 0x00000800
|
||||
|
||||
RAMGS0 : origin = 0x0000C000, length = 0x00001000
|
||||
RAMGS1 : origin = 0x0000D000, length = 0x00001000
|
||||
RAMGS2 : origin = 0x0000E000, length = 0x00001000
|
||||
RAMGS3 : origin = 0x0000F000, length = 0x00001000
|
||||
|
||||
BOOTROM : origin = 0x003F8000, length = 0x00007FC0
|
||||
SECURE_ROM : origin = 0x003F2000, length = 0x00006000
|
||||
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
|
||||
/* Flash sectors */
|
||||
/* BANK 0 */
|
||||
FLASH_BANK0_SEC0 : origin = 0x080002, length = 0x000FFE
|
||||
FLASH_BANK0_SEC1 : origin = 0x081000, length = 0x001000
|
||||
FLASH_BANK0_SEC2 : origin = 0x082000, length = 0x001000
|
||||
FLASH_BANK0_SEC3 : origin = 0x083000, length = 0x001000
|
||||
FLASH_BANK0_SEC4 : origin = 0x084000, length = 0x001000
|
||||
FLASH_BANK0_SEC5 : origin = 0x085000, length = 0x001000
|
||||
FLASH_BANK0_SEC6 : origin = 0x086000, length = 0x001000
|
||||
FLASH_BANK0_SEC7 : origin = 0x087000, length = 0x001000
|
||||
FLASH_BANK0_SEC8 : origin = 0x088000, length = 0x001000
|
||||
FLASH_BANK0_SEC9 : origin = 0x089000, length = 0x001000
|
||||
FLASH_BANK0_SEC10 : origin = 0x08A000, length = 0x001000
|
||||
FLASH_BANK0_SEC11 : origin = 0x08B000, length = 0x001000
|
||||
FLASH_BANK0_SEC12 : origin = 0x08C000, length = 0x001000
|
||||
FLASH_BANK0_SEC13 : origin = 0x08D000, length = 0x001000
|
||||
FLASH_BANK0_SEC14 : origin = 0x08E000, length = 0x001000
|
||||
FLASH_BANK0_SEC15 : origin = 0x08F000, length = 0x001000
|
||||
|
||||
/* BANK 1 */
|
||||
FLASH_BANK1_SEC0 : origin = 0x090000, length = 0x001000
|
||||
FLASH_BANK1_SEC1 : origin = 0x091000, length = 0x001000
|
||||
FLASH_BANK1_SEC2 : origin = 0x092000, length = 0x001000
|
||||
FLASH_BANK1_SEC3 : origin = 0x093000, length = 0x001000
|
||||
FLASH_BANK1_SEC4 : origin = 0x094000, length = 0x001000
|
||||
FLASH_BANK1_SEC5 : origin = 0x095000, length = 0x001000
|
||||
FLASH_BANK1_SEC6 : origin = 0x096000, length = 0x001000
|
||||
FLASH_BANK1_SEC7 : origin = 0x097000, length = 0x001000
|
||||
FLASH_BANK1_SEC8 : origin = 0x098000, length = 0x001000
|
||||
FLASH_BANK1_SEC9 : origin = 0x099000, length = 0x001000
|
||||
FLASH_BANK1_SEC10 : origin = 0x09A000, length = 0x001000
|
||||
FLASH_BANK1_SEC11 : origin = 0x09B000, length = 0x001000
|
||||
FLASH_BANK1_SEC12 : origin = 0x09C000, length = 0x001000
|
||||
FLASH_BANK1_SEC13 : origin = 0x09D000, length = 0x001000
|
||||
FLASH_BANK1_SEC14 : origin = 0x09E000, length = 0x001000
|
||||
FLASH_BANK1_SEC15 : origin = 0x09F000, length = 0x001000
|
||||
|
||||
/* BANK 2 */
|
||||
FLASH_BANK2_SEC0 : origin = 0x0A0000, length = 0x001000
|
||||
FLASH_BANK2_SEC1 : origin = 0x0A1000, length = 0x001000
|
||||
FLASH_BANK2_SEC2 : origin = 0x0A2000, length = 0x001000
|
||||
FLASH_BANK2_SEC3 : origin = 0x0A3000, length = 0x001000
|
||||
FLASH_BANK2_SEC4 : origin = 0x0A4000, length = 0x001000
|
||||
FLASH_BANK2_SEC5 : origin = 0x0A5000, length = 0x001000
|
||||
FLASH_BANK2_SEC6 : origin = 0x0A6000, length = 0x001000
|
||||
FLASH_BANK2_SEC7 : origin = 0x0A7000, length = 0x001000
|
||||
FLASH_BANK2_SEC8 : origin = 0x0A8000, length = 0x001000
|
||||
FLASH_BANK2_SEC9 : origin = 0x0A9000, length = 0x001000
|
||||
FLASH_BANK2_SEC10 : origin = 0x0AA000, length = 0x001000
|
||||
FLASH_BANK2_SEC11 : origin = 0x0AB000, length = 0x001000
|
||||
FLASH_BANK2_SEC12 : origin = 0x0AC000, length = 0x001000
|
||||
FLASH_BANK2_SEC13 : origin = 0x0AD000, length = 0x001000
|
||||
FLASH_BANK2_SEC14 : origin = 0x0AE000, length = 0x001000
|
||||
FLASH_BANK2_SEC15 : origin = 0x0AF000, length = 0x001000
|
||||
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM1
|
||||
|
||||
#if defined(RAM)
|
||||
.TI.ramfunc : > RAMM0
|
||||
.text : >> RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMLS4
|
||||
.cinit : > RAMM0
|
||||
.switch : > RAMM0
|
||||
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS5
|
||||
.bss:output : > RAMLS5
|
||||
.init_array : > RAMM0
|
||||
.const : > RAMLS5
|
||||
.data : > RAMLS5
|
||||
.sysmem : > RAMLS5
|
||||
.bss:cio : > RAMLS0
|
||||
#else
|
||||
.pinit : > RAMM0
|
||||
.ebss : > RAMLS5
|
||||
.econst : > RAMLS5
|
||||
.esysmem : > RAMLS5
|
||||
.cio : > RAMLS0
|
||||
#endif
|
||||
|
||||
coefffilt : > RAMGS1, ALIGN(0x100)
|
||||
|
||||
#elif defined(_FLASH)
|
||||
.text : >> FLASH_BANK0_SEC2 | FLASH_BANK0_SEC3 | FLASH_BANK0_SEC4, ALIGN(8)
|
||||
.cinit : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
.switch : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.init_array : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
.bss : > RAMLS5
|
||||
.bss:output : > RAMLS3
|
||||
.bss:cio : > RAMLS0
|
||||
.data : > RAMLS5
|
||||
.sysmem : > RAMLS5
|
||||
.const : > FLASH_BANK0_SEC4, ALIGN(8)
|
||||
#else
|
||||
.pinit : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
.ebss : > RAMLS5
|
||||
.esysmem : > RAMLS5
|
||||
.cio : > RAMLS0
|
||||
.econst : > FLASH_BANK0_SEC4, ALIGN(8)
|
||||
#endif
|
||||
|
||||
.TI.ramfunc : LOAD = FLASH_BANK0_SEC1,
|
||||
RUN = RAMLS0,
|
||||
LOAD_START(RamfuncsLoadStart),
|
||||
LOAD_SIZE(RamfuncsLoadSize),
|
||||
LOAD_END(RamfuncsLoadEnd),
|
||||
RUN_START(RamfuncsRunStart),
|
||||
RUN_SIZE(RamfuncsRunSize),
|
||||
RUN_END(RamfuncsRunEnd),
|
||||
ALIGN(8)
|
||||
|
||||
coefffilt :> FLASH_BANK0_SEC2, ALIGN(0x100)
|
||||
#endif//RAM
|
||||
|
||||
firfilt : >> RAMGS0 | RAMGS1
|
||||
firldb : > RAMGS0, ALIGN(0x100)
|
||||
revcoeff : > RAMGS1
|
||||
sigIn : >> RAMGS0 | RAMGS1
|
||||
sigOut : >> RAMGS0 | RAMGS1
|
||||
|
||||
ramgs0 : > RAMGS0
|
||||
ramgs1 : > RAMGS1
|
||||
}
|
||||
@@ -0,0 +1,161 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00000000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM0 : origin = 0x00000128, length = 0x000002D8
|
||||
RAMM1 : origin = 0x00000400, length = 0x00000380 /* on-chip RAM block M1 */
|
||||
BOOT_RSVD_SYSBIOS: origin = 0x00000780, length = 0x00000080
|
||||
|
||||
|
||||
RAMLS0 : origin = 0x00008000, length = 0x00000800
|
||||
RAMLS1 : origin = 0x00008800, length = 0x00000800
|
||||
RAMLS2 : origin = 0x00009000, length = 0x00000800
|
||||
RAMLS3 : origin = 0x00009800, length = 0x00000800
|
||||
RAMLS4 : origin = 0x0000A000, length = 0x00000800
|
||||
RAMLS5 : origin = 0x0000A800, length = 0x00000800
|
||||
RAMLS6 : origin = 0x0000B000, length = 0x00000800
|
||||
RAMLS7 : origin = 0x0000B800, length = 0x00000800
|
||||
|
||||
RAMGS0 : origin = 0x0000C000, length = 0x00001000
|
||||
RAMGS1 : origin = 0x0000D000, length = 0x00001000
|
||||
RAMGS2 : origin = 0x0000E000, length = 0x00001000
|
||||
RAMGS3 : origin = 0x0000F000, length = 0x00001000
|
||||
|
||||
BOOTROM : origin = 0x003F8000, length = 0x00007FC0
|
||||
SECURE_ROM : origin = 0x003F2000, length = 0x00006000
|
||||
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
|
||||
/* Flash sectors */
|
||||
/* BANK 0 */
|
||||
FLASH_BANK0_SEC0 : origin = 0x080002, length = 0x000FFE
|
||||
FLASH_BANK0_SEC1 : origin = 0x081000, length = 0x001000
|
||||
FLASH_BANK0_SEC2 : origin = 0x082000, length = 0x001000
|
||||
FLASH_BANK0_SEC3 : origin = 0x083000, length = 0x001000
|
||||
FLASH_BANK0_SEC4 : origin = 0x084000, length = 0x001000
|
||||
FLASH_BANK0_SEC5 : origin = 0x085000, length = 0x001000
|
||||
FLASH_BANK0_SEC6 : origin = 0x086000, length = 0x001000
|
||||
FLASH_BANK0_SEC7 : origin = 0x087000, length = 0x001000
|
||||
FLASH_BANK0_SEC8 : origin = 0x088000, length = 0x001000
|
||||
FLASH_BANK0_SEC9 : origin = 0x089000, length = 0x001000
|
||||
FLASH_BANK0_SEC10 : origin = 0x08A000, length = 0x001000
|
||||
FLASH_BANK0_SEC11 : origin = 0x08B000, length = 0x001000
|
||||
FLASH_BANK0_SEC12 : origin = 0x08C000, length = 0x001000
|
||||
FLASH_BANK0_SEC13 : origin = 0x08D000, length = 0x001000
|
||||
FLASH_BANK0_SEC14 : origin = 0x08E000, length = 0x001000
|
||||
FLASH_BANK0_SEC15 : origin = 0x08F000, length = 0x001000
|
||||
|
||||
/* BANK 1 */
|
||||
FLASH_BANK1_SEC0 : origin = 0x090000, length = 0x001000
|
||||
FLASH_BANK1_SEC1 : origin = 0x091000, length = 0x001000
|
||||
FLASH_BANK1_SEC2 : origin = 0x092000, length = 0x001000
|
||||
FLASH_BANK1_SEC3 : origin = 0x093000, length = 0x001000
|
||||
FLASH_BANK1_SEC4 : origin = 0x094000, length = 0x001000
|
||||
FLASH_BANK1_SEC5 : origin = 0x095000, length = 0x001000
|
||||
FLASH_BANK1_SEC6 : origin = 0x096000, length = 0x001000
|
||||
FLASH_BANK1_SEC7 : origin = 0x097000, length = 0x001000
|
||||
FLASH_BANK1_SEC8 : origin = 0x098000, length = 0x001000
|
||||
FLASH_BANK1_SEC9 : origin = 0x099000, length = 0x001000
|
||||
FLASH_BANK1_SEC10 : origin = 0x09A000, length = 0x001000
|
||||
FLASH_BANK1_SEC11 : origin = 0x09B000, length = 0x001000
|
||||
FLASH_BANK1_SEC12 : origin = 0x09C000, length = 0x001000
|
||||
FLASH_BANK1_SEC13 : origin = 0x09D000, length = 0x001000
|
||||
FLASH_BANK1_SEC14 : origin = 0x09E000, length = 0x001000
|
||||
FLASH_BANK1_SEC15 : origin = 0x09F000, length = 0x001000
|
||||
|
||||
/* BANK 2 */
|
||||
FLASH_BANK2_SEC0 : origin = 0x0A0000, length = 0x001000
|
||||
FLASH_BANK2_SEC1 : origin = 0x0A1000, length = 0x001000
|
||||
FLASH_BANK2_SEC2 : origin = 0x0A2000, length = 0x001000
|
||||
FLASH_BANK2_SEC3 : origin = 0x0A3000, length = 0x001000
|
||||
FLASH_BANK2_SEC4 : origin = 0x0A4000, length = 0x001000
|
||||
FLASH_BANK2_SEC5 : origin = 0x0A5000, length = 0x001000
|
||||
FLASH_BANK2_SEC6 : origin = 0x0A6000, length = 0x001000
|
||||
FLASH_BANK2_SEC7 : origin = 0x0A7000, length = 0x001000
|
||||
FLASH_BANK2_SEC8 : origin = 0x0A8000, length = 0x001000
|
||||
FLASH_BANK2_SEC9 : origin = 0x0A9000, length = 0x001000
|
||||
FLASH_BANK2_SEC10 : origin = 0x0AA000, length = 0x001000
|
||||
FLASH_BANK2_SEC11 : origin = 0x0AB000, length = 0x001000
|
||||
FLASH_BANK2_SEC12 : origin = 0x0AC000, length = 0x001000
|
||||
FLASH_BANK2_SEC13 : origin = 0x0AD000, length = 0x001000
|
||||
FLASH_BANK2_SEC14 : origin = 0x0AE000, length = 0x001000
|
||||
FLASH_BANK2_SEC15 : origin = 0x0AF000, length = 0x001000
|
||||
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM1
|
||||
|
||||
#if defined(RAM)
|
||||
.TI.ramfunc : > RAMM0
|
||||
.text : >> RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMLS4
|
||||
.cinit : > RAMM0
|
||||
.switch : > RAMM0
|
||||
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS5
|
||||
.bss:output : > RAMLS5
|
||||
.init_array : > RAMM0
|
||||
.const : > RAMLS5
|
||||
.data : > RAMLS5
|
||||
.sysmem : > RAMLS5
|
||||
.bss:cio : > RAMLS0
|
||||
#else
|
||||
.pinit : > RAMM0
|
||||
.ebss : > RAMLS5
|
||||
.econst : > RAMLS5
|
||||
.esysmem : > RAMLS5
|
||||
.cio : > RAMLS0
|
||||
#endif
|
||||
|
||||
coefffilt : > RAMGS1, ALIGN(0x100)
|
||||
|
||||
#elif defined(_FLASH)
|
||||
.text : >> FLASH_BANK0_SEC2 | FLASH_BANK0_SEC3 | FLASH_BANK0_SEC4, ALIGN(8)
|
||||
.cinit : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
.switch : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.init_array : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
.bss : > RAMLS5
|
||||
.bss:output : > RAMLS3
|
||||
.bss:cio : > RAMLS0
|
||||
.data : > RAMLS5
|
||||
.sysmem : > RAMLS5
|
||||
.const : > FLASH_BANK0_SEC4, ALIGN(8)
|
||||
#else
|
||||
.pinit : > FLASH_BANK0_SEC1, ALIGN(8)
|
||||
.ebss : > RAMLS5
|
||||
.esysmem : > RAMLS5
|
||||
.cio : > RAMLS0
|
||||
.econst : > FLASH_BANK0_SEC4, ALIGN(8)
|
||||
#endif
|
||||
|
||||
.TI.ramfunc : LOAD = FLASH_BANK0_SEC1,
|
||||
RUN = RAMLS0,
|
||||
LOAD_START(RamfuncsLoadStart),
|
||||
LOAD_SIZE(RamfuncsLoadSize),
|
||||
LOAD_END(RamfuncsLoadEnd),
|
||||
RUN_START(RamfuncsRunStart),
|
||||
RUN_SIZE(RamfuncsRunSize),
|
||||
RUN_END(RamfuncsRunEnd),
|
||||
ALIGN(8)
|
||||
|
||||
coefffilt :> FLASH_BANK0_SEC2, ALIGN(0x100)
|
||||
#endif//RAM
|
||||
|
||||
iirfilt : > RAMGS0, ALIGN(0x100)
|
||||
iirldb : > RAMGS0
|
||||
sigIn : > RAMGS0
|
||||
sigOut : > RAMGS0
|
||||
|
||||
ramgs0 : > RAMGS0
|
||||
ramgs1 : > RAMGS1
|
||||
}
|
||||
@@ -0,0 +1,248 @@
|
||||
/*
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: F28335_FIXPT_FFT_lnk.cmd
|
||||
//
|
||||
// TITLE: Linker Command File for the Fixed Point DSP library examples
|
||||
// that run on the 28335 platform
|
||||
//
|
||||
// This file includes all RAM and FLASH blocks present on the
|
||||
// F28335 and depending on the active build configuration(RAM or FLASH)
|
||||
// the appropriate sections will either be loaded into RAM or FLASH
|
||||
// blocks
|
||||
//
|
||||
//
|
||||
//#############################################################################
|
||||
//
|
||||
//
|
||||
// $Copyright: Copyright (C) 2014-2024 Texas Instruments Incorporated -
|
||||
// http://www.ti.com/ ALL RIGHTS RESERVED $
|
||||
//#############################################################################
|
||||
//=======================================================
|
||||
// For Code Composer Studio V2.2 and later
|
||||
// ---------------------------------------
|
||||
// In addition to this memory linker command file,
|
||||
// add the header linker command file directly to the project.
|
||||
// The header linker command file is required to link the
|
||||
// peripheral structures to the proper locations within
|
||||
// the memory map.
|
||||
//
|
||||
// The header linker files are found in <base>\DSP2833x_Headers\cmd
|
||||
//
|
||||
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
|
||||
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
|
||||
//=======================================================
|
||||
// For Code Composer Studio prior to V2.2
|
||||
// --------------------------------------
|
||||
// 1) Use one of the following -l statements to include the
|
||||
// header linker command file in the project. The header linker
|
||||
// file is required to link the peripheral structures to the proper
|
||||
// locations within the memory map
|
||||
//
|
||||
// Uncomment this line to include file only for non-BIOS applications
|
||||
// -l DSP2833x_Headers_nonBIOS.cmd
|
||||
//
|
||||
// Uncomment this line to include file only for BIOS applications
|
||||
// -l DSP2833x_Headers_BIOS.cmd
|
||||
//
|
||||
// 2) In your project add the path to <base>\DSP2833x_headers\cmd to the
|
||||
// library search path under project->build options, linker tab,
|
||||
// library search path (-i).
|
||||
//=======================================================
|
||||
// Define the memory block start/length for the F28335
|
||||
// PAGE 0 will be used to organize program sections
|
||||
// PAGE 1 will be used to organize data sections
|
||||
//
|
||||
// NOTES:
|
||||
// 1. Memory blocks on F28335 are uniform (ie same physical memory) in both
|
||||
// PAGE 0 and PAGE 1. That is the same memory region should not be defined
|
||||
// for both PAGE 0 and PAGE 1. Doing so will result in corruption of program
|
||||
// and/or data.
|
||||
//
|
||||
// 2. L0/L1/L2 and L3 memory blocks are mirrored - that is they can be accessed
|
||||
// in high memory or low memory. For simplicity only one instance is used in
|
||||
// this linker file.
|
||||
//
|
||||
// 3. Contiguous SARAM memory blocks can be combined if required to create a
|
||||
// larger memory block.
|
||||
//
|
||||
// 4. RAM sections L0 and L1 are protected by the code security module.
|
||||
//
|
||||
//#############################################################################
|
||||
*/
|
||||
/*
|
||||
For complex FFT, set FFT_ALIGN = 4N
|
||||
real FFT, set FFT_ALIGN = 2N
|
||||
*/
|
||||
--define=FFT_ALIGN=0x80
|
||||
|
||||
MEMORY
|
||||
{
|
||||
PAGE 0 :
|
||||
/* Program Memory */
|
||||
/* Memory (RAM/_FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
|
||||
/* BEGIN is used for the "boot to SARAM" bootloader mode */
|
||||
|
||||
RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */
|
||||
ZONE0 : origin = 0x004000, length = 0x001000 /* XINTF zone 0 */
|
||||
RAML0L1 : origin = 0x008000, length = 0x002000 /* on-chip RAM blocks L0-L1*/
|
||||
/*RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
RAML7 : origin = 0x00FC00, length = 0x000400 /* on-chip RAM block L7 */
|
||||
ZONE6 : origin = 0x0100000, length = 0x100000 /* XINTF zone 6 */
|
||||
ZONE7A : origin = 0x0200000, length = 0x00FC00 /* XINTF zone 7 - program space */
|
||||
|
||||
FLASHH : origin = 0x300000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHG : origin = 0x308000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHF : origin = 0x310000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHE : origin = 0x318000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHD : origin = 0x320000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHC : origin = 0x328000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHA : origin = 0x338000, length = 0x007F80 /* on-chip _FLASH */
|
||||
#if defined(RAM)
|
||||
BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */
|
||||
#else
|
||||
BEGIN : origin = 0x33FFF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
|
||||
#endif
|
||||
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
|
||||
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
|
||||
OTP : origin = 0x380400, length = 0x000400 /* on-chip OTP */
|
||||
ADC_CAL : origin = 0x380080, length = 0x000009 /* ADC_cal function in Reserved memory */
|
||||
|
||||
IQTABLES : origin = 0x3FE000, length = 0x000b50 /* IQ Math Tables in Boot ROM */
|
||||
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c /* IQ Math Tables in Boot ROM */
|
||||
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0 /* FPU Tables in Boot ROM */
|
||||
ROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */
|
||||
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */
|
||||
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */
|
||||
|
||||
PAGE 1 :
|
||||
/* Data Memory */
|
||||
/* Memory (RAM/_FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
|
||||
/* Registers remain on PAGE1
|
||||
/* BOOT_RSVD is used by the boot ROM for stack. */
|
||||
/* This section is only reserved to keep the BOOT ROM from */
|
||||
/* corrupting this area during the debug process */
|
||||
|
||||
BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */
|
||||
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
|
||||
RAML2L3 : origin = 0x00A000, length = 0x001400 /* on-chip RAM block L2-L3*/
|
||||
RAML4 : origin = 0x00B400, length = 0x001800 /* on-chip RAM block L5 */
|
||||
RAML5 : origin = 0x00CC00, length = 0x000400 /* on-chip RAM block L5 */
|
||||
RAML61 : origin = 0x00D000, length = 0x001600 /* on-chip RAM block L6 */
|
||||
RAML62 : origin = 0x00E600, length = 0x001600 /* on-chip RAM block L6 */
|
||||
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
|
||||
FLASHB : origin = 0x330000, length = 0x008000 /* on-chip _FLASH */
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/* Setup for "boot to SARAM" mode:
|
||||
The codestart section (found in DSP28_CodeStartBranch.asm)
|
||||
re-directs execution to the start of user code. */
|
||||
|
||||
/* Allocate program areas: */
|
||||
codestart : > BEGIN, PAGE = 0
|
||||
#if defined(RAM)
|
||||
ramfuncs : > RAML0L1, PAGE = 0
|
||||
.cinit : > RAML0L1, PAGE = 0
|
||||
.pinit : > RAML0L1, PAGE = 0
|
||||
.text : > RAML0L1, PAGE = 0
|
||||
.econst : > RAML0L1, PAGE = 0
|
||||
.switch : > RAML0L1, PAGE = 0
|
||||
csmpasswds : > CSM_PWL, PAGE = 0, TYPE = DSECT /* Dummy Sections for RAM builds */
|
||||
csm_rsvd : > CSM_RSVD, PAGE = 0, TYPE = DSECT /* Dummy Sections for RAM builds */
|
||||
/* the csm_<> sections were declared as dummy sections for the RAM build, else
|
||||
the flash tool gets invoked to erase all sectors */
|
||||
#elif defined(_FLASH)
|
||||
ramfuncs : LOAD = FLASHD,
|
||||
RUN = RAML0L1,
|
||||
table(_ramfuncsCopyTable),
|
||||
PAGE = 0
|
||||
.cinit : > FLASHA, PAGE = 0
|
||||
.pinit : > FLASHA, PAGE = 0
|
||||
.text : > FLASHA, PAGE = 0
|
||||
/* Initalized sections go in Flash */
|
||||
/* For SDFlash to program these, they must be allocated to page 0 */
|
||||
.econst : > FLASHA, PAGE = 0
|
||||
.switch : > FLASHA, PAGE = 0
|
||||
csmpasswds : > CSM_PWL, PAGE = 0
|
||||
csm_rsvd : > CSM_RSVD, PAGE = 0
|
||||
#else
|
||||
#error Add either "RAM" or "_FLASH" to C2000 Linker -> Advanced Options -> Command File Preprocessing -> --define
|
||||
#endif //RAM
|
||||
|
||||
/* Allocate uninitalized data sections: */
|
||||
.stack : > RAMM1, PAGE = 1
|
||||
.ebss : > RAML2L3, PAGE = 1
|
||||
.esysmem : > RAMM1, PAGE = 1
|
||||
|
||||
/* Copy table overlay section: */
|
||||
.ovly : > RAMM1, PAGE = 1
|
||||
|
||||
/* Example specific sections */
|
||||
#if defined(RAM)
|
||||
FFTtf : > RAML4, PAGE = 1
|
||||
#elif defined(_FLASH)
|
||||
FFTtf : > FLASHB, PAGE = 1
|
||||
#endif //RAM
|
||||
/* FFT_ALIGN must be defined in the project properties under
|
||||
C2000 Linker -> Advanced Options -> Command File Preprocessing -> --define
|
||||
or at the top of the linker command file
|
||||
The input buffer must be aligned to 4N (2N long words) words. For e.g.
|
||||
N = 64, --define=FFT_ALIGN=0x100 (i.e. 256)*/
|
||||
FFTipcb : > RAML61, align(FFT_ALIGN), PAGE = 1
|
||||
FFTipcbsrc : > RAML62, PAGE = 1
|
||||
|
||||
/* Allocate IQ math areas: */
|
||||
#if defined(RAM)
|
||||
IQmath : > RAML0L1, PAGE = 0 /* Math Code */
|
||||
#elif defined(_FLASH)
|
||||
IQmath : > FLASHC, PAGE = 0 /* Math Code */
|
||||
#endif //RAM
|
||||
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
|
||||
|
||||
/* Uncomment the section below if calling the IQNexp() or IQexp()
|
||||
functions from the IQMath.lib library in order to utilize the
|
||||
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
|
||||
is 1 wait-state). If this section is not uncommented, IQmathTables2
|
||||
will be loaded into other memory (SARAM, Flash, etc.) and will take
|
||||
up space, but 0 wait-state is possible.
|
||||
*/
|
||||
/*
|
||||
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
|
||||
{
|
||||
|
||||
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
|
||||
|
||||
/* Allocate DMA-accessible RAM sections: */
|
||||
/*
|
||||
DMARAML4 : > RAML4, PAGE = 1
|
||||
DMARAML5 : > RAML5, PAGE = 1
|
||||
DMARAML6 : > RAML61, PAGE = 1
|
||||
DMARAML7 : > RAML7, PAGE = 1
|
||||
*/
|
||||
|
||||
/* Allocate 0x400 of XINTF Zone 7 to storing data */
|
||||
ZONE7DATA : > ZONE7B, PAGE = 1
|
||||
|
||||
/* .reset is a standard section used by the compiler. It contains the */
|
||||
/* the address of the start of _c_int00 for C Code. /*
|
||||
/* When using the boot ROM this section and the CPU vector */
|
||||
/* table is not needed. Thus the default type is set here to */
|
||||
/* DSECT */
|
||||
.reset : > RESET, PAGE = 0, TYPE = DSECT
|
||||
vectors : > VECTORS, PAGE = 0, TYPE = DSECT
|
||||
|
||||
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
|
||||
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
|
||||
}
|
||||
/*
|
||||
//#############################################################################
|
||||
// End of file.
|
||||
//#############################################################################
|
||||
*/
|
||||
@@ -0,0 +1,243 @@
|
||||
/*
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: F28335_FIXPT_FIR_lnk.cmd
|
||||
//
|
||||
// TITLE: Linker Command File for the Fixed Point DSP library examples
|
||||
// that run on the 28335 platform
|
||||
//
|
||||
// This file includes all RAM and _FLASH blocks present on the
|
||||
// F28335 and depending on the active build configuration(RAM or _FLASH)
|
||||
// the appropriate sections will either be loaded into RAM or _FLASH
|
||||
// blocks
|
||||
//
|
||||
//
|
||||
//#############################################################################
|
||||
//
|
||||
//
|
||||
// $Copyright: Copyright (C) 2014-2024 Texas Instruments Incorporated -
|
||||
// http://www.ti.com/ ALL RIGHTS RESERVED $
|
||||
//#############################################################################
|
||||
//=======================================================
|
||||
// For Code Composer Studio V2.2 and later
|
||||
// ---------------------------------------
|
||||
// In addition to this memory linker command file,
|
||||
// add the header linker command file directly to the project.
|
||||
// The header linker command file is required to link the
|
||||
// peripheral structures to the proper locations within
|
||||
// the memory map.
|
||||
//
|
||||
// The header linker files are found in <base>\DSP2833x_Headers\cmd
|
||||
//
|
||||
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
|
||||
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
|
||||
//=======================================================
|
||||
// For Code Composer Studio prior to V2.2
|
||||
// --------------------------------------
|
||||
// 1) Use one of the following -l statements to include the
|
||||
// header linker command file in the project. The header linker
|
||||
// file is required to link the peripheral structures to the proper
|
||||
// locations within the memory map
|
||||
//
|
||||
// Uncomment this line to include file only for non-BIOS applications
|
||||
// -l DSP2833x_Headers_nonBIOS.cmd
|
||||
//
|
||||
// Uncomment this line to include file only for BIOS applications
|
||||
// -l DSP2833x_Headers_BIOS.cmd
|
||||
//
|
||||
// 2) In your project add the path to <base>\DSP2833x_headers\cmd to the
|
||||
// library search path under project->build options, linker tab,
|
||||
// library search path (-i).
|
||||
//=======================================================
|
||||
// Define the memory block start/length for the F28335
|
||||
// PAGE 0 will be used to organize program sections
|
||||
// PAGE 1 will be used to organize data sections
|
||||
//
|
||||
// NOTES:
|
||||
// 1. Memory blocks on F28335 are uniform (ie same physical memory) in both
|
||||
// PAGE 0 and PAGE 1. That is the same memory region should not be defined
|
||||
// for both PAGE 0 and PAGE 1. Doing so will result in corruption of program
|
||||
// and/or data.
|
||||
//
|
||||
// 2. L0/L1/L2 and L3 memory blocks are mirrored - that is they can be accessed
|
||||
// in high memory or low memory. For simplicity only one instance is used in
|
||||
// this linker file.
|
||||
//
|
||||
// 3. Contiguous SARAM memory blocks can be combined if required to create a
|
||||
// larger memory block.
|
||||
//
|
||||
// 4. RAM sections L0 and L1 are protected by the code security module.
|
||||
//
|
||||
//#############################################################################
|
||||
*/
|
||||
|
||||
MEMORY
|
||||
{
|
||||
PAGE 0 :
|
||||
/* Program Memory */
|
||||
/* Memory (RAM/_FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
|
||||
/* BEGIN is used for the "boot to SARAM" bootloader mode */
|
||||
|
||||
ZONE0 : origin = 0x004000, length = 0x001000 /* XINTF zone 0 */
|
||||
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
|
||||
RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
RAML2 : origin = 0x00A000, length = 0x001000 /* on-chip RAM block L2 */
|
||||
RAML3 : origin = 0x00B000, length = 0x001000 /* on-chip RAM block L3 */
|
||||
ZONE6 : origin = 0x0100000, length = 0x100000 /* XINTF zone 6 */
|
||||
ZONE7A : origin = 0x0200000, length = 0x00FC00 /* XINTF zone 7 - program space */
|
||||
|
||||
FLASHH : origin = 0x300000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHG : origin = 0x308000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHF : origin = 0x310000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHE : origin = 0x318000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHD : origin = 0x320000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHC : origin = 0x328000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHA : origin = 0x338000, length = 0x007F80 /* on-chip _FLASH */
|
||||
#if defined(RAM)
|
||||
BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */
|
||||
#else
|
||||
BEGIN : origin = 0x33FFF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
|
||||
#endif
|
||||
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
|
||||
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
|
||||
OTP : origin = 0x380400, length = 0x000400 /* on-chip OTP */
|
||||
ADC_CAL : origin = 0x380080, length = 0x000009 /* ADC_cal function in Reserved memory */
|
||||
|
||||
IQTABLES : origin = 0x3FE000, length = 0x000b50 /* IQ Math Tables in Boot ROM */
|
||||
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c /* IQ Math Tables in Boot ROM */
|
||||
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0 /* FPU Tables in Boot ROM */
|
||||
ROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */
|
||||
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */
|
||||
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */
|
||||
|
||||
|
||||
PAGE 1 :
|
||||
/* Data Memory */
|
||||
/* Memory (RAM/_FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
|
||||
/* Registers remain on PAGE1
|
||||
/* BOOT_RSVD is used by the boot ROM for stack. */
|
||||
/* This section is only reserved to keep the BOOT ROM from */
|
||||
/* corrupting this area during the debug process */
|
||||
|
||||
BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */
|
||||
RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */
|
||||
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
|
||||
RAML4 : origin = 0x00C000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
RAML5 : origin = 0x00D000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
RAML6 : origin = 0x00E000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
RAML7 : origin = 0x00F000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
|
||||
FLASHB : origin = 0x330000, length = 0x008000 /* on-chip _FLASH */
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/* Setup for "boot to SARAM" mode:
|
||||
The codestart section (found in DSP28_CodeStartBranch.asm)
|
||||
re-directs execution to the start of user code. */
|
||||
|
||||
/* Allocate program areas: */
|
||||
codestart : > BEGIN, PAGE = 0
|
||||
#if defined(RAM)
|
||||
ramfuncs : > RAML0, PAGE = 0
|
||||
.cinit : > RAML0, PAGE = 0
|
||||
.pinit : > RAML0, PAGE = 0
|
||||
.text : > RAML1, PAGE = 0
|
||||
.econst : > RAML3, PAGE = 0
|
||||
.switch : > RAML0, PAGE = 0
|
||||
csmpasswds : > CSM_PWL, PAGE = 0, TYPE = DSECT /* Dummy Sections for RAM builds */
|
||||
csm_rsvd : > CSM_RSVD, PAGE = 0, TYPE = DSECT /* Dummy Sections for RAM builds */
|
||||
/* the csm_<> sections were declared as dummy sections for the RAM build, else
|
||||
the flash tool gets invoked to erase all sectors */
|
||||
#elif defined(_FLASH)
|
||||
ramfuncs : LOAD = FLASHD,
|
||||
RUN = RAML0,
|
||||
table(_ramfuncsCopyTable),
|
||||
PAGE = 0
|
||||
.cinit : > FLASHA, PAGE = 0
|
||||
.pinit : > FLASHA, PAGE = 0
|
||||
.text : > FLASHA, PAGE = 0
|
||||
/* Initalized sections go in Flash */
|
||||
/* For SDFlash to program these, they must be allocated to page 0 */
|
||||
.econst : > FLASHA, PAGE = 0
|
||||
.switch : > FLASHA, PAGE = 0
|
||||
csmpasswds : > CSM_PWL, PAGE = 0
|
||||
csm_rsvd : > CSM_RSVD, PAGE = 0
|
||||
#else
|
||||
#error Add either "RAM" or "_FLASH" to C2000 Linker -> Advanced Options -> Command File Preprocessing -> --define
|
||||
#endif //RAM
|
||||
|
||||
/* Allocate uninitalized data sections: */
|
||||
.stack : > RAMM1, PAGE = 1
|
||||
.ebss : > RAML5, PAGE = 1
|
||||
.esysmem : > RAMM1, PAGE = 1
|
||||
|
||||
/* Copy table overlay section: */
|
||||
.ovly : > RAML7, PAGE = 1
|
||||
|
||||
/* Example specific sections */
|
||||
firldb align(0x100) > RAML1, PAGE = 0
|
||||
firfilt : > RAML1, PAGE = 0
|
||||
#if defined(RAM)
|
||||
coefffilt align(0x100)> RAML2, PAGE = 0
|
||||
#elif defined(_FLASH)
|
||||
coefffilt align(0x100)> FLASHA, PAGE = 0
|
||||
#endif //RAM
|
||||
sigIn : > RAML4, PAGE = 1
|
||||
sigOut : > RAML6, PAGE = 1
|
||||
|
||||
/* Allocate IQ math areas: */
|
||||
#if defined(RAM)
|
||||
IQmath : > RAML1, PAGE = 0 /* Math Code */
|
||||
#elif defined(_FLASH)
|
||||
IQmath : > FLASHC, PAGE = 0 /* Math Code */
|
||||
#endif //RAM
|
||||
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
|
||||
|
||||
/* Uncomment the section below if calling the IQNexp() or IQexp()
|
||||
functions from the IQMath.lib library in order to utilize the
|
||||
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
|
||||
is 1 wait-state). If this section is not uncommented, IQmathTables2
|
||||
will be loaded into other memory (SARAM, Flash, etc.) and will take
|
||||
up space, but 0 wait-state is possible.
|
||||
*/
|
||||
/*
|
||||
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
|
||||
{
|
||||
|
||||
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
|
||||
|
||||
/* Allocate DMA-accessible RAM sections: */
|
||||
/*
|
||||
DMARAML4 : > RAML4, PAGE = 1
|
||||
DMARAML5 : > RAML5, PAGE = 1
|
||||
DMARAML6 : > RAML61, PAGE = 1
|
||||
DMARAML7 : > RAML7, PAGE = 1
|
||||
*/
|
||||
|
||||
/* Allocate 0x400 of XINTF Zone 7 to storing data */
|
||||
ZONE7DATA : > ZONE7B, PAGE = 1
|
||||
|
||||
/* .reset is a standard section used by the compiler. It contains the */
|
||||
/* the address of the start of _c_int00 for C Code. /*
|
||||
/* When using the boot ROM this section and the CPU vector */
|
||||
/* table is not needed. Thus the default type is set here to */
|
||||
/* DSECT */
|
||||
.reset : > RESET, PAGE = 0, TYPE = DSECT
|
||||
vectors : > VECTORS, PAGE = 0, TYPE = DSECT
|
||||
|
||||
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
|
||||
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
|
||||
|
||||
}
|
||||
/*
|
||||
//#############################################################################
|
||||
// End of file.
|
||||
//#############################################################################
|
||||
*/
|
||||
@@ -0,0 +1,240 @@
|
||||
/*
|
||||
//###########################################################################
|
||||
//
|
||||
// FILE: F28335_FIXPT_IIR5BIQ_lnk.cmd
|
||||
//
|
||||
// TITLE: Linker Command File for the Fixed Point DSP library examples
|
||||
// that run on the 28335 platform
|
||||
//
|
||||
// This file includes all RAM and _FLASH blocks present on the
|
||||
// F28335 and depending on the active build configuration(RAM or _FLASH)
|
||||
// the appropriate sections will either be loaded into RAM or _FLASH
|
||||
// blocks
|
||||
//
|
||||
//
|
||||
//#############################################################################
|
||||
//
|
||||
//
|
||||
// $Copyright: Copyright (C) 2014-2024 Texas Instruments Incorporated -
|
||||
// http://www.ti.com/ ALL RIGHTS RESERVED $
|
||||
//#############################################################################
|
||||
//=======================================================
|
||||
// For Code Composer Studio V2.2 and later
|
||||
// ---------------------------------------
|
||||
// In addition to this memory linker command file,
|
||||
// add the header linker command file directly to the project.
|
||||
// The header linker command file is required to link the
|
||||
// peripheral structures to the proper locations within
|
||||
// the memory map.
|
||||
//
|
||||
// The header linker files are found in <base>\DSP2833x_Headers\cmd
|
||||
//
|
||||
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
|
||||
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
|
||||
//=======================================================
|
||||
// For Code Composer Studio prior to V2.2
|
||||
// --------------------------------------
|
||||
// 1) Use one of the following -l statements to include the
|
||||
// header linker command file in the project. The header linker
|
||||
// file is required to link the peripheral structures to the proper
|
||||
// locations within the memory map
|
||||
//
|
||||
// Uncomment this line to include file only for non-BIOS applications
|
||||
// -l DSP2833x_Headers_nonBIOS.cmd
|
||||
//
|
||||
// Uncomment this line to include file only for BIOS applications
|
||||
// -l DSP2833x_Headers_BIOS.cmd
|
||||
//
|
||||
// 2) In your project add the path to <base>\DSP2833x_headers\cmd to the
|
||||
// library search path under project->build options, linker tab,
|
||||
// library search path (-i).
|
||||
//=======================================================
|
||||
// Define the memory block start/length for the F28335
|
||||
// PAGE 0 will be used to organize program sections
|
||||
// PAGE 1 will be used to organize data sections
|
||||
//
|
||||
// NOTES:
|
||||
// 1. Memory blocks on F28335 are uniform (ie same physical memory) in both
|
||||
// PAGE 0 and PAGE 1. That is the same memory region should not be defined
|
||||
// for both PAGE 0 and PAGE 1. Doing so will result in corruption of program
|
||||
// and/or data.
|
||||
//
|
||||
// 2. L0/L1/L2 and L3 memory blocks are mirrored - that is they can be accessed
|
||||
// in high memory or low memory. For simplicity only one instance is used in
|
||||
// this linker file.
|
||||
//
|
||||
// 3. Contiguous SARAM memory blocks can be combined if required to create a
|
||||
// larger memory block.
|
||||
//
|
||||
// 4. RAM sections L0 and L1 are protected by the code security module.
|
||||
//
|
||||
//#############################################################################
|
||||
*/
|
||||
|
||||
MEMORY
|
||||
{
|
||||
PAGE 0 :
|
||||
/* Program Memory */
|
||||
/* Memory (RAM/_FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
|
||||
/* BEGIN is used for the "boot to SARAM" bootloader mode */
|
||||
|
||||
ZONE0 : origin = 0x004000, length = 0x001000 /* XINTF zone 0 */
|
||||
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
|
||||
RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
RAML2 : origin = 0x00A000, length = 0x001000 /* on-chip RAM block L2 */
|
||||
RAML3 : origin = 0x00B000, length = 0x001000 /* on-chip RAM block L3 */
|
||||
ZONE6 : origin = 0x0100000, length = 0x100000 /* XINTF zone 6 */
|
||||
ZONE7A : origin = 0x0200000, length = 0x00FC00 /* XINTF zone 7 - program space */
|
||||
FLASHH : origin = 0x300000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHG : origin = 0x308000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHF : origin = 0x310000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHE : origin = 0x318000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHD : origin = 0x320000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHC : origin = 0x328000, length = 0x008000 /* on-chip _FLASH */
|
||||
FLASHA : origin = 0x338000, length = 0x007F80 /* on-chip _FLASH */
|
||||
#if defined(RAM)
|
||||
BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */
|
||||
#else
|
||||
BEGIN : origin = 0x33FFF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
|
||||
#endif
|
||||
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
|
||||
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
|
||||
OTP : origin = 0x380400, length = 0x000400 /* on-chip OTP */
|
||||
ADC_CAL : origin = 0x380080, length = 0x000009 /* ADC_cal function in Reserved memory */
|
||||
|
||||
IQTABLES : origin = 0x3FE000, length = 0x000b50 /* IQ Math Tables in Boot ROM */
|
||||
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c /* IQ Math Tables in Boot ROM */
|
||||
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0 /* FPU Tables in Boot ROM */
|
||||
ROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */
|
||||
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */
|
||||
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */
|
||||
|
||||
PAGE 1 :
|
||||
/* Data Memory */
|
||||
/* Memory (RAM/_FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
|
||||
/* Registers remain on PAGE1
|
||||
/* BOOT_RSVD is used by the boot ROM for stack. */
|
||||
/* This section is only reserved to keep the BOOT ROM from */
|
||||
/* corrupting this area during the debug process */
|
||||
|
||||
BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */
|
||||
RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */
|
||||
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
|
||||
RAML4 : origin = 0x00C000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
RAML5 : origin = 0x00D000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
RAML6 : origin = 0x00E000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
RAML7 : origin = 0x00F000, length = 0x001000 /* on-chip RAM block L1 */
|
||||
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
|
||||
FLASHB : origin = 0x330000, length = 0x008000 /* on-chip _FLASH */
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/* Setup for "boot to SARAM" mode:
|
||||
The codestart section (found in DSP28_CodeStartBranch.asm)
|
||||
re-directs execution to the start of user code. */
|
||||
|
||||
/* Allocate program areas: */
|
||||
codestart : > BEGIN, PAGE = 0
|
||||
#if defined(RAM)
|
||||
ramfuncs : > RAML0, PAGE = 0
|
||||
.cinit : > RAML0, PAGE = 0
|
||||
.pinit : > RAML0, PAGE = 0
|
||||
.text : > RAML1, PAGE = 0
|
||||
.econst : > RAML3, PAGE = 0
|
||||
.switch : > RAML0, PAGE = 0
|
||||
csmpasswds : > CSM_PWL, PAGE = 0, TYPE = DSECT /* Dummy Sections for RAM builds */
|
||||
csm_rsvd : > CSM_RSVD, PAGE = 0, TYPE = DSECT /* Dummy Sections for RAM builds */
|
||||
/* the csm_<> sections were declared as dummy sections for the RAM build, else
|
||||
the flash tool gets invoked to erase all sectors */
|
||||
#elif defined(_FLASH)
|
||||
ramfuncs : LOAD = FLASHD,
|
||||
RUN = RAML0,
|
||||
table(_ramfuncsCopyTable),
|
||||
PAGE = 0
|
||||
.cinit : > FLASHA, PAGE = 0
|
||||
.pinit : > FLASHA, PAGE = 0
|
||||
.text : > FLASHA, PAGE = 0
|
||||
/* Initalized sections go in Flash */
|
||||
/* For SDFlash to program these, they must be allocated to page 0 */
|
||||
.econst : > FLASHA, PAGE = 0
|
||||
.switch : > FLASHA, PAGE = 0
|
||||
csmpasswds : > CSM_PWL, PAGE = 0
|
||||
csm_rsvd : > CSM_RSVD, PAGE = 0
|
||||
#else
|
||||
#error Add either "RAM" or "_FLASH" to C2000 Linker -> Advanced Options -> Command File Preprocessing -> --define
|
||||
#endif //RAM
|
||||
|
||||
/* Allocate uninitalized data sections: */
|
||||
.stack : > RAMM1, PAGE = 1
|
||||
.ebss : > RAML4, PAGE = 1
|
||||
.esysmem : > RAMM1, PAGE = 1
|
||||
|
||||
/* Copy table overlay section: */
|
||||
.ovly : > RAML7, PAGE = 1
|
||||
|
||||
/* Example specific sections */
|
||||
SINTBL : > RAMM1, PAGE = 1
|
||||
iirldb align(0x100) > RAML4, PAGE = 1
|
||||
iirfilt : > RAML5, PAGE = 1
|
||||
#if defined(RAM)
|
||||
coefffilt align(0x100)> RAML2, PAGE = 0
|
||||
#elif defined(_FLASH)
|
||||
coefffilt align(0x100)> FLASHA, PAGE = 0
|
||||
#endif //RAM
|
||||
sigIn : > RAML6, PAGE = 1
|
||||
sigOut : > RAML7, PAGE = 1
|
||||
|
||||
/* Allocate IQ math areas: */
|
||||
#if defined(RAM)
|
||||
IQmath : > RAML1, PAGE = 0 /* Math Code */
|
||||
#elif defined(_FLASH)
|
||||
IQmath : > FLASHC, PAGE = 0 /* Math Code */
|
||||
#endif //RAM
|
||||
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
|
||||
|
||||
/* Uncomment the section below if calling the IQNexp() or IQexp()
|
||||
functions from the IQMath.lib library in order to utilize the
|
||||
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
|
||||
is 1 wait-state). If this section is not uncommented, IQmathTables2
|
||||
will be loaded into other memory (SARAM, Flash, etc.) and will take
|
||||
up space, but 0 wait-state is possible.
|
||||
*/
|
||||
/*
|
||||
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
|
||||
{
|
||||
|
||||
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
|
||||
|
||||
/* Allocate DMA-accessible RAM sections: */
|
||||
/*
|
||||
DMARAML4 : > RAML4, PAGE = 1
|
||||
DMARAML5 : > RAML5, PAGE = 1
|
||||
DMARAML6 : > RAML61, PAGE = 1
|
||||
DMARAML7 : > RAML7, PAGE = 1
|
||||
*/
|
||||
|
||||
/* Allocate 0x400 of XINTF Zone 7 to storing data */
|
||||
ZONE7DATA : > ZONE7B, PAGE = 1
|
||||
|
||||
/* .reset is a standard section used by the compiler. It contains the */
|
||||
/* the address of the start of _c_int00 for C Code. /*
|
||||
/* When using the boot ROM this section and the CPU vector */
|
||||
/* table is not needed. Thus the default type is set here to */
|
||||
/* DSECT */
|
||||
.reset : > RESET, PAGE = 0, TYPE = DSECT
|
||||
vectors : > VECTORS, PAGE = 0, TYPE = DSECT
|
||||
|
||||
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
|
||||
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
|
||||
}
|
||||
/*
|
||||
//#############################################################################
|
||||
// End of file.
|
||||
//#############################################################################
|
||||
*/
|
||||
@@ -0,0 +1,166 @@
|
||||
/*
|
||||
For complex FFT, set FFT_ALIGN = 4N
|
||||
real FFT, set FFT_ALIGN = 2N
|
||||
*/
|
||||
--define=FFT_ALIGN=0x80
|
||||
MEMORY
|
||||
{
|
||||
/* BEGIN is used for the "boot to SARAM" bootloader mode */
|
||||
BEGIN : origin = 0x000000, length = 0x000002
|
||||
BOOT_RSVD : origin = 0x000002, length = 0x0001AE /* Part of M0, BOOT rom will use this for stack */
|
||||
RAMM0 : origin = 0x0001B0, length = 0x000250
|
||||
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
|
||||
RAMD0 : origin = 0x00C000, length = 0x000800
|
||||
RAMD1 : origin = 0x00C800, length = 0x000800
|
||||
|
||||
RAMLS : origin = 0x008000, length = 0x004000
|
||||
// RAMLS1 : origin = 0x008800, length = 0x000800
|
||||
// RAMLS2 : origin = 0x009000, length = 0x000800
|
||||
// RAMLS3 : origin = 0x009800, length = 0x000800
|
||||
// RAMLS4567 : origin = 0x00A000, length = 0x002000
|
||||
|
||||
RAMGS : origin = 0x00D000, length = 0x010000
|
||||
|
||||
// RAMGS234 : origin = 0x00F000, length = 0x003000
|
||||
|
||||
// RAMGS567 : origin = 0x012000, length = 0x003000
|
||||
|
||||
// RAMGS89 : origin = 0x015000, length = 0x002000
|
||||
// RAMGS1011 : origin = 0x017000, length = 0x002000
|
||||
// RAMGS12131415 : origin = 0x019000, length = 0x004000
|
||||
|
||||
|
||||
/* Flash sectors */
|
||||
// FLASH0 : origin = 0x080000, length = 0x002000 /* on-chip Flash */
|
||||
// FLASH1 : origin = 0x082000, length = 0x002000 /* on-chip Flash */
|
||||
// FLASH2 : origin = 0x084000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH012 : origin = 0x080000, length = 0x006000
|
||||
// FLASH3 : origin = 0x086000, length = 0x002000 /* on-chip Flash */
|
||||
// FLASH4 : origin = 0x088000, length = 0x008000 /* on-chip Flash */
|
||||
// FLASH5 : origin = 0x090000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH345 : origin = 0x086000, length = 0x012000
|
||||
FLASH6 : origin = 0x098000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH7 : origin = 0x0A0000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH8 : origin = 0x0A8000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH9 : origin = 0x0B0000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH10 : origin = 0x0B8000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH11 : origin = 0x0BA000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH12 : origin = 0x0BC000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH13 : origin = 0x0BE000, length = 0x002000 /* on-chip Flash */
|
||||
CPU1TOCPU2RAM : origin = 0x03A000, length = 0x000800
|
||||
CPU2TOCPU1RAM : origin = 0x03B000, length = 0x000800
|
||||
|
||||
CPUTOCMRAM : origin = 0x039000, length = 0x000800
|
||||
CMTOCPURAM : origin = 0x038000, length = 0x000800
|
||||
|
||||
CANA_MSG_RAM : origin = 0x049000, length = 0x000800
|
||||
CANB_MSG_RAM : origin = 0x04B000, length = 0x000800
|
||||
RESET : origin = 0x3FFFC0, length = 0x000002
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT // not used,
|
||||
#if defined(RAM)
|
||||
.text : >> RAMD0 | RAMD1 | RAMLS| RAMGS
|
||||
.cinit : > RAMLS
|
||||
.switch : > RAMM0
|
||||
.stack : > RAMLS
|
||||
.TI.ramfunc : > RAMLS
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : >>RAMGS
|
||||
.bss:output : > RAMGS
|
||||
.init_array : > RAMM0
|
||||
.const : >> RAMGS
|
||||
.data : >> RAMLS
|
||||
.sysmem : > RAMLS
|
||||
#else
|
||||
.pinit : > RAMM0
|
||||
.ebss : >> RAMGS
|
||||
.econst : > RAMGS
|
||||
.esysmem : > RAMGS
|
||||
#endif
|
||||
|
||||
// The following section definition are for SDFM examples
|
||||
Filter_RegsFile : > RAMGS
|
||||
Filter1_RegsFile : > RAMGS, fill=0x1111
|
||||
Filter2_RegsFile : > RAMGS, fill=0x2222
|
||||
Filter3_RegsFile : > RAMGS, fill=0x3333
|
||||
Filter4_RegsFile : > RAMGS, fill=0x4444
|
||||
Difference_RegsFile : >RAMGS, fill=0x3333
|
||||
|
||||
#elif defined(_FLASH)
|
||||
.text :> FLASH012
|
||||
.cinit :> FLASH012 | FLASH345
|
||||
.switch :> FLASH012
|
||||
.stack :> RAMM1
|
||||
.data : >> RAMGS
|
||||
.sysmem :> FLASH012
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : >> RAMGS
|
||||
.bss:output : > RAMGS
|
||||
.init_array : > FLASH345
|
||||
.const : >> FLASH012
|
||||
.sysmem : > FLASH012
|
||||
.TI.ramfunc : {} LOAD = FLASH012,
|
||||
RUN = RAMM0,
|
||||
LOAD_START(RamfuncsLoadStart),
|
||||
LOAD_SIZE(RamfuncsLoadSize),
|
||||
LOAD_END(RamfuncsLoadEnd),
|
||||
RUN_START(RamfuncsRunStart),
|
||||
RUN_SIZE(RamfuncsRunSize),
|
||||
RUN_END(RamfuncsRunEnd),
|
||||
ALIGN(4)
|
||||
#else
|
||||
.pinit : > FLASH012
|
||||
.ebss : > RAMGS
|
||||
.cio : > RAMGS
|
||||
.econst : > FLASH345
|
||||
.esysmem : > FLASH345
|
||||
.TI.ramfunc :{} LOAD = FLASH012,
|
||||
RUN = RAMM0,
|
||||
LOAD_START(_RamfuncsLoadStart),
|
||||
LOAD_SIZE(_RamfuncsLoadSize),
|
||||
LOAD_END(_RamfuncsLoadEnd),
|
||||
RUN_START(_RamfuncsRunStart),
|
||||
RUN_SIZE(_RamfuncsRunSize),
|
||||
RUN_END(_RamfuncsRunEnd),
|
||||
ALIGN(4)
|
||||
#endif//TI_EABI
|
||||
|
||||
|
||||
|
||||
// The following section definition are for SDFM examples
|
||||
Filter_RegsFile : > FLASH345
|
||||
Filter1_RegsFile : > FLASH345
|
||||
Filter2_RegsFile : > FLASH345
|
||||
Filter3_RegsFile : > FLASH345
|
||||
Filter4_RegsFile : > FLASH345
|
||||
Difference_RegsFile : >FLASH345
|
||||
#endif//RAM
|
||||
|
||||
|
||||
ramgs0 : > RAMGS, type=NOINIT
|
||||
ramgs1 : > RAMGS, type=NOINIT
|
||||
FFTipcb : >> RAMGS, ALIGN(16384)
|
||||
FFTipcbsrc : >> RAMLS //| RAMD0 | RAMD1
|
||||
#if defined(RAM)
|
||||
FFTtf : > RAMGS
|
||||
#elif defined(_FLASH)
|
||||
FFTtf : > FLASH012
|
||||
#endif //RAM
|
||||
|
||||
MSGRAM_CPU1_TO_CPU2 > CPU1TOCPU2RAM, type=NOINIT
|
||||
MSGRAM_CPU2_TO_CPU1 > CPU2TOCPU1RAM, type=NOINIT
|
||||
MSGRAM_CPU_TO_CM > CPUTOCMRAM, type=NOINIT
|
||||
MSGRAM_CM_TO_CPU > CMTOCPURAM, type=NOINIT
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
*/
|
||||
@@ -0,0 +1,160 @@
|
||||
MEMORY
|
||||
{
|
||||
/* BEGIN is used for the "boot to SARAM" bootloader mode */
|
||||
#if defined(RAM)
|
||||
BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */
|
||||
#elif defined(_FLASH)
|
||||
BEGIN : origin = 0x080000, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
|
||||
#endif
|
||||
// BEGIN : origin = 0x000000, length = 0x000002
|
||||
BOOT_RSVD : origin = 0x000002, length = 0x0001AE /* Part of M0, BOOT rom will use this for stack */
|
||||
RAMM01 : origin = 0x0001B0, length = 0x000650
|
||||
// RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
|
||||
RAMD0 : origin = 0x00C000, length = 0x000800
|
||||
RAMD1 : origin = 0x00C800, length = 0x000800
|
||||
RAMLS0 : origin = 0x008000, length = 0x000800
|
||||
RAMLS1 : origin = 0x008800, length = 0x000800
|
||||
RAMLS2 : origin = 0x009000, length = 0x000800
|
||||
RAMLS3 : origin = 0x009800, length = 0x000800
|
||||
RAMLS4 : origin = 0x00A000, length = 0x000800
|
||||
RAMLS5 : origin = 0x00A800, length = 0x000800
|
||||
RAMLS6 : origin = 0x00B000, length = 0x000800
|
||||
RAMLS7 : origin = 0x00B800, length = 0x000800
|
||||
RAMGS0 : origin = 0x00D000, length = 0x001000
|
||||
RAMGS1 : origin = 0x00E000, length = 0x001000
|
||||
RAMGS2 : origin = 0x00F000, length = 0x001000
|
||||
RAMGS3 : origin = 0x010000, length = 0x001000
|
||||
RAMGS4 : origin = 0x011000, length = 0x001000
|
||||
RAMGS5 : origin = 0x012000, length = 0x001000
|
||||
RAMGS6 : origin = 0x013000, length = 0x001000
|
||||
RAMGS7 : origin = 0x014000, length = 0x001000
|
||||
RAMGS89 : origin = 0x015000, length = 0x002000
|
||||
RAMGS1011 : origin = 0x017000, length = 0x002000
|
||||
RAMGS12 : origin = 0x019000, length = 0x001000
|
||||
RAMGS13 : origin = 0x01A000, length = 0x001000
|
||||
RAMGS14 : origin = 0x01B000, length = 0x001000
|
||||
RAMGS15 : origin = 0x01C000, length = 0x001000
|
||||
|
||||
/* Flash sectors */
|
||||
FLASH0 : origin = 0x080002, length = 0x001FFE /* on-chip Flash */
|
||||
FLASH1 : origin = 0x082000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH2 : origin = 0x084000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH3 : origin = 0x086000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH4 : origin = 0x088000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH5 : origin = 0x090000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH6 : origin = 0x098000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH7 : origin = 0x0A0000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH8 : origin = 0x0A8000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH9 : origin = 0x0B0000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH10 : origin = 0x0B8000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH11 : origin = 0x0BA000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH12 : origin = 0x0BC000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH13 : origin = 0x0BE000, length = 0x002000 /* on-chip Flash */
|
||||
CPU1TOCPU2RAM : origin = 0x03A000, length = 0x000800
|
||||
CPU2TOCPU1RAM : origin = 0x03B000, length = 0x000800
|
||||
|
||||
CPUTOCMRAM : origin = 0x039000, length = 0x000800
|
||||
CMTOCPURAM : origin = 0x038000, length = 0x000800
|
||||
|
||||
CANA_MSG_RAM : origin = 0x049000, length = 0x000800
|
||||
CANB_MSG_RAM : origin = 0x04B000, length = 0x000800
|
||||
RESET : origin = 0x3FFFC0, length = 0x000002
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN, ALIGN(4)
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
|
||||
#if defined(RAM)
|
||||
.text : >> RAMD0 | RAMD1 | RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMGS15
|
||||
.cinit : > RAMM01
|
||||
.switch : > RAMLS0
|
||||
.stack : > RAMLS1
|
||||
.data : > RAMLS5
|
||||
.TI.ramfunc : > RAMM01
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : >> RAMLS5 | RAMLS6 | RAMLS7
|
||||
.bss:output : > RAMLS3
|
||||
.init_array : > RAMLS0
|
||||
.const : >> RAMLS5 | RAMLS6
|
||||
.sysmem : > RAMLS4
|
||||
#else
|
||||
.pinit : > RAMLS0
|
||||
.ebss : >> RAMLS5 | RAMLS6 | RAMLS7
|
||||
.cio : > RAMLS3
|
||||
.econst : > RAMLS5 | RAMLS6
|
||||
.esysmem : > RAMLS4
|
||||
#endif //EABI
|
||||
|
||||
#elif defined(_FLASH)
|
||||
.cinit : > FLASH0
|
||||
.text : >> FLASH1 | FLASH2
|
||||
.switch : > FLASH3
|
||||
.stack : > RAMM01
|
||||
.data : > RAMGS1
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS0
|
||||
.bss:output : > RAMLS1
|
||||
.init_array : > FLASH0
|
||||
.const : > FLASH4
|
||||
.sysmem : > RAMLS2
|
||||
#else
|
||||
.pinit : > FLASH0
|
||||
.ebss : > RAMLS0
|
||||
.cio : > RAMLS1
|
||||
.econst : > FLASH4
|
||||
.esysmem : > RAMLS2
|
||||
#endif //EABI
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.TI.ramfunc : {} LOAD = FLASH3,
|
||||
RUN = RAMGS0,
|
||||
LOAD_START(RamfuncsLoadStart),
|
||||
LOAD_SIZE(RamfuncsLoadSize),
|
||||
LOAD_END(RamfuncsLoadEnd),
|
||||
RUN_START(RamfuncsRunStart),
|
||||
RUN_SIZE(RamfuncsRunSize),
|
||||
RUN_END(RamfuncsRunEnd),
|
||||
ALIGN(4)
|
||||
|
||||
#else
|
||||
.TI.ramfunc : {} LOAD = FLASH3,
|
||||
RUN = RAMLS0,
|
||||
LOAD_START(_RamfuncsLoadStart),
|
||||
LOAD_SIZE(_RamfuncsLoadSize),
|
||||
LOAD_END(_RamfuncsLoadEnd),
|
||||
RUN_START(_RamfuncsRunStart),
|
||||
RUN_SIZE(_RamfuncsRunSize),
|
||||
RUN_END(_RamfuncsRunEnd),
|
||||
ALIGN(4)
|
||||
#endif//EABI
|
||||
#endif//FLASH
|
||||
|
||||
ramgs0 : > RAMGS0, type=NOINIT
|
||||
ramgs1 : > RAMGS1, type=NOINIT
|
||||
|
||||
firfilt : >> RAMGS0 | RAMGS1
|
||||
firldb : > RAMGS0, ALIGN(0x100)
|
||||
#if defined(RAM)
|
||||
coefffilt : > RAMGS1, ALIGN(0x100)
|
||||
#elif defined(_FLASH)
|
||||
coefffilt :> FLASH2, ALIGN(0x100)
|
||||
#endif
|
||||
|
||||
revcoeff : > RAMGS1
|
||||
sigIn : >> RAMGS0 | RAMGS1
|
||||
sigOut : >> RAMGS0 | RAMGS1
|
||||
|
||||
MSGRAM_CPU1_TO_CPU2 > CPU1TOCPU2RAM, type=NOINIT
|
||||
MSGRAM_CPU2_TO_CPU1 > CPU2TOCPU1RAM, type=NOINIT
|
||||
MSGRAM_CPU_TO_CM > CPUTOCMRAM, type=NOINIT
|
||||
MSGRAM_CM_TO_CPU > CMTOCPURAM, type=NOINIT
|
||||
}
|
||||
|
||||
/*
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
*/
|
||||
@@ -0,0 +1,163 @@
|
||||
MEMORY
|
||||
{
|
||||
/* BEGIN is used for the "boot to SARAM" bootloader mode */
|
||||
#if defined(RAM)
|
||||
BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */
|
||||
#elif defined(_FLASH)
|
||||
BEGIN : origin = 0x080000, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
|
||||
#endif
|
||||
// BEGIN : origin = 0x000000, length = 0x000002
|
||||
BOOT_RSVD : origin = 0x000002, length = 0x0001AE /* Part of M0, BOOT rom will use this for stack */
|
||||
RAMM0 : origin = 0x0001B0, length = 0x000250
|
||||
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
|
||||
RAMD0 : origin = 0x00C000, length = 0x000800
|
||||
RAMD1 : origin = 0x00C800, length = 0x000800
|
||||
RAMLS0 : origin = 0x008000, length = 0x000800
|
||||
RAMLS1 : origin = 0x008800, length = 0x000800
|
||||
RAMLS2 : origin = 0x009000, length = 0x000800
|
||||
RAMLS3 : origin = 0x009800, length = 0x000800
|
||||
RAMLS4 : origin = 0x00A000, length = 0x000800
|
||||
RAMLS5 : origin = 0x00A800, length = 0x000800
|
||||
RAMLS6 : origin = 0x00B000, length = 0x000800
|
||||
RAMLS7 : origin = 0x00B800, length = 0x000800
|
||||
RAMGS0 : origin = 0x00D000, length = 0x001000
|
||||
RAMGS1 : origin = 0x00E000, length = 0x001000
|
||||
RAMGS2 : origin = 0x00F000, length = 0x001000
|
||||
RAMGS3 : origin = 0x010000, length = 0x001000
|
||||
RAMGS4 : origin = 0x011000, length = 0x001000
|
||||
RAMGS5 : origin = 0x012000, length = 0x001000
|
||||
RAMGS6 : origin = 0x013000, length = 0x001000
|
||||
RAMGS7 : origin = 0x014000, length = 0x001000
|
||||
RAMGS89 : origin = 0x015000, length = 0x002000
|
||||
RAMGS1011 : origin = 0x017000, length = 0x002000
|
||||
RAMGS12 : origin = 0x019000, length = 0x001000
|
||||
RAMGS13 : origin = 0x01A000, length = 0x001000
|
||||
RAMGS14 : origin = 0x01B000, length = 0x001000
|
||||
RAMGS15 : origin = 0x01C000, length = 0x001000
|
||||
|
||||
/* Flash sectors */
|
||||
FLASH0 : origin = 0x080002, length = 0x001FFE /* on-chip Flash */
|
||||
FLASH1 : origin = 0x082000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH2 : origin = 0x084000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH3 : origin = 0x086000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH4 : origin = 0x088000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH5 : origin = 0x090000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH6 : origin = 0x098000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH7 : origin = 0x0A0000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH8 : origin = 0x0A8000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH9 : origin = 0x0B0000, length = 0x008000 /* on-chip Flash */
|
||||
FLASH10 : origin = 0x0B8000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH11 : origin = 0x0BA000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH12 : origin = 0x0BC000, length = 0x002000 /* on-chip Flash */
|
||||
FLASH13 : origin = 0x0BE000, length = 0x002000 /* on-chip Flash */
|
||||
CPU1TOCPU2RAM : origin = 0x03A000, length = 0x000800
|
||||
CPU2TOCPU1RAM : origin = 0x03B000, length = 0x000800
|
||||
|
||||
CPUTOCMRAM : origin = 0x039000, length = 0x000800
|
||||
CMTOCPURAM : origin = 0x038000, length = 0x000800
|
||||
|
||||
CANA_MSG_RAM : origin = 0x049000, length = 0x000800
|
||||
CANB_MSG_RAM : origin = 0x04B000, length = 0x000800
|
||||
RESET : origin = 0x3FFFC0, length = 0x000002
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN, ALIGN(4)
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
#if defined(RAM)
|
||||
.text : >> RAMD0 | RAMD1 | RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMGS15
|
||||
.cinit : > RAMLS7
|
||||
.switch : > RAMM0
|
||||
.data : > RAMLS5
|
||||
.stack : > RAMM1
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : >> RAMLS5 | RAMLS6
|
||||
.bss:output : > RAMLS3
|
||||
.init_array : > RAMM0
|
||||
.const : > RAMLS5
|
||||
.sysmem : > RAMLS4
|
||||
#else
|
||||
.pinit : > RAMLS0
|
||||
.ebss : >> RAMLS5 | RAMLS6 | RAMLS7
|
||||
.cio : > RAMLS3
|
||||
.econst : > RAMLS5 | RAMLS6
|
||||
.esysmem : > RAMLS4
|
||||
#endif
|
||||
|
||||
.TI.ramfunc : {} > RAMM0
|
||||
|
||||
#elif defined(_FLASH)
|
||||
.text : >> FLASH1 | FLASH2, ALIGN(4)
|
||||
.cinit : > FLASH0, ALIGN(4)
|
||||
.switch : > FLASH3, ALIGN(4)
|
||||
.data : > RAMGS1
|
||||
.stack : > RAMM1
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : >> RAMGS0
|
||||
.bss:output : > RAMGS0
|
||||
.init_array : > FLASH3, ALIGN(4)
|
||||
.const : > FLASH4
|
||||
.sysmem : > RAMGS1
|
||||
#else
|
||||
.pinit : > FLASH0
|
||||
.ebss : > RAMLS0
|
||||
.cio : > RAMLS1
|
||||
.econst : > FLASH4
|
||||
.esysmem : > RAMLS2
|
||||
#endif
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.TI.ramfunc : {} LOAD = FLASH3,
|
||||
RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3,
|
||||
LOAD_START(RamfuncsLoadStart),
|
||||
LOAD_SIZE(RamfuncsLoadSize),
|
||||
LOAD_END(RamfuncsLoadEnd),
|
||||
RUN_START(RamfuncsRunStart),
|
||||
RUN_SIZE(RamfuncsRunSize),
|
||||
RUN_END(RamfuncsRunEnd),
|
||||
ALIGN(4)
|
||||
#else
|
||||
.TI.ramfunc : {} LOAD = FLASH3,
|
||||
RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3,
|
||||
LOAD_START(_RamfuncsLoadStart),
|
||||
LOAD_SIZE(_RamfuncsLoadSize),
|
||||
LOAD_END(_RamfuncsLoadEnd),
|
||||
RUN_START(_RamfuncsRunStart),
|
||||
RUN_SIZE(_RamfuncsRunSize),
|
||||
RUN_END(_RamfuncsRunEnd),
|
||||
ALIGN(4)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
ramgs0 : > RAMGS0, type=NOINIT
|
||||
ramgs1 : > RAMGS1, type=NOINIT
|
||||
|
||||
MSGRAM_CPU1_TO_CPU2 > CPU1TOCPU2RAM, type=NOINIT
|
||||
MSGRAM_CPU2_TO_CPU1 > CPU2TOCPU1RAM, type=NOINIT
|
||||
MSGRAM_CPU_TO_CM > CPUTOCMRAM, type=NOINIT
|
||||
MSGRAM_CM_TO_CPU > CMTOCPURAM, type=NOINIT
|
||||
|
||||
iirfilt : > RAMGS0, ALIGN(0x100)
|
||||
iirldb : > RAMGS0
|
||||
coefffilt : > RAMGS0, ALIGN(0x100)
|
||||
sigIn : > RAMGS0
|
||||
sigOut : > RAMGS0
|
||||
|
||||
/* The following section definition are for SDFM examples */
|
||||
Filter_RegsFile : > RAMGS0
|
||||
Filter1_RegsFile : > RAMGS1, fill=0x1111
|
||||
Filter2_RegsFile : > RAMGS2, fill=0x2222
|
||||
Filter3_RegsFile : > RAMGS3, fill=0x3333
|
||||
Filter4_RegsFile : > RAMGS4, fill=0x4444
|
||||
Difference_RegsFile : >RAMGS5, fill=0x3333
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
//===========================================================================
|
||||
// End of file.
|
||||
//===========================================================================
|
||||
*/
|
||||
@@ -0,0 +1,57 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00000000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM01 : origin = 0x00000128, length = 0x000006D0
|
||||
//RAMM01 : origin = 0x00000400, length = 0x000003F8
|
||||
// RAMM01_RSVD : origin = 0x000007F8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
|
||||
RAMLS : origin = 0x00008000, length = 0x00003FF8
|
||||
//RAMLS : origin = 0x00008000, length = 0x00002000
|
||||
//RAMLS1 : origin = 0x0000A000, length = 0x00001FF8
|
||||
// RAMLS1_RSVD : origin = 0x0000BFF8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
}
|
||||
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM01
|
||||
|
||||
|
||||
.TI.ramfunc : > RAMM01
|
||||
.text : > RAMLS
|
||||
.cinit : > RAMM01
|
||||
.switch : > RAMM01
|
||||
|
||||
coefffilt : > RAMLS, ALIGN(0x100)
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.init_array : > RAMM01
|
||||
.const : > RAMLS
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
#else
|
||||
.pinit : > RAMM01
|
||||
.ebss : > RAMLS
|
||||
.econst : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
#endif
|
||||
|
||||
|
||||
firfilt : > RAMLS
|
||||
firldb : > RAMLS, ALIGN(0x100)
|
||||
revcoeff : > RAMLS
|
||||
sigIn : >> RAMLS
|
||||
sigOut : >> RAMLS
|
||||
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
MEMORY
|
||||
{
|
||||
BEGIN : origin = 0x00000000, length = 0x00000002
|
||||
BOOT_RSVD : origin = 0x00000002, length = 0x00000126
|
||||
|
||||
RAMM01 : origin = 0x00000128, length = 0x000006D0
|
||||
//RAMM01 : origin = 0x00000400, length = 0x000003F8
|
||||
// RAMM01_RSVD : origin = 0x000007F8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
|
||||
RAMLS : origin = 0x00008000, length = 0x00003FF8
|
||||
//RAMLS : origin = 0x00008000, length = 0x00002000
|
||||
//RAMLS1 : origin = 0x0000A000, length = 0x00001FF8
|
||||
// RAMLS1_RSVD : origin = 0x0000BFF8, length = 0x00000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
||||
|
||||
RESET : origin = 0x003FFFC0, length = 0x00000002
|
||||
}
|
||||
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
codestart : > BEGIN
|
||||
.reset : > RESET, TYPE = DSECT /* not used, */
|
||||
.stack : > RAMM01
|
||||
|
||||
|
||||
.TI.ramfunc : > RAMM01
|
||||
.text : > RAMLS
|
||||
.cinit : > RAMM01
|
||||
.switch : > RAMM01
|
||||
|
||||
coefffilt : > RAMLS, ALIGN(0x100)
|
||||
|
||||
#if defined(__TI_EABI__)
|
||||
.bss : > RAMLS
|
||||
.bss:output : > RAMLS
|
||||
.init_array : > RAMM01
|
||||
.const : > RAMLS
|
||||
.data : > RAMLS
|
||||
.sysmem : > RAMLS
|
||||
.bss:cio : > RAMLS
|
||||
#else
|
||||
.pinit : > RAMM01
|
||||
.ebss : > RAMLS
|
||||
.econst : > RAMLS
|
||||
.esysmem : > RAMLS
|
||||
.cio : > RAMLS
|
||||
#endif
|
||||
|
||||
|
||||
firfilt : > RAMLS
|
||||
firldb : > RAMLS, ALIGN(0x100)
|
||||
revcoeff : > RAMLS
|
||||
sigIn : >> RAMLS
|
||||
sigOut : >> RAMLS
|
||||
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?ccsproject version="1.0"?>
|
||||
<projectOptions>
|
||||
<deviceFamily value="C2000"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse-cdt version="2.0"?>
|
||||
|
||||
<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
|
||||
<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<data>
|
||||
<item id="org.eclipse.cdt.core.pathentry">
|
||||
<pathentry kind="src" path=""/>
|
||||
<pathentry kind="out" path=""/>
|
||||
<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
|
||||
<pathentry kind="con" path="com.ti.ccstudio.managedbuild.core.CCS_CONTAINER"/>
|
||||
</item>
|
||||
</data>
|
||||
</cdtproject>
|
||||
@@ -0,0 +1,198 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1546742190">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1546742190" moduleId="org.eclipse.cdt.core.settings" name="RAM">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_BRevAcq" buildProperties="" description="RAM build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1546742190" name="RAM" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1546742190.1114221111" name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1393210540" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.696925687">
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.612416561" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28053_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.247799928" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.1599170688" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1693789045" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.11731547" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.162652848" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.1845263427" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.1809576641" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.387870712" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.12102800309" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.857796556" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.254006137" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="RAM"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.917948442" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.205633857" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.1661256243" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.213166609" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1884463864" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.696925687" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1799501133" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.1513788521" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" useByScannerDiscovery="false" value="2833x_FixedPoint_BRevAcq.out" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.1982807925" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_BRevAcq.map"" valueType="string"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.536046052" name="[Legacy] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.724284629" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value=""c28x_fixedpoint_dsp_library.lib""/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.819277013" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.1940006333" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="RAM" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1049225664" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_BRevAcq_linkInfo.xml"" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.497140885" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.149626217" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.1871915083" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="28335_RAM_lnk.cmd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1546742190.482802862">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1546742190.482802862" moduleId="org.eclipse.cdt.core.settings" name="_FLASH">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_BRevAcq" buildProperties="" description="_FLASH build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1546742190.482802862" name="_FLASH" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1546742190.482802862." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1906635558" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.226034130">
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1496179077" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.107724384" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.1317913077" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.478166309" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.141060882" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.599639394" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.357092236" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.1937900694" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.612133780" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.137086570" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.965997748" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1025311369" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.816545328" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FLASH"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.397164513" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.1602875787" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.2090679446" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1712689329" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1077628315" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1896786367" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.1959825340" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" useByScannerDiscovery="false" value="2833x_FixedPoint_BRevAcq.out" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.1545929158" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_BRevAcq.map"" valueType="string"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.1038487383" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.829415056" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value=""c28x_fixedpoint_dsp_library.lib""/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.1580038511" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1456033641" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_BRevAcq_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.868795774" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="_FLASH" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.276872167" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.113654680" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.1693169646" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="28053_RAM_lnk.cmd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="2833x_FixedPoint_BRevAcq.com.ti.ccstudio.buildDefinitions.C2000.ProjectType.830097055" name="C2000" projectType="com.ti.ccstudio.buildDefinitions.C2000.ProjectType"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
|
||||
<project-mappings>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
</project-mappings>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
||||
</cproject>
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>2833x_FixedPoint_BRevAcq</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>com.ti.ccstudio.core.ccsNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>DSP2833x_ADC_cal.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_ADC_cal.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Adc.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_Adc.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CodeStartBranch.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CodeStartBranch.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CpuTimers.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CpuTimers.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DBGIER.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DBGIER.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DefaultIsr.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DefaultIsr.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_GlobalVariableDefs.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/source/DSP2833x_GlobalVariableDefs.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Headers_nonBIOS.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/cmd/DSP2833x_Headers_nonBIOS.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieVect.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieVect.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_SysCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_SysCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_usDelay.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_usDelay.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>F28335_FIXPT_FFT_lnk.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/cmd/F28335_FIXPT_FFT_lnk.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>examples_setup.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/examples/common/examples_setup.c</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>INSTALLROOT_2833X</name>
|
||||
<value>$%7BPARENT-6-PROJECT_LOC%7D/device_support/f2833x</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>INSTALLROOT_TO_FIXEDPTLIB</name>
|
||||
<value>$%7BPARENT-2-PROJECT_LOC%7D</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
||||
BIN
Binary file not shown.
+7
@@ -0,0 +1,7 @@
|
||||
Add watch window variables
|
||||
expRemoveAll()
|
||||
expAdd("ipcbsrc", getNatural())
|
||||
expAdd("ipcb", getNatural())
|
||||
expAdd("acq", getNatural())
|
||||
|
||||
openAnalysisView('Dual Time','C:/Users/a0272561/Repositories/cs30_controlsuite/libs/dsp/FixedPointLib/version/examples/2833x_FixedPoint_BRevAcq/ACQ_IN_OUT.graphProp')
|
||||
+125
@@ -0,0 +1,125 @@
|
||||
% // TI File $Revision: /main/3 $
|
||||
% // Checkin $Date: November 1, 2010 13:05:07 $
|
||||
% // =====================================================================================
|
||||
% // This software is licensed for use with Texas Instruments C28x
|
||||
% // family DSCs. This license was provided to you prior to installing
|
||||
% // the software. You may review this license by consulting a copy of
|
||||
% // the agreement in the doc directory of this library.
|
||||
% //======================================================================================
|
||||
% //
|
||||
% // FILE: FixedRFFBRevAcq.m
|
||||
% //
|
||||
% // TITLE: DSP2833x Device Fixed Point Real Input Point by Point Bit
|
||||
% // Reversed Test Program.
|
||||
% //
|
||||
% //
|
||||
% // ASSUMPTIONS:
|
||||
% //
|
||||
% // This matlab code is reference code for debugging FixedPoint DSP library
|
||||
% // module BRevAcq and example project 2833x_FixedPoint_BrevAcq.
|
||||
% //
|
||||
% //
|
||||
% //
|
||||
% // Watch Variables:
|
||||
% //
|
||||
% // x_raw_sig Input signal (float)
|
||||
% // Rx,Ix Bit-revesed real and imaginary part of signal
|
||||
% // (Q31)
|
||||
% //
|
||||
% //######################################################################################
|
||||
% //
|
||||
%// C2000Ware v5.04.00.00
|
||||
%//Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
%//
|
||||
%// Redistribution and use in source and binary forms, with or without
|
||||
%// modification, are permitted provided that the following conditions
|
||||
%// are met:
|
||||
%//
|
||||
%// Redistributions of source code must retain the above copyright
|
||||
%// notice, this list of conditions and the following disclaimer.
|
||||
%//
|
||||
%// Redistributions in binary form must reproduce the above copyright
|
||||
%// notice, this list of conditions and the following disclaimer in the
|
||||
%// documentation and/or other materials provided with the
|
||||
%// distribution.
|
||||
%//
|
||||
%// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
%// its contributors may be used to endorse or promote products derived
|
||||
%// from this software without specific prior written permission.
|
||||
%//
|
||||
%// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
%// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
%// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
%// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
%// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
%// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
%// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
%// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
%// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
%// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
%// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
%//$
|
||||
% //######################################################################################
|
||||
|
||||
clear all
|
||||
close all
|
||||
|
||||
disp('==============================================================');
|
||||
disp('input signal is stored as Q31 format');
|
||||
disp('==============================================================');
|
||||
disp('this is Matlab version of C28x Fixed Point RFFT code');
|
||||
disp('The result is stored in array X');
|
||||
disp('The signal is stored in array x_raw_sig');
|
||||
disp('==============================================================');
|
||||
|
||||
RadStep = 0.1963495408494;
|
||||
|
||||
stages=input('Please enter stages (>=3) =');
|
||||
N=2^stages;
|
||||
halfSize=N-1;
|
||||
|
||||
Rad=[0:RadStep:(halfSize)*RadStep];
|
||||
|
||||
even_idx=0:halfSize;
|
||||
odd_idx=even_idx+1;
|
||||
|
||||
CFFTinBuf1=zeros(1,N);
|
||||
|
||||
Rx=sin(Rad)+cos(Rad*2.3567);
|
||||
Ix=0*(cos(Rad*8.345) + sin(Rad*5.789));
|
||||
|
||||
x=Rx+j*Ix;
|
||||
x_raw_sig=x/2;
|
||||
|
||||
x_win=Rx.*hamming(N)';
|
||||
|
||||
fft_float=2^31*fft(x/2)/N;
|
||||
|
||||
%bit reverse algorithm
|
||||
for i=1:N
|
||||
dr(i) = bin2dec(fliplr(dec2bin(i-1,stages)))+1;
|
||||
end
|
||||
|
||||
dr_1=dr-1;
|
||||
Rx=2^31*x(dr)/2;
|
||||
Ix=2^31*Ix(dr)/2;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+124
@@ -0,0 +1,124 @@
|
||||
//#############################################################################
|
||||
//! \file $FOLDER_EXAMPLES$/$DEVICE$_Test_FixedPoint_FIR32_Alt/test_cfft32.c
|
||||
//!
|
||||
//! \brief Complex FFT (32-bit)
|
||||
//!
|
||||
//! \date Sep 15, 2014
|
||||
//!
|
||||
//! This example shows how to use the real time bit reversal routine for the RFFT.
|
||||
//! This routine will acquire FFT_SIZE real data samples in real time and store it as
|
||||
//! an FFT_SIZE/2 point complex data sequence in bit-revesred order to perform an FFT_SIZE point
|
||||
//! real FFT computation.
|
||||
//! The structure used by this routine is defined as follows:
|
||||
//!
|
||||
//! typedef struct {
|
||||
//! int acqflag;
|
||||
//! int count;
|
||||
//! long input;
|
||||
//! long *tempptr;
|
||||
//! long *buffptr;
|
||||
//! int size;
|
||||
//! void (*update)(void *);
|
||||
//! }RFFT32_brev_RT_ACQ;
|
||||
//!
|
||||
//! \b Watch \b Variables
|
||||
//! - ipcbsrc Data input buffer. After the FFT calculation it becomes the
|
||||
//! Magnitude output buffer (Both are in Q31 format)
|
||||
//! - ipcb Data output buffer (Q31 format)
|
||||
//! - acq CFFT32 object
|
||||
//!
|
||||
//! In CCS, you can invoke the "SetupDebugEnv.js" script from the
|
||||
//! Scripting console to have these variables set up in the Watch window
|
||||
//! and create graphs to show the input/output vectors
|
||||
//
|
||||
// Group: C2000
|
||||
// Target Family: C28x
|
||||
//
|
||||
//#############################################################################
|
||||
// $Copyright: Copyright (C) 2014-2024 Texas Instruments Incorporated -
|
||||
// http://www.ti.com/ ALL RIGHTS RESERVED $
|
||||
//#############################################################################
|
||||
|
||||
//*****************************************************************************
|
||||
// includes
|
||||
//*****************************************************************************
|
||||
#include "examples_setup.h"
|
||||
#include "fft.h"
|
||||
|
||||
//*****************************************************************************
|
||||
// defines
|
||||
//*****************************************************************************
|
||||
#define FFT_SIZE 1024
|
||||
|
||||
//*****************************************************************************
|
||||
// globals
|
||||
//*****************************************************************************
|
||||
// Create the FFT buffers, ipcb and ipcbsrc, in sections with the same name
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(ipcb, "FFTipcb");
|
||||
#else
|
||||
#pragma DATA_SECTION("FFTipcb");
|
||||
#endif
|
||||
int32_t ipcb[2*FFT_SIZE];
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(ipcbsrc, "FFTipcbsrc");
|
||||
#else
|
||||
#pragma DATA_SECTION("FFTipcbsrc");
|
||||
#endif
|
||||
int32_t ipcbsrc[2*FFT_SIZE];
|
||||
|
||||
// Create an instance of RFFT32_brev_RT_ACQ module
|
||||
// Use the RFFT32_brev_RT_ACQ_DEFAULTS in the FFT header file if
|
||||
// unsure as to what values to program the object with.
|
||||
RFFT32_brev_RT_ACQ acq = RFFT32_brev_RT_ACQ_DEFAULTS;
|
||||
|
||||
int main(void)
|
||||
{
|
||||
// Locals
|
||||
float RadStep = 0.1963495408494f;
|
||||
float Rad = 0.0f;
|
||||
uint32_t i = 0;
|
||||
|
||||
#ifdef _FLASH
|
||||
FIXPT_DSP_initFlash();
|
||||
#endif //_FLASH
|
||||
FIXPT_DSP_initSystemClocks();
|
||||
FIXPT_DSP_initEpie();
|
||||
|
||||
// Generate sample waveforms:
|
||||
Rad = 0.0f;
|
||||
for(i=0; i < (FFT_SIZE*2); i=i+2){
|
||||
ipcbsrc[i] =(long)(2147483648*(sin(Rad) + cos(Rad*2.3567))/2); //Q31
|
||||
ipcbsrc[i+1] = (long)(2147483648*(cos(Rad*8.345) + sin(Rad*5.789))/2); //Q31
|
||||
Rad = Rad + RadStep;
|
||||
}
|
||||
|
||||
//Clean up input/output buffer
|
||||
for(i=0; i < (FFT_SIZE*2); i=i+2){
|
||||
ipcb[i] =0;
|
||||
ipcb[i+1] = 0;
|
||||
}
|
||||
|
||||
//Header structure initialization
|
||||
acq.buffptr = ipcb; //Output buffer
|
||||
acq.tempptr = ipcb; //Temporary buffer, normally pointing to the same as buffptr
|
||||
acq.size = FFT_SIZE; //Buffer size
|
||||
acq.count = FFT_SIZE; //Every time one element bit-reversed, count minus 1
|
||||
acq.acqflag = 1; //Acquisition flag, initialized as 1
|
||||
|
||||
for(i=0; i < FFT_SIZE; i++){
|
||||
acq.input = ipcbsrc[i]; // Input data
|
||||
acq.update(&acq); // Point by point bit-reversing
|
||||
}
|
||||
|
||||
//asm(" ESTOP0");
|
||||
for(;;);
|
||||
|
||||
// code should never reach this pointer
|
||||
return 1;
|
||||
} // End: main()
|
||||
|
||||
//###########################################################################
|
||||
// End of File
|
||||
//###########################################################################
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?ccsproject version="1.0"?>
|
||||
<projectOptions>
|
||||
<deviceFamily value="C2000"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse-cdt version="2.0"?>
|
||||
|
||||
<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
|
||||
<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<data>
|
||||
<item id="org.eclipse.cdt.core.pathentry">
|
||||
<pathentry kind="src" path=""/>
|
||||
<pathentry kind="out" path=""/>
|
||||
<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
|
||||
<pathentry kind="con" path="com.ti.ccstudio.managedbuild.core.CCS_CONTAINER"/>
|
||||
</item>
|
||||
</data>
|
||||
</cdtproject>
|
||||
@@ -0,0 +1,191 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.232642589">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.232642589" moduleId="org.eclipse.cdt.core.settings" name="RAM">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_CFFT" buildProperties="" description="RAM build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.232642589" name="RAM" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.232642589.2134715708" name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1178572111" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1432870701">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1675939382" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2083502545" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.1251441475" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.480504400" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.312494519" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.1666048532" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.167208705" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.1018839816" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.1565762601" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.1060669824" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.972897387" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.918858804" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.153844054" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="RAM"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.337429716" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.287024003" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.49054285" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1952001576" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1432870701" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1905984295" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.220600026" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_CFFT.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.1051822309" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_CFFT.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.1762213793" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.1976543388" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.601592421" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.659514106" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_CFFT_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.873483185" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="RAM" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.1425856079" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.997185466" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.2047883756" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.232642589.18256380">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.232642589.18256380" moduleId="org.eclipse.cdt.core.settings" name="_FLASH">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_CFFT" buildProperties="" description="_FLASH build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.232642589.18256380" name="_FLASH" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.232642589.18256380." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1302626480" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1432870701">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1897430591" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.481462075" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.111839943" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.328910939" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.1881072948" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.963953690" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.154730308" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.167304797" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.1342245389" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.1820144467" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.1174556857" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.133746076" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.203002610" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FLASH"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.625024417" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.1815957991" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.811841648" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.780218035" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1705072611" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.685529223" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.643701098" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_CFFT.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.1435894899" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_CFFT.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.1132765836" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.1335665887" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.1420459930" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1227577488" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_CFFT_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.967311347" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="_FLASH" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.1463280961" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.110669876" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.120924094" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="2833x_FixedPoint_CFFT.com.ti.ccstudio.buildDefinitions.C2000.ProjectType.2082518109" name="C2000" projectType="com.ti.ccstudio.buildDefinitions.C2000.ProjectType"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
|
||||
<project-mappings>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
</project-mappings>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration"/>
|
||||
</cproject>
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>2833x_FixedPoint_CFFT</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>com.ti.ccstudio.core.ccsNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>DSP2833x_ADC_cal.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_ADC_cal.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Adc.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_Adc.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CodeStartBranch.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CodeStartBranch.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CpuTimers.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CpuTimers.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DBGIER.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DBGIER.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DefaultIsr.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DefaultIsr.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_GlobalVariableDefs.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/source/DSP2833x_GlobalVariableDefs.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Headers_nonBIOS.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/cmd/DSP2833x_Headers_nonBIOS.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieVect.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieVect.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_SysCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_SysCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_usDelay.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_usDelay.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>F28335_FIXPT_FFT_lnk.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/cmd/F28335_FIXPT_FFT_lnk.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>examples_setup.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/examples/common/examples_setup.c</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>INSTALLROOT_2833X</name>
|
||||
<value>$%7BPARENT-6-PROJECT_LOC%7D/device_support/f2833x</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>INSTALLROOT_TO_FIXEDPTLIB</name>
|
||||
<value>$%7BPARENT-2-PROJECT_LOC%7D</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
//Add watch window variables
|
||||
expRemoveAll()
|
||||
expAdd("ipcbsrc", getNatural())
|
||||
expAdd("ipcb", getNatural())
|
||||
expAdd("cfft", getNatural())
|
||||
|
||||
openAnalysisView('Dual Time','C\:/Users/a0486005/Documents/c2000ware-release/libraries/dsp/FixedPoint/c28/examples/2833x_FixedPoint_CFFT/CFFT_IN_OUT.graphProp')
|
||||
+351
@@ -0,0 +1,351 @@
|
||||
% // TI File $Revision: /main/3 $
|
||||
% // Checkin $Date: November 1, 2010 13:05:07 $
|
||||
% // =====================================================================================
|
||||
% // This software is licensed for use with Texas Instruments C28x
|
||||
% // family DSCs. This license was provided to you prior to installing
|
||||
% // the software. You may review this license by consulting a copy of
|
||||
% // the agreement in the doc directory of this library.
|
||||
% //======================================================================================
|
||||
% //
|
||||
% // FILE: FixedPointCFFT.m
|
||||
% //
|
||||
% // TITLE: DSP2833x Device Fixed Point Complex FFT Test Program.
|
||||
% //
|
||||
% //
|
||||
% // ASSUMPTIONS:
|
||||
% //
|
||||
% // This matlab code is reference code for debugging FixedPoint DSP library
|
||||
% // function CFFT32_brev, FFT32_calc, FFT32_init, FFT32_izero, FFT32_mag
|
||||
% // and example project 2833x_FixedPoint_CFFT.
|
||||
% //
|
||||
% //
|
||||
% // Watch Variables:
|
||||
% //
|
||||
% // x_raw_sig Input signal (float)
|
||||
% // Rx,Ix Bit-revesed real and imaginary part of signal
|
||||
% // (Q31)
|
||||
% // x_out_2nd 2nd Stage complex CFFT result
|
||||
% // X Stage 3 and up result (Q31)
|
||||
% // Magnitude_Fixed Spectrum magnitude (Q31)
|
||||
% // fft_float Normalized floating fft result represented as (Q31)
|
||||
% //
|
||||
% //######################################################################################
|
||||
% //
|
||||
% //
|
||||
% //
|
||||
%// C2000Ware v5.04.00.00
|
||||
%//Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
%//
|
||||
%// Redistribution and use in source and binary forms, with or without
|
||||
%// modification, are permitted provided that the following conditions
|
||||
%// are met:
|
||||
%//
|
||||
%// Redistributions of source code must retain the above copyright
|
||||
%// notice, this list of conditions and the following disclaimer.
|
||||
%//
|
||||
%// Redistributions in binary form must reproduce the above copyright
|
||||
%// notice, this list of conditions and the following disclaimer in the
|
||||
%// documentation and/or other materials provided with the
|
||||
%// distribution.
|
||||
%//
|
||||
%// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
%// its contributors may be used to endorse or promote products derived
|
||||
%// from this software without specific prior written permission.
|
||||
%//
|
||||
%// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
%// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
%// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
%// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
%// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
%// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
%// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
%// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
%// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
%// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
%// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
%//$
|
||||
% //######################################################################################
|
||||
|
||||
clear all
|
||||
close all
|
||||
|
||||
disp('==============================================================');
|
||||
disp('input signal is stored as Q31 format');
|
||||
disp('result is the same as matlab function fft(x)/N as Q31 format');
|
||||
disp('==============================================================');
|
||||
disp('this is Matlab version of C28x Fixed PointCFFT code');
|
||||
disp('The result is stored in array X');
|
||||
disp('The signal is stored in array x_raw_sig');
|
||||
disp('fft_float stored the fft(x_raw_sig) in Q31 format');
|
||||
disp('Magnitude_Fixed in Q31 format');
|
||||
disp('==============================================================');
|
||||
|
||||
RadStep = 0.1963495408494;
|
||||
|
||||
stages=input('Please enter stages (>=3) =');
|
||||
N=2^stages;
|
||||
halfSize=N-1;
|
||||
|
||||
Rad=[0:RadStep:(halfSize)*RadStep];
|
||||
|
||||
even_idx=0:halfSize;
|
||||
odd_idx=even_idx+1;
|
||||
|
||||
CFFTinBuf1=zeros(1,N);
|
||||
|
||||
Rx=sin(Rad)+cos(Rad*2.3567);
|
||||
Ix=(cos(Rad*8.345) + sin(Rad*5.789));
|
||||
|
||||
x=Rx+j*Ix;
|
||||
x_raw_sig=x/2;
|
||||
|
||||
fft_float=2^31*fft(x/2)/N;
|
||||
|
||||
%bit reverse algorithm
|
||||
for i=1:N
|
||||
dr(i) = bin2dec(fliplr(dec2bin(i-1,stages)))+1;
|
||||
end
|
||||
|
||||
dr_1=dr-1;
|
||||
Rx=2^31*Rx(dr)/2;
|
||||
Ix=2^31*Ix(dr)/2;
|
||||
|
||||
%stage 1 and 2
|
||||
for i=1:N/4
|
||||
idx=(i-1)*4+1;
|
||||
D0=Rx(idx+0);
|
||||
D1=Ix(idx+0);
|
||||
D2=Rx(idx+1);
|
||||
D3=Ix(idx+1);
|
||||
D4=Rx(idx+2);
|
||||
D5=Ix(idx+2);
|
||||
D6=Rx(idx+3);
|
||||
D7=Ix(idx+3);
|
||||
D0prime=((D0 + D2)+(D4 + D6))/4;
|
||||
D1prime=((D1 + D3)+(D5 + D7))/4;
|
||||
D2prime=((D0 - D2)+(D5 - D7))/4;
|
||||
D3prime=((D1 - D3)-(D4 - D6))/4;
|
||||
D4prime=((D0 + D2)-(D4 + D6))/4;
|
||||
D5prime=((D1 + D3)-(D5 + D7))/4;
|
||||
D6prime=((D0 - D2)-(D5 - D7))/4;
|
||||
D7prime=((D1 - D3)+(D4 - D6))/4;
|
||||
|
||||
x_out_2nd(idx+0)=D0prime+j*D1prime;
|
||||
x_out_2nd(idx+1)=D2prime+j*D3prime;
|
||||
x_out_2nd(idx+2)=D4prime+j*D5prime;
|
||||
x_out_2nd(idx+3)=D6prime+j*D7prime;
|
||||
|
||||
end
|
||||
|
||||
x_out=x_out_2nd;
|
||||
|
||||
x_out=[x_out,zeros(1,N*2)];
|
||||
|
||||
table_idx=0:N-1;
|
||||
cos_table=cos(2*pi*table_idx/N);
|
||||
sin_table=sin(2*pi*table_idx/N);
|
||||
coef_table=[sin_table(1:N/4),cos_table(1:N/2)];
|
||||
|
||||
CurrentInPtr=1;
|
||||
CurrentOutPtr=1;
|
||||
AR2=CurrentInPtr;
|
||||
AR3=CurrentInPtr;
|
||||
AR6=CurrentOutPtr;
|
||||
AR7=CurrentOutPtr;
|
||||
|
||||
%stage 3 and up
|
||||
%num_of_loop=stages-2;
|
||||
StagesCounter=stages-2;
|
||||
OuterCounter=N/8;
|
||||
CoefPtrInc=N/8;
|
||||
CoefPtr=0;
|
||||
CurrentSinPtr=CoefPtr;
|
||||
CurrentCosPtr=CoefPtr+N/4;
|
||||
InnerCounter=3;
|
||||
DataPtrInc=4;
|
||||
|
||||
AR5=CurrentSinPtr+1;
|
||||
AR4=CurrentCosPtr+1;
|
||||
|
||||
for k=1:StagesCounter
|
||||
|
||||
AR0=DataPtrInc;
|
||||
AR3=AR3+AR0;
|
||||
AR7=AR7+AR0;
|
||||
|
||||
AR0=CoefPtrInc;
|
||||
D2_1=real(x_out(AR3));%R1H=D2_1
|
||||
R1H=D2_1;
|
||||
|
||||
for m=1:OuterCounter
|
||||
|
||||
Cos_1=coef_table(AR4);
|
||||
R2H=Cos_1;
|
||||
AR4=AR4+AR0;
|
||||
|
||||
%R7H=D2_1*Cos_1;
|
||||
R7H=R1H*R2H;
|
||||
|
||||
D3_1=imag(x_out(AR3)); %R0H=D3_1
|
||||
R0H=D3_1;
|
||||
AR3=AR3+1;
|
||||
|
||||
Sin_1=coef_table(AR5);
|
||||
R3H=Sin_1;
|
||||
AR5=AR5+AR0;
|
||||
|
||||
%R6H=D3_1*Sin_1;
|
||||
R6H=R0H*R3H;
|
||||
%R5H=D2_1*Sin_1;
|
||||
R5H=R1H*R3H;
|
||||
|
||||
for i=1:InnerCounter
|
||||
|
||||
%R7H = (D2_1*Cos_1 + D3_1*Sin_1); %R7H=R7H+R6H
|
||||
R7H=R7H+R6H;
|
||||
|
||||
D2_2=real(x_out(AR3));%R1H=D2_2
|
||||
R1H=D2_2;
|
||||
|
||||
%R6H = D3_1*Cos_1;
|
||||
R6H=R0H*R2H;
|
||||
|
||||
D0_1=real(x_out(AR2));%R3H=D0_1
|
||||
R3H=D0_1;
|
||||
|
||||
%R4H=D0_1 + (D2_1*Cos_1 + D3_1*Sin_1);%R4H=R3H+R7H;
|
||||
R4H=R3H+R7H;
|
||||
|
||||
Cos_2=coef_table(AR4);
|
||||
R2H=Cos_2;
|
||||
AR4=AR4+AR0;
|
||||
|
||||
%R6H = (D3_1*Cos_1 - D2_1*Sin_1);%R6H=R6H-R5H;
|
||||
R6H=R6H-R5H;
|
||||
|
||||
D3_2=imag(x_out(AR3));%R0H
|
||||
R0H=D3_2;
|
||||
AR3=AR3+1;
|
||||
|
||||
D0_1prime=R4H;
|
||||
AR6;
|
||||
%X(AR6)=D0_1prime;
|
||||
|
||||
%R4H = D0_1 - (D2_1*Cos_1 + D3_1*Sin_1);%R4H=R3H-R7H;
|
||||
R4H=R3H-R7H;
|
||||
|
||||
D2_1prime=R4H;
|
||||
%X(AR7)=D2_1prime;
|
||||
|
||||
R7H = D2_2*Cos_2;
|
||||
|
||||
D1_1=imag(x_out(AR2));%R3H=D1_1
|
||||
R3H=D1_1;
|
||||
AR2=AR2+1;
|
||||
|
||||
%R4H = D1_1 + (D3_1*Cos_1 - D2_1*Sin_1);%R4H=R3H+R6H
|
||||
R4H=R3H+R6H;
|
||||
|
||||
%R5H = D1_1 - (D3_1*Cos_1 - D2_1*Sin_1);%R5H=R3H-R6H
|
||||
R5H=R3H-R6H;
|
||||
D2_1=real(x_out(AR3));
|
||||
R1H=D2_1;
|
||||
|
||||
Sin_2=coef_table(AR5);
|
||||
R3H=Sin_2;
|
||||
AR5=AR5+AR0;
|
||||
|
||||
%R6H = D3_2*Sin_2;%R6H=R0H*R3H
|
||||
R6H=R0H*R3H;
|
||||
|
||||
D1_1prime=R4H;
|
||||
X(AR6)=D0_1prime+j*D1_1prime;
|
||||
AR6=AR6+1;
|
||||
|
||||
D3_1prime=R5H;
|
||||
X(AR7)=D2_1prime+j*D3_1prime;
|
||||
AR7=AR7+1;
|
||||
|
||||
R5H = D2_2*Sin_2;
|
||||
|
||||
end
|
||||
|
||||
AR0=DataPtrInc;
|
||||
AR4=CurrentCosPtr+1;
|
||||
AR5=CurrentSinPtr+1;
|
||||
|
||||
%R7H = (D2_2*COS_2 + D3_2*SIN_2)
|
||||
R7H=R7H+R6H;
|
||||
|
||||
R6H=real(x_out(AR3));
|
||||
AR3=AR3-1;
|
||||
|
||||
% R6H = D3_2*COS_2
|
||||
R6H=R0H*R2H;
|
||||
|
||||
D0_2=real(x_out(AR2));
|
||||
R3H=D0_2;
|
||||
|
||||
%R4H = D0_2 + (D2_2*COS_2 + D3_2*SIN_2)
|
||||
R4H=R3H+R7H;
|
||||
|
||||
D0_2prime=R4H;
|
||||
%X(AR6)=D0_2prime
|
||||
|
||||
% R6H = (D3_2*COS_2 - D2_2*SIN_2)
|
||||
R6H=R6H-R5H;
|
||||
|
||||
R5H=imag(x_out(AR3));
|
||||
AR3 = AR3 + DataPtrInc+1;
|
||||
|
||||
% R4H = D0_2 - (D2_2*COS_2 + D3_2*SIN_2)
|
||||
R4H=R3H-R7H;
|
||||
D2_2prime=R4H;
|
||||
%X(AR7)=D2_2prime;
|
||||
|
||||
|
||||
D1_2=imag(x_out(AR2));
|
||||
R3H=D1_2;
|
||||
AR2=AR2+DataPtrInc+1;
|
||||
|
||||
% R4H = D1_2 + (D3_2*COS_2 - D2_2*SIN_2)
|
||||
R4H=R3H+R6H;
|
||||
|
||||
% R5H = D1_2 - (D3_2*COS_2 - D2_2*SIN_2)
|
||||
R5H=R3H-R6H;
|
||||
|
||||
AR3;
|
||||
D2_1=real(x_out(AR3));
|
||||
R1H=D2_1;
|
||||
%AR3=AR3+1;
|
||||
|
||||
D1_2prime=R4H;
|
||||
X(AR6)=D0_2prime+j*D1_2prime;
|
||||
AR6=AR6+DataPtrInc+1;
|
||||
|
||||
D3_2prime=R5H;
|
||||
X(AR7)=D2_2prime+j*D3_2prime;
|
||||
AR7=AR7+DataPtrInc+1;
|
||||
|
||||
AR0=CoefPtrInc;
|
||||
end
|
||||
X=X/2;
|
||||
x_out(1:length(X))=X;
|
||||
|
||||
DataPtrInc=DataPtrInc*2;
|
||||
CoefPtrInc=CoefPtrInc/2;
|
||||
|
||||
AR7=CurrentInPtr;
|
||||
AR3=CurrentOutPtr;
|
||||
AR6=CurrentInPtr;
|
||||
AR2=CurrentOutPtr;
|
||||
|
||||
InnerCounter=InnerCounter*2+1;
|
||||
|
||||
OuterCounter=OuterCounter/2;
|
||||
end
|
||||
|
||||
Magnitude=abs(X);
|
||||
Phase=angle(X);
|
||||
|
||||
Magnitude_Fixed=(abs(X)/2^16).^2;
|
||||
@@ -0,0 +1,144 @@
|
||||
//#############################################################################
|
||||
//! \file $FOLDER_EXAMPLES$/$DEVICE$_Test_FixedPoint_CFFT/cfft.c
|
||||
//!
|
||||
//! \brief Complex FFT (32-bit)
|
||||
//!
|
||||
//! \date Sep 15, 2014
|
||||
//!
|
||||
//! This example shows how to use the CFFT routines of the library including bit
|
||||
//! reversal, FFT initialization, calculation and magnitude calculation. The
|
||||
//! CFFT module structure is as follows:
|
||||
//!
|
||||
//! typedef struct {
|
||||
//! int32 *ipcbptr;
|
||||
//! int32 *tfptr;
|
||||
//! int16 size;
|
||||
//! int16 nrstage;
|
||||
//! int32 *magptr;
|
||||
//! int32 *winptr;
|
||||
//! int32 peakmag;
|
||||
//! int16 peakfrq;
|
||||
//! int16 ratio;
|
||||
//! void (*init)(void *);
|
||||
//! void (*izero)(void *);
|
||||
//! void (*calc)(void *);
|
||||
//! void (*mag)(void *);
|
||||
//! void (*win)(void *);
|
||||
//! }CFFT32;
|
||||
//!
|
||||
//! \b Watch \b Variables
|
||||
//! - ipcbsrc Data input buffer. After the FFT calculation it becomes the
|
||||
//! Magnitude output buffer (Both are in Q31 format)
|
||||
//! - ipcb Data output buffer (Q31 format)
|
||||
//! - cfft CFFT32 object
|
||||
//!
|
||||
//! In CCS, you can invoke the "SetupDebugEnv.js" script from the
|
||||
//! Scripting console to have these variables set up in the Watch window
|
||||
//! and create graphs to show the input/output vectors
|
||||
//
|
||||
// Group: C2000
|
||||
// Target Family: C28x
|
||||
//
|
||||
//#############################################################################
|
||||
//
|
||||
//
|
||||
// $Copyright: Copyright (C) 2014-2024 Texas Instruments Incorporated -
|
||||
// http://www.ti.com/ ALL RIGHTS RESERVED $
|
||||
//#############################################################################
|
||||
|
||||
//*****************************************************************************
|
||||
// includes
|
||||
//*****************************************************************************
|
||||
#include "examples_setup.h"
|
||||
#include "fft.h"
|
||||
#include "fft_hamming_Q31.h"
|
||||
//*****************************************************************************
|
||||
// defines
|
||||
//*****************************************************************************
|
||||
#define FFT_SIZE 1024
|
||||
#define ENABLE_WINDOWING 1
|
||||
|
||||
//*****************************************************************************
|
||||
// globals
|
||||
//*****************************************************************************
|
||||
// Create the FFT buffers, ipcb and ipcbsrc, in sections with the same name
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(ipcb, "FFTipcb");
|
||||
#else
|
||||
#pragma DATA_SECTION("FFTipcb");
|
||||
#endif
|
||||
int32_t ipcb[2*FFT_SIZE];
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(ipcbsrc, "FFTipcbsrc");
|
||||
#else
|
||||
#pragma DATA_SECTION("FFTipcbsrc");
|
||||
#endif
|
||||
int32_t ipcbsrc[2*FFT_SIZE];
|
||||
|
||||
// Define window Co-efficient Array
|
||||
// Note: Windowing is used if ENABLE_WINDOWING is set to 1024
|
||||
const long win[FFT_SIZE/2]=HAMMING1024;
|
||||
|
||||
// Declare and initialize the structure object.
|
||||
// Use the CFFT32_<n>P_DEFUALTS in the FFT header file if
|
||||
// unsure as to what values to program the object with.
|
||||
CFFT32 cfft=CFFT32_1024P_DEFAULTS;
|
||||
|
||||
// Start of main()
|
||||
int main(void)
|
||||
{
|
||||
// Locals
|
||||
float RadStep = 0.1963495408494f;
|
||||
float Rad = 0.0f;
|
||||
uint32_t i = 0;
|
||||
|
||||
#ifdef _FLASH
|
||||
FIXPT_DSP_initFlash();
|
||||
#endif //_FLASH
|
||||
FIXPT_DSP_initSystemClocks();
|
||||
FIXPT_DSP_initEpie();
|
||||
|
||||
// Generate sample waveforms:
|
||||
for(i=0; i < (FFT_SIZE*2); i=i+2){
|
||||
ipcbsrc[i] =(long)(2147483648*(sin(Rad) + cos(Rad*2.3567))/2); //Q31
|
||||
#if (ENABLE_WINDOWING)
|
||||
// If windowing is enabled for the CFFT routine, the routine assumes the
|
||||
// imaginary part of the input is zero and will only apply the window to the
|
||||
// real part (the sampled real data that you get from the ADC).
|
||||
ipcbsrc[i+1] = 0;
|
||||
#else
|
||||
ipcbsrc[i+1] = (long)(2147483648*(cos(Rad*8.345) + sin(Rad*5.789))/2); //Q31
|
||||
#endif //ENABLE_WINDOWING
|
||||
Rad = Rad + RadStep;
|
||||
}
|
||||
|
||||
//Clean up input/output buffer
|
||||
for(i=0; i < (FFT_SIZE*2); i=i+2){
|
||||
ipcb[i] =0;
|
||||
ipcb[i+1] = 0;
|
||||
}
|
||||
|
||||
CFFT32_brev(ipcbsrc, ipcb, FFT_SIZE); // Real part bit-reversing
|
||||
CFFT32_brev(&ipcbsrc[1], &ipcb[1], FFT_SIZE); // Imaginary part bit-reversing
|
||||
|
||||
cfft.ipcbptr = ipcb; // FFT computation buffer
|
||||
cfft.magptr = ipcbsrc; // Magnitude output buffer
|
||||
cfft.winptr = (long *)win; // Window coefficient array
|
||||
cfft.init(&cfft); // Twiddle factor pointer initialization
|
||||
|
||||
cfft.calc(&cfft); // Compute the FFT
|
||||
|
||||
cfft.mag(&cfft); // Q30 format (abs(ipcbsrc)/2^16).^2
|
||||
|
||||
//asm(" ESTOP0");
|
||||
for(;;);
|
||||
|
||||
// code should never reach this pointer
|
||||
return 1;
|
||||
|
||||
} // End: main()
|
||||
|
||||
//###########################################################################
|
||||
// End of File
|
||||
//###########################################################################
|
||||
@@ -0,0 +1,218 @@
|
||||
//#############################################################################
|
||||
//! \file $FOLDER_EXAMPLES$/$DEVICE$_FixedPoint_FIR16/fir16d.c
|
||||
//!
|
||||
//! \brief 16-bit FIR Filter Example
|
||||
//!
|
||||
//! \date Aug 12, 2014
|
||||
//!
|
||||
//! This examples shows how to implement a 16-bit FIR filter using the optimized
|
||||
//! FIR library routines. This version of the FIR filter has a limitation of 256
|
||||
//! taps (filter order max 255). If a higher order filter is required, refer to the
|
||||
//! FIR16_Alt example.
|
||||
//!
|
||||
//! typedef struct {
|
||||
//! int32_t *coeff_ptr;
|
||||
//! int32_t * dbuffer_ptr;
|
||||
//! int cbindex;
|
||||
//! int order;
|
||||
//! int input;
|
||||
//! int output;
|
||||
//! void (*init)(void *);
|
||||
//! void (*calc)(void *);
|
||||
//! }FIR16;
|
||||
//!
|
||||
//! Users can also use default templates defined within fir.h to initialize
|
||||
//! the FIR16 header structure.
|
||||
//!
|
||||
//! FIR16 fir= FIR16_DEFAULTS;
|
||||
//!
|
||||
//! The MATLAB Filter Design and Analysis Tool (FDATool) is a useful tool
|
||||
//! for designing filters and generating fixed point coefficients. Refer
|
||||
//! to the appendix of the Fixed Point DSP Libray User's Guide for more
|
||||
//! information.
|
||||
//!
|
||||
//! \b Watch \b Variables
|
||||
//! - fir FIR16 object
|
||||
//!
|
||||
//! In CCS, you can invoke the "SetupDebugEnv.js" script from the
|
||||
//! Scripting console to have these variables set up in the Watch window
|
||||
//! and create graphs to show the input/output vectors
|
||||
//
|
||||
// Group: C2000
|
||||
// Target Family: C28x
|
||||
//
|
||||
//#############################################################################
|
||||
//
|
||||
//
|
||||
// $Copyright: $
|
||||
//#############################################################################
|
||||
|
||||
//*****************************************************************************
|
||||
// includes
|
||||
//*****************************************************************************
|
||||
#include "examples_setup.h"
|
||||
#include <filter.h>
|
||||
|
||||
//*****************************************************************************
|
||||
// defines
|
||||
//*****************************************************************************
|
||||
// Filter Symbolic Constants
|
||||
#define FIR_ORDER 32
|
||||
#define SIGNAL_LENGTH 128
|
||||
|
||||
#if(FIR_ORDER & 0x01) // odd
|
||||
#define FIR_ORDER_REV (FIR_ORDER + 1) // even
|
||||
#else
|
||||
#define FIR_ORDER_REV (FIR_ORDER + 2) // even
|
||||
#endif
|
||||
//*****************************************************************************
|
||||
// globals
|
||||
//*****************************************************************************
|
||||
// Create an Instance of FIR16 module and place the object in "firfilt" section
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(fir, "firfilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("firfilt");
|
||||
#endif
|
||||
FIR16 fir= FIR16_DEFAULTS;
|
||||
|
||||
// Define the Delay buffer for the "FIR_ORDER"th order filter
|
||||
// and place it in "firldb" section. Since we define it as int32_t,
|
||||
// The size of the buffer is:
|
||||
// FIR_ORDER even -> (FIR_ORDER+1)/2+1 e.g. FIR_ORDER = 32, size = 17 dwords
|
||||
// odd -> (FIR_ORDER+1)/2 e.g. FIR_ORDER = 31, size = 16 dwords
|
||||
// The delay line buffer must be aligned to a 256 word boundary
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(dbuffer,"firldb");
|
||||
#else
|
||||
#pragma DATA_SECTION("firfilt");
|
||||
#endif
|
||||
int32_t dbuffer[FIR_ORDER + 3];
|
||||
|
||||
// Input/output buffer
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigIn, "sigIn");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigIn");
|
||||
#endif
|
||||
int16_t sigIn[SIGNAL_LENGTH];
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigOut, "sigOut");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigOut");
|
||||
#endif
|
||||
int16_t sigOut[SIGNAL_LENGTH];
|
||||
|
||||
// Define Constant Coefficient Array and place it in the "coefffilt"
|
||||
// section. You can either reorder the coefficients at run time (done
|
||||
// in this example) or just store them reordered.
|
||||
// Index LSW MSW
|
||||
// +---------+---------+
|
||||
// 0 | h(L-1) | h(L/2-1)|
|
||||
// 2 | h(L-2) | h(L/2-2)|
|
||||
// 4 | h(L-3) | h(L/2-3)|
|
||||
// 6 | h(L-4) | h(L/2-4)|
|
||||
// ... | ... | ... |
|
||||
// L/2-3 | h(L/2+2)| h(2) |
|
||||
// L/2-2 | h(L/2+1)| h(1) |
|
||||
// L/2-1 | h(L/2) | h(0) |
|
||||
// +---------+---------+
|
||||
// The size of the array is:
|
||||
// FIR_ORDER even -> (FIR_ORDER+1)+1 e.g. FIR_ORDER = 32, size = 34 words
|
||||
// odd -> (FIR_ORDER+1) e.g. FIR_ORDER = 31, size = 32 words
|
||||
// The reason being that we use the DMAC operation which will multiply
|
||||
// the coefficients in 32-bit chunks, we don't want an odd size coefficient
|
||||
// buffer and risk corrupting the delay line
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(coeff, "coefffilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("coefffilt");
|
||||
#endif
|
||||
int16_t coeff[FIR_ORDER+2];
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(revCoeff, "coefffilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("coefffilt");
|
||||
#endif
|
||||
int16_t revCoeff[FIR_ORDER+2];
|
||||
|
||||
// Start of main()
|
||||
int main(void)
|
||||
{
|
||||
// Locals
|
||||
int32_t xn = 0, yn = 0;
|
||||
float RadStep = 0.1963495408494f;
|
||||
float Rad = 0.0f;
|
||||
uint32_t i = 0;
|
||||
|
||||
#ifdef _FLASH
|
||||
FIXPT_DSP_initFlash();
|
||||
#endif //_FLASH
|
||||
FIXPT_DSP_initSystemClocks();
|
||||
FIXPT_DSP_initEpie();
|
||||
|
||||
// Load the coefficients in normal order. If
|
||||
// FIR_ORDER even -> number of taps are odd, after copying the coefficients
|
||||
// zero out the last element of coeffs
|
||||
// odd -> number of taps are even, simply copy the coefficients
|
||||
for(i = 0; i < FIR_ORDER + 2; i++){
|
||||
coeff[i] = FIR16_LPF32_TEST[i];
|
||||
}
|
||||
coeff[FIR_ORDER + 1] = 0;
|
||||
|
||||
// if the order of the coefficients is even, you will have
|
||||
// an odd number of taps; zero out the location right after the
|
||||
// last tap
|
||||
if((FIR_ORDER & 0x01) == 0){
|
||||
revCoeff[FIR_ORDER_REV-1] = 0;
|
||||
}
|
||||
// Reorder the coefficients
|
||||
// FIR_ORDER even -> (FIR_ORDER+1)+1 e.g. FIR_ORDER = 32, size = 34 words
|
||||
// odd -> (FIR_ORDER+1) e.g. FIR_ORDER = 31, size = 32 words
|
||||
for(i = 0; i < FIR_ORDER + 2; i = i + 2){
|
||||
revCoeff[FIR_ORDER_REV-i-1] = coeff[i/2+FIR_ORDER_REV/2];
|
||||
revCoeff[FIR_ORDER_REV-i-2] = coeff[i/2];
|
||||
}
|
||||
|
||||
for(i=0; i < SIGNAL_LENGTH; i++){
|
||||
sigIn[i] =0;
|
||||
sigOut[i] =0;
|
||||
}
|
||||
|
||||
// Initialize FIR16 object
|
||||
fir.order = FIR_ORDER;
|
||||
fir.dbuffer_ptr = &dbuffer[0];
|
||||
fir.coeff_ptr = (int32_t *)&revCoeff[0];
|
||||
fir.init(&fir);
|
||||
|
||||
// FIR calculation
|
||||
for(i = 0; i < SIGNAL_LENGTH; i++){
|
||||
xn=(int)(32768*(sin(Rad) + cos(Rad*2.3567))/2); //Q15
|
||||
// Impulse function
|
||||
//if(i == 0){
|
||||
// xn = (1 << 15);
|
||||
//}else{
|
||||
// xn = 0;
|
||||
//}
|
||||
sigIn[i] = xn;
|
||||
fir.input = sigIn[i] & 0xFFFF; // Q15 format
|
||||
fir.calc(&fir);
|
||||
yn = fir.output;
|
||||
sigOut[i] = yn;
|
||||
Rad = Rad + RadStep;
|
||||
}
|
||||
|
||||
|
||||
//asm(" ESTOP0");
|
||||
for(;;);
|
||||
|
||||
// code should never reach this pointer
|
||||
return 1;
|
||||
|
||||
} /* End: main() */
|
||||
|
||||
//###########################################################################
|
||||
// End of File
|
||||
//###########################################################################
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?ccsproject version="1.0"?>
|
||||
<projectOptions>
|
||||
<deviceFamily value="C2000"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse-cdt version="2.0"?>
|
||||
|
||||
<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
|
||||
<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<data>
|
||||
<item id="org.eclipse.cdt.core.pathentry">
|
||||
<pathentry kind="src" path=""/>
|
||||
<pathentry kind="out" path=""/>
|
||||
<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
|
||||
<pathentry kind="con" path="com.ti.ccstudio.managedbuild.core.CCS_CONTAINER"/>
|
||||
</item>
|
||||
</data>
|
||||
</cdtproject>
|
||||
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317" moduleId="org.eclipse.cdt.core.settings" name="RAM">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_FIR16" buildProperties="" description="RAM build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317" name="RAM" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.327083807" name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1676395359" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.139208857">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1512894819" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1439939768" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.1228428871" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1543415991" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.1014186289" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.1276024401" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.409452695" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.150373748" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.577633857" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.388627654" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.568035091" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1374230148" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM.516393193" name="Keep the generated assembly language (.asm) file (--keep_asm, -k)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM" value="false" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST.920490890" name="Source interlist" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.142044454" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="RAM"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.1972770834" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.1936690688" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.1305145091" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1979537973" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.139208857" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1298858410" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.777182326" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_FIR16.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.965462428" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_FIR16.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.971167039" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.715544849" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.589053542" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1008002930" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_FIR16_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.526148779" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="RAM" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.1225799143" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.247167082" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.612960073" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.1542595367">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.1542595367" moduleId="org.eclipse.cdt.core.settings" name="_FLASH">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_FIR16" buildProperties="" description="_FLASH build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.1542595367" name="_FLASH" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.1542595367." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.400003758" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.139208857">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.594858505" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1514397818" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.6345031" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1582739728" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.440150278" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.916127938" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.970396644" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.629543107" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.1677543450" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.310038950" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.918483283" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1096627796" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM.979119448" name="Keep the generated assembly language (.asm) file (--keep_asm, -k)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM" value="false" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST.1059463245" name="Source interlist" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.291095194" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FLASH"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.1905147359" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.332757779" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.1393907316" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1176943915" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.195165758" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.920901405" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.1403067804" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_FIR16.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.699824088" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_FIR16.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.1266936054" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.1481447937" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.209900788" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1685652975" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_FIR16_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.1437022938" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="_FLASH" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.512613629" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.1692321016" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.64965311" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="2833x_FixedPoint_FIR16.com.ti.ccstudio.buildDefinitions.C2000.ProjectType.2025933334" name="C2000" projectType="com.ti.ccstudio.buildDefinitions.C2000.ProjectType"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
|
||||
<project-mappings>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
</project-mappings>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration"/>
|
||||
</cproject>
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>2833x_FixedPoint_FIR16</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>com.ti.ccstudio.core.ccsNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>DSP2833x_ADC_cal.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_ADC_cal.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Adc.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_Adc.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CodeStartBranch.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CodeStartBranch.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CpuTimers.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CpuTimers.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DBGIER.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DBGIER.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DefaultIsr.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DefaultIsr.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_GlobalVariableDefs.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/source/DSP2833x_GlobalVariableDefs.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Headers_nonBIOS.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/cmd/DSP2833x_Headers_nonBIOS.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieVect.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieVect.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_SysCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_SysCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_usDelay.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_usDelay.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>F28335_FIXPT_FIR_lnk.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/cmd/F28335_FIXPT_FIR_lnk.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>examples_setup.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/examples/common/examples_setup.c</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>INSTALLROOT_2833X</name>
|
||||
<value>$%7BPARENT-6-PROJECT_LOC%7D/device_support/f2833x</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>INSTALLROOT_TO_FIXEDPTLIB</name>
|
||||
<value>$%7BPARENT-2-PROJECT_LOC%7D</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
||||
BIN
Binary file not shown.
+5
@@ -0,0 +1,5 @@
|
||||
//Add watch window variables
|
||||
expRemoveAll()
|
||||
expAdd("fir", getNatural())
|
||||
|
||||
openAnalysisView('Dual Time','C:/Users/a0272561/Repositories/cs30_controlsuite/libs/dsp/FixedPointLib/version/examples/2833x_FixedPoint_FIR16/FIR16_IN_OUT.graphProp')
|
||||
+121
@@ -0,0 +1,121 @@
|
||||
% // TI File $Revision: /main/3 $
|
||||
% // Checkin $Date: November 1, 2010 13:05:07 $
|
||||
% // =====================================================================================
|
||||
% // This software is licensed for use with Texas Instruments C28x
|
||||
% // family DSCs. This license was provided to you prior to installing
|
||||
% // the software. You may review this license by consulting a copy of
|
||||
% // the agreement in the doc directory of this library.
|
||||
% //======================================================================================
|
||||
% //
|
||||
% // FILE: FixedPointFIR16.m
|
||||
% //
|
||||
% // TITLE: DSP2833x Device Fixed Point FIR16 Test Program.
|
||||
% //
|
||||
% //
|
||||
% // ASSUMPTIONS:
|
||||
% //
|
||||
% // This matlab code is reference code for debugging FixedPoint DSP library
|
||||
% // 16 bit FIR module and example project 2833x_FixedPoint_FIR16.
|
||||
% //
|
||||
% //
|
||||
% //
|
||||
% // Watch Variables:
|
||||
% //
|
||||
% // x_raw_sig Input signal (float)
|
||||
% // fir_lpfxx_Q15 FIR filter coefficients (Q15)
|
||||
% // x_Q15 Input signal in Q15 format
|
||||
% // output Filtered signal (Q15)
|
||||
% //
|
||||
% //######################################################################################
|
||||
% //
|
||||
% //
|
||||
% //
|
||||
%// C2000Ware v5.04.00.00
|
||||
%//Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
%//
|
||||
%// Redistribution and use in source and binary forms, with or without
|
||||
%// modification, are permitted provided that the following conditions
|
||||
%// are met:
|
||||
%//
|
||||
%// Redistributions of source code must retain the above copyright
|
||||
%// notice, this list of conditions and the following disclaimer.
|
||||
%//
|
||||
%// Redistributions in binary form must reproduce the above copyright
|
||||
%// notice, this list of conditions and the following disclaimer in the
|
||||
%// documentation and/or other materials provided with the
|
||||
%// distribution.
|
||||
%//
|
||||
%// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
%// its contributors may be used to endorse or promote products derived
|
||||
%// from this software without specific prior written permission.
|
||||
%//
|
||||
%// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
%// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
%// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
%// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
%// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
%// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
%// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
%// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
%// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
%// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
%// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
%//$
|
||||
% //######################################################################################
|
||||
|
||||
clear all
|
||||
close all
|
||||
|
||||
disp('==============================================================');
|
||||
disp('==============================================================');
|
||||
disp('this is Matlab version of C28x Fixed Point FIR16 code');
|
||||
disp('The result is stored in array output Q15');
|
||||
disp('The signal is stored in array x_raw_sig (float)');
|
||||
disp('The signal in Q15 format is stored in array x_Q15');
|
||||
disp('==============================================================');
|
||||
|
||||
RadStep = 0.1963495408494;
|
||||
|
||||
N=input('Please enter signal length N =');
|
||||
halfSize=N-1;
|
||||
|
||||
Rad=[0:RadStep:(halfSize)*RadStep];
|
||||
|
||||
Rx=sin(Rad)+cos(Rad*2.3567);
|
||||
Ix=0*(cos(Rad*8.345) + sin(Rad*5.789));
|
||||
|
||||
x=Rx+j*Ix;
|
||||
x_raw_sig=x/2;
|
||||
|
||||
x_Q15=2^15*x/2;
|
||||
|
||||
fir_lpf6_Q15=[-3368,347,17612,17612,347,-3368];
|
||||
|
||||
fir_lpf7_Q15=[-891, -4096, 9083, 21178, 9083, -4096, -891];
|
||||
|
||||
fir_lpf32_Q15=[-31, -61, 92, 122, -186, -248, 348, 449, -607, -778, 1043, 1370, -1909, -2789, 4835, 14710, 14710, 4835, -2789, -1909, 1370, 1043, -778, -607, 449, 348, -248, -186, 122, 92, -61, -31];
|
||||
|
||||
%result=conv(fir_lpf6_Q15,x_Q15)*2^7/2^6/2^16;
|
||||
%result=conv(fir_lpf7_Q15,x_Q15)*2^7/2^6/2^16;
|
||||
result=conv(fir_lpf32_Q15,x_Q15)*2^7/2^6/2^16;
|
||||
|
||||
output=floor(result(1:N));
|
||||
|
||||
plot(output)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
; TI File $Revision: /main/3 $
|
||||
; Checkin $Date: November 1, 2010 13:05:11 $
|
||||
; ========================================================================
|
||||
; This software is licensed for use with Texas Instruments C28x
|
||||
; family DSCs. This license was provided to you prior to installing
|
||||
; the software. You may review this license by consulting a copy of
|
||||
; the agreement in the doc directory of this library.
|
||||
; ------------------------------------------------------------------------
|
||||
; Copyright (C) 2010-2011 Texas Instruments, Incorporated.
|
||||
; All Rights Reserved.
|
||||
; ========================================================================
|
||||
;
|
||||
;
|
||||
; Module definition for external referance
|
||||
; ###########################################################################
|
||||
;
|
||||
;
|
||||
; ###########################################################################
|
||||
|
||||
a) Open Matlab command window, click “fdatool”, the FDATool GUI will pop out.
|
||||
Select the parameters, filter type and other options which you prefer, click
|
||||
Design Filter. The design process is finished.
|
||||
b) Go to Targets-> Generate C header;
|
||||
c) After b), the Generate C header dialogue box pops out and in ‘Data type to use
|
||||
in export’, check ‘Export as’ Signed 16-bit or 32-bit integer (depends on 16 bit
|
||||
FIR or 32 bit FIR). Click ‘Generate’;
|
||||
d) Save the header file. The coefficient can directly port to ‘fft.h’.
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 101 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 98 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 128 KiB |
+219
@@ -0,0 +1,219 @@
|
||||
//#############################################################################
|
||||
//! \file $FOLDER_EXAMPLES$/$DEVICE$_FixedPoint_FIR16/fir16d.c
|
||||
//!
|
||||
//! \brief 16-bit FIR Filter Example
|
||||
//!
|
||||
//! \date Aug 12, 2014
|
||||
//!
|
||||
//! This examples shows how to implement a 16-bit FIR filter using the optimized
|
||||
//! FIR library routines. This version of the FIR filter has a limitation of 256
|
||||
//! taps (filter order max 255). If a higher order filter is required, refer to the
|
||||
//! FIR16_Alt example.
|
||||
//!
|
||||
//! typedef struct {
|
||||
//! int32_t *coeff_ptr;
|
||||
//! int32_t * dbuffer_ptr;
|
||||
//! int cbindex;
|
||||
//! int order;
|
||||
//! int input;
|
||||
//! int output;
|
||||
//! void (*init)(void *);
|
||||
//! void (*calc)(void *);
|
||||
//! }FIR16;
|
||||
//!
|
||||
//! Users can also use default templates defined within fir.h to initialize
|
||||
//! the FIR16 header structure.
|
||||
//!
|
||||
//! FIR16 fir= FIR16_DEFAULTS;
|
||||
//!
|
||||
//! The MATLAB Filter Design and Analysis Tool (FDATool) is a useful tool
|
||||
//! for designing filters and generating fixed point coefficients. Refer
|
||||
//! to the appendix of the Fixed Point DSP Libray User's Guide for more
|
||||
//! information.
|
||||
//!
|
||||
//! \b Watch \b Variables
|
||||
//! - fir FIR16 object
|
||||
//!
|
||||
//! In CCS, you can invoke the "SetupDebugEnv.js" script from the
|
||||
//! Scripting console to have these variables set up in the Watch window
|
||||
//! and create graphs to show the input/output vectors
|
||||
//
|
||||
// Group: C2000
|
||||
// Target Family: C28x
|
||||
//
|
||||
//#############################################################################
|
||||
//
|
||||
//
|
||||
// $Copyright: Copyright (C) 2014-2024 Texas Instruments Incorporated -
|
||||
// http://www.ti.com/ ALL RIGHTS RESERVED $
|
||||
//#############################################################################
|
||||
|
||||
//*****************************************************************************
|
||||
// includes
|
||||
//*****************************************************************************
|
||||
#include "examples_setup.h"
|
||||
#include <filter.h>
|
||||
|
||||
//*****************************************************************************
|
||||
// defines
|
||||
//*****************************************************************************
|
||||
// Filter Symbolic Constants
|
||||
#define FIR_ORDER 32
|
||||
#define SIGNAL_LENGTH 128
|
||||
|
||||
#if(FIR_ORDER & 0x01) // odd
|
||||
#define FIR_ORDER_REV (FIR_ORDER + 1) // even
|
||||
#else
|
||||
#define FIR_ORDER_REV (FIR_ORDER + 2) // even
|
||||
#endif
|
||||
//*****************************************************************************
|
||||
// globals
|
||||
//*****************************************************************************
|
||||
// Create an Instance of FIR16 module and place the object in "firfilt" section
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(fir, "firfilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("firfilt");
|
||||
#endif
|
||||
FIR16 fir= FIR16_DEFAULTS;
|
||||
|
||||
// Define the Delay buffer for the "FIR_ORDER"th order filter
|
||||
// and place it in "firldb" section. Since we define it as int32_t,
|
||||
// The size of the buffer is:
|
||||
// FIR_ORDER even -> (FIR_ORDER+1)/2+1 e.g. FIR_ORDER = 32, size = 17 dwords
|
||||
// odd -> (FIR_ORDER+1)/2 e.g. FIR_ORDER = 31, size = 16 dwords
|
||||
// The delay line buffer must be aligned to a 256 word boundary
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(dbuffer,"firldb");
|
||||
#else
|
||||
#pragma DATA_SECTION("firfilt");
|
||||
#endif
|
||||
int32_t dbuffer[(FIR_ORDER+3)/2];
|
||||
|
||||
// Input/output buffer
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigIn, "sigIn");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigIn");
|
||||
#endif
|
||||
int16_t sigIn[SIGNAL_LENGTH];
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigOut, "sigOut");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigOut");
|
||||
#endif
|
||||
int16_t sigOut[SIGNAL_LENGTH];
|
||||
|
||||
// Define Constant Coefficient Array and place it in the "coefffilt"
|
||||
// section. You can either reorder the coefficients at run time (done
|
||||
// in this example) or just store them reordered.
|
||||
// Index LSW MSW
|
||||
// +---------+---------+
|
||||
// 0 | h(L-1) | h(L/2-1)|
|
||||
// 2 | h(L-2) | h(L/2-2)|
|
||||
// 4 | h(L-3) | h(L/2-3)|
|
||||
// 6 | h(L-4) | h(L/2-4)|
|
||||
// ... | ... | ... |
|
||||
// L/2-3 | h(L/2+2)| h(2) |
|
||||
// L/2-2 | h(L/2+1)| h(1) |
|
||||
// L/2-1 | h(L/2) | h(0) |
|
||||
// +---------+---------+
|
||||
// The size of the array is:
|
||||
// FIR_ORDER even -> (FIR_ORDER+1)+1 e.g. FIR_ORDER = 32, size = 34 words
|
||||
// odd -> (FIR_ORDER+1) e.g. FIR_ORDER = 31, size = 32 words
|
||||
// The reason being that we use the DMAC operation which will multiply
|
||||
// the coefficients in 32-bit chunks, we don't want an odd size coefficient
|
||||
// buffer and risk corrupting the delay line
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(coeff, "coefffilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("coefffilt");
|
||||
#endif
|
||||
int16_t coeff[FIR_ORDER+2];
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(revCoeff, "coefffilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("coefffilt");
|
||||
#endif
|
||||
int16_t revCoeff[FIR_ORDER+2];
|
||||
|
||||
// Start of main()
|
||||
int main(void)
|
||||
{
|
||||
// Locals
|
||||
int32_t xn = 0, yn = 0;
|
||||
float RadStep = 0.1963495408494f;
|
||||
float Rad = 0.0f;
|
||||
uint32_t i = 0;
|
||||
|
||||
#ifdef _FLASH
|
||||
FIXPT_DSP_initFlash();
|
||||
#endif //_FLASH
|
||||
FIXPT_DSP_initSystemClocks();
|
||||
FIXPT_DSP_initEpie();
|
||||
|
||||
// Load the coefficients in normal order. If
|
||||
// FIR_ORDER even -> number of taps are odd, after copying the coefficients
|
||||
// zero out the last element of coeffs
|
||||
// odd -> number of taps are even, simply copy the coefficients
|
||||
for(i = 0; i < FIR_ORDER + 2; i++){
|
||||
coeff[i] = FIR16_LPF32_TEST[i];
|
||||
}
|
||||
coeff[FIR_ORDER + 1] = 0;
|
||||
|
||||
// if the order of the coefficients is even, you will have
|
||||
// an odd number of taps; zero out the location right after the
|
||||
// last tap
|
||||
if((FIR_ORDER & 0x01) == 0){
|
||||
revCoeff[FIR_ORDER_REV-1] = 0;
|
||||
}
|
||||
// Reorder the coefficients
|
||||
// FIR_ORDER even -> (FIR_ORDER+1)+1 e.g. FIR_ORDER = 32, size = 34 words
|
||||
// odd -> (FIR_ORDER+1) e.g. FIR_ORDER = 31, size = 32 words
|
||||
for(i = 0; i < FIR_ORDER + 2; i = i + 2){
|
||||
revCoeff[FIR_ORDER_REV-i-1] = coeff[i/2+FIR_ORDER_REV/2];
|
||||
revCoeff[FIR_ORDER_REV-i-2] = coeff[i/2];
|
||||
}
|
||||
|
||||
for(i=0; i < SIGNAL_LENGTH; i++){
|
||||
sigIn[i] =0;
|
||||
sigOut[i] =0;
|
||||
}
|
||||
|
||||
// Initialize FIR16 object
|
||||
fir.order = FIR_ORDER;
|
||||
fir.dbuffer_ptr = &dbuffer[0];
|
||||
fir.coeff_ptr = (int32_t *)&revCoeff[0];
|
||||
fir.init(&fir);
|
||||
|
||||
// FIR calculation
|
||||
for(i = 0; i < SIGNAL_LENGTH; i++){
|
||||
xn=(int)(32768*(sin(Rad) + cos(Rad*2.3567))/2); //Q15
|
||||
// Impulse function
|
||||
//if(i == 0){
|
||||
// xn = (1 << 15);
|
||||
//}else{
|
||||
// xn = 0;
|
||||
//}
|
||||
sigIn[i] = xn;
|
||||
fir.input = sigIn[i]; // Q15 format
|
||||
fir.calc(&fir);
|
||||
yn = fir.output;
|
||||
sigOut[i] = yn;
|
||||
Rad = Rad + RadStep;
|
||||
}
|
||||
|
||||
|
||||
//asm(" ESTOP0");
|
||||
for(;;);
|
||||
|
||||
// code should never reach this pointer
|
||||
return 1;
|
||||
|
||||
} /* End: main() */
|
||||
|
||||
//###########################################################################
|
||||
// End of File
|
||||
//###########################################################################
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?ccsproject version="1.0"?>
|
||||
<projectOptions>
|
||||
<deviceFamily value="C2000"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse-cdt version="2.0"?>
|
||||
|
||||
<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
|
||||
<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<data>
|
||||
<item id="org.eclipse.cdt.core.pathentry">
|
||||
<pathentry kind="src" path=""/>
|
||||
<pathentry kind="out" path=""/>
|
||||
<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
|
||||
<pathentry kind="con" path="com.ti.ccstudio.managedbuild.core.CCS_CONTAINER"/>
|
||||
</item>
|
||||
</data>
|
||||
</cdtproject>
|
||||
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317" moduleId="org.eclipse.cdt.core.settings" name="RAM">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_FIR16_Alt_Alt" buildProperties="" description="RAM build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317" name="RAM" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.327083807" name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1676395359" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.139208857">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1512894819" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1439939768" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.1228428871" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1543415991" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.1014186289" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.1276024401" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.409452695" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.150373748" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.577633857" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.388627654" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.568035091" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1374230148" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM.516393193" name="Keep the generated assembly language (.asm) file (--keep_asm, -k)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM" value="false" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST.920490890" name="Source interlist" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.1923372586" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="RAM"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.1972770834" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.1936690688" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.1305145091" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1979537973" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.139208857" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1298858410" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.777182326" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_FIR16_Alt_Alt.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.965462428" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_FIR16_Alt_Alt.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.971167039" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.715544849" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.589053542" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1008002930" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_FIR16_Alt_Alt_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.2056863871" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="RAM" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.1225799143" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.247167082" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.612960073" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.1429826370">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.1429826370" moduleId="org.eclipse.cdt.core.settings" name="_FLASH">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_FIR16_Alt_Alt" buildProperties="" description="_FLASH build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.1429826370" name="_FLASH" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.1429826370." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.963888321" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.139208857">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.237400829" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.213836648" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.220673265" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1745940650" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.1091131677" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.2066414434" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.987318690" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.2090007226" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.111776337" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.698523697" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.872928283" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1603970298" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM.344361919" name="Keep the generated assembly language (.asm) file (--keep_asm, -k)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM" value="false" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST.464792271" name="Source interlist" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.1322362964" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FLASH"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.1502098425" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.2144387115" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.62864520" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.2053809851" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1638870442" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1368743221" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.602126066" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_FIR16_Alt_Alt.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.1006589585" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_FIR16_Alt_Alt.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.1713737180" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.324521421" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.2039695820" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.320864537" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_FIR16_Alt_Alt_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.101872767" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="_FLASH" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.678103067" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.183198230" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.671308478" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="2833x_FixedPoint_FIR16_Alt_Alt.com.ti.ccstudio.buildDefinitions.C2000.ProjectType.2025933334" name="C2000" projectType="com.ti.ccstudio.buildDefinitions.C2000.ProjectType"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
|
||||
<project-mappings>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
</project-mappings>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration"/>
|
||||
</cproject>
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>2833x_FixedPoint_FIR16_Alt</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>com.ti.ccstudio.core.ccsNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>DSP2833x_ADC_cal.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_ADC_cal.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Adc.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_Adc.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CodeStartBranch.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CodeStartBranch.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CpuTimers.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CpuTimers.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DBGIER.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DBGIER.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DefaultIsr.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DefaultIsr.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_GlobalVariableDefs.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/source/DSP2833x_GlobalVariableDefs.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Headers_nonBIOS.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/cmd/DSP2833x_Headers_nonBIOS.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieVect.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieVect.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_SysCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_SysCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_usDelay.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_usDelay.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>F28335_FIXPT_FIR_lnk.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/cmd/F28335_FIXPT_FIR_lnk.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>examples_setup.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/examples/common/examples_setup.c</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>INSTALLROOT_2833X</name>
|
||||
<value>$%7BPARENT-6-PROJECT_LOC%7D/device_support/f2833x</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>INSTALLROOT_TO_FIXEDPTLIB</name>
|
||||
<value>$%7BPARENT-2-PROJECT_LOC%7D</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
||||
BIN
Binary file not shown.
+5
@@ -0,0 +1,5 @@
|
||||
//Add watch window variables
|
||||
expRemoveAll()
|
||||
expAdd("fir", getNatural())
|
||||
|
||||
openAnalysisView('Dual Time','C:/Users/a0272561/Repositories/cs30_controlsuite/libs/dsp/FixedPointLib/version/examples/2833x_FixedPoint_FIR16_Alt/FIR16_ALT_IN_OUT.graphProp')
|
||||
+188
@@ -0,0 +1,188 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Fixed Point Finite Impulse Response Filter
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%//! \brief 16/32-bit FIR filter
|
||||
%//!
|
||||
%//! \author Vishal Coelho
|
||||
%//!
|
||||
%//! \details 16/32 bit fixed point filter that replicates
|
||||
%//! the operation of the FIR16(32) filter in the fixed point
|
||||
%//! library. Will be used to test the output of the asm filter
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Basics of fimath
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Table taken from MATLAB R2013b help doc
|
||||
%+-------------------------------------------------------------------------------------------+
|
||||
%| |A |B |Sum = A+B |Prod = A*B |
|
||||
%+-------------------------------------------------------------------------------------------+
|
||||
%|Format |fi(vA,s1,w1,f1)|fi(vB,s2,w2,f2)|- |- |
|
||||
%|Sign |s1 |s2 |s1||s2 |s1||s2 |
|
||||
%|Integer bits |I1 = w1-f1-s1 |I2= w2-f2-s2 |max(I1 , I2) + 1 |(w1+w2)-(f1+f2) |
|
||||
%|Fraction bits|f1 |f2 |max(f1 , f 2) + 1 |f1 + f2 |
|
||||
%|Total bits |w1 |w2 |1+max(I1,I2)+1+max(f1,f2)+1 |w1 + w2 |
|
||||
%+-------------------------------------------------------------------------------------------+
|
||||
clc
|
||||
clear all
|
||||
close all
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% User Inputs
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
W = input('Do you want \n 1. 16-bit\n 2. 32-bit FIR\n operation? :');
|
||||
S = 1; % signed
|
||||
if(W == 1)
|
||||
W = 16; Q = 15;
|
||||
elseif(W == 2)
|
||||
W = 32; Q = 31;
|
||||
else
|
||||
disp('Value out of range, default to 1\n');
|
||||
W = 16; Q = 15;
|
||||
end
|
||||
sizeOfInput = input('Size of input? ');
|
||||
while(sizeOfInput <= 0 || sizeOfInput > 65536)
|
||||
disp('Invalid: ');
|
||||
sizeOfInput = input('Size of input? ');
|
||||
end
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Specify the Fixed Point Math Object
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
FIPREF_STATE = get(fipref);
|
||||
reset(fipref)
|
||||
% Specify the preferences for the fi objects
|
||||
P = fipref(...
|
||||
'NumberDisplay', 'RealWorldValue', ...
|
||||
'NumericTypeDisplay', 'full', ...
|
||||
'FimathDisplay', 'full'... %MATLAB displays custom and default fi objects info
|
||||
);
|
||||
% Specifying fimath object allows you to control bit growth from successive
|
||||
% operations and tells MATLAB how arithmetic operations should be handled
|
||||
F = fimath(...
|
||||
'SumMode', 'SpecifyPrecision',...
|
||||
'SumWordLength', W,...
|
||||
'SumFractionLength', Q,...
|
||||
'ProductMode', 'SpecifyPrecision',...
|
||||
'ProductWordLength', W, ...
|
||||
'ProductFractionLength', Q, ...
|
||||
'RoundingMethod', 'Convergent' ... %round to closest (to even on ties)
|
||||
);
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% filter coefficients
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
samplingFreq = 200e3;
|
||||
attenStop = 60;
|
||||
attenPass = 1;
|
||||
freqPass = 20e3;
|
||||
freqStop = 30e3;
|
||||
|
||||
LowPassSpecObj = fdesign.lowpass('Fp,Fst,Ap,Ast', freqPass, freqStop,...
|
||||
attenPass, attenStop, samplingFreq);
|
||||
|
||||
% Display all available methods
|
||||
filterMenu = designmethods(LowPassSpecObj);
|
||||
disp(filterMenu);
|
||||
menuChoice = input('Choose a method(Enter a number):');
|
||||
while(menuChoice < 1 || menuChoice > length(filterMenu))
|
||||
disp(['Invalid choice, choose between 1 and ',num2str(length(filterMenu))]);
|
||||
menuChoice = input('Choose a method(Enter a number):');
|
||||
end
|
||||
|
||||
% what are the design options for the chosen method
|
||||
LowPassDesignOpts = designopts(LowPassSpecObj, char(filterMenu(menuChoice)))
|
||||
|
||||
% Design the filter using the user specified method and min order
|
||||
LowPassFilt = design(LowPassSpecObj, char(filterMenu(menuChoice)))
|
||||
|
||||
% Display the filter
|
||||
% fvtool(LowPassFilt);
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Build the MEX function
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Filter parameters
|
||||
N = length(LowPassFilt.Numerator);
|
||||
x = fi(zeros(sizeOfInput,1),S,W,Q,'fimath',F);
|
||||
c = fi(LowPassFilt.Numerator,S,W,Q, 'fimath', F);
|
||||
C = coder.Constant(c);
|
||||
|
||||
% For the 32-bit FIR we want the input to be Q31 but the output to be
|
||||
% Q30, so for each product there will be a scaling of 0.5
|
||||
if W == 32
|
||||
yisd = fi(zeros(sizeOfInput,1),S,W,Q-1,'DataType','Fixed','fimath',F);
|
||||
else
|
||||
yisd = fi(zeros(sizeOfInput,1),S,W,Q,'DataType','Fixed','fimath',F);
|
||||
end
|
||||
|
||||
buildInstrumentedMex fir_m ...
|
||||
-o fir_fixed ...
|
||||
-args {x, C, yisd}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Test Bench 1
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
t = linspace(0,1,sizeOfInput); % Time vector from 0 to 1 second
|
||||
n = 0 : sizeOfInput-1;
|
||||
f1 = 20e3; f2 = 40e3; f3 = 45e3; % Frequencies of the inputs
|
||||
fs = samplingFreq; % Add two sine waves together
|
||||
k1 = f1/fs; k2 = f2/fs; k3 = f3/fs;
|
||||
xmulti = 0.5*(sin(2*pi*k1.*n)+sin(2*pi*k2.*n)+sin(2*pi*k3.*n));
|
||||
x(:) = xmulti; % Cast the input to fixed-point
|
||||
|
||||
% Running the MEX function
|
||||
ymulti = fir_fixed(x,yisd);
|
||||
|
||||
% Plot the output
|
||||
clf
|
||||
plot(t,x,'c',t,ymulti,'bo-')
|
||||
title('Filter')
|
||||
legend('Input','Fixed Point Output')
|
||||
figure(gcf); drawnow;
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Write the input/output/coeffs vectors to file
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
X = reshape(x, sizeOfInput/8, 8);
|
||||
if W == 16
|
||||
S_X = sprintf(['%10d, %10d, %10d, %10d, %10d, %10d,',...
|
||||
'%10d, %10d, \n'], (X.int));
|
||||
else
|
||||
S_X = sprintf(['%14d, %14d, %14d, %14d, %14d, %14d,',...
|
||||
'%14d, %14d, \n'], (X.int));
|
||||
end
|
||||
fid = fopen('data_input.txt', 'w');
|
||||
fprintf(fid, ['// f1 =',num2str(f1),', f2 = ',num2str(f2),...
|
||||
', f3 = ',num2str(f3),' fs = ',num2str(samplingFreq),'\n']);
|
||||
fprintf(fid, S_X);
|
||||
fclose(fid);
|
||||
|
||||
Y = reshape(ymulti, sizeOfInput/8, 8);
|
||||
if W == 16
|
||||
S_Y = sprintf(['%10d, %10d, %10d, %10d, %10d, %10d,',...
|
||||
'%10d, %10d, \n'], (Y.int));
|
||||
else
|
||||
S_Y = sprintf(['%14d, %14d, %14d, %14d, %14d, %14d,',...
|
||||
'%14d, %14d, \n'], (Y.int));
|
||||
end
|
||||
fid = fopen('data_output.txt', 'w');
|
||||
fprintf(fid, S_Y);
|
||||
fclose(fid);
|
||||
|
||||
C = c(end:-1:1);
|
||||
if W == 16
|
||||
S_C = sprintf(['%10d, %10d, %10d, %10d, %10d, %10d,',...
|
||||
'%10d, %10d, \n'], (C.int));
|
||||
else
|
||||
S_C = sprintf(['%14d, %14d, %14d, %14d, %14d, %14d,',...
|
||||
'%14d, %14d, \n'], (C.int));
|
||||
end
|
||||
fid = fopen('coeffs.txt', 'w');
|
||||
fprintf(fid, [...
|
||||
'// Fs = ',num2str(samplingFreq ),'\n',...
|
||||
'// Fst = ',num2str(attenStop ),'\n',...
|
||||
'// Fp = ',num2str(attenPass ),'\n',...
|
||||
'// Ap = ',num2str(freqPass ),'\n',...
|
||||
'// Ast = ',num2str(freqStop ),'\n']);
|
||||
fprintf(fid, S_C);
|
||||
fclose(fid);
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% The filter funtion
|
||||
% \param x , the input vector
|
||||
% \param c , the coefficients
|
||||
% \param y, the filtered output (specified here so that the mex generation
|
||||
% will create a reference to y, allowing us to set its data type
|
||||
% outside the function)
|
||||
% \return y, the filtered output
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
function y = fir_m(x, c, y)
|
||||
N = length(x); L = length(c); k = 1;
|
||||
for i = 1 : N
|
||||
for j = 1 : min(i, L)
|
||||
y(i) = y(i) + x(i - j + 1) * c(j);
|
||||
end
|
||||
end
|
||||
end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
a) Run the script "C28xFixedPointLib_FIR.m" in MATLAB
|
||||
b) It will ask you to choose between 16 and 32-bit operation, choose the first
|
||||
option
|
||||
c) It will then request the size of the input - this is used during the test phase
|
||||
when it will generate a test signal of this size
|
||||
d) Find and alter these values per your needs
|
||||
samplingFreq
|
||||
attenStop
|
||||
attenPass
|
||||
freqPass
|
||||
freqStop
|
||||
e) The script will list out the different design methods available and ask for a
|
||||
choice. It then proceeds to generate a low pass filter that matches these
|
||||
constraints using the fdesign.lowpass(). The user may choose to implement a
|
||||
different filter: bandpass, bandstop or highpass using the fdesign class with
|
||||
the appropriate arguments (please see the help menu in MATLAB for more details
|
||||
on what parameters are required for the different class objects)\
|
||||
f) It will then create a mex function that takes the input, applies the filter
|
||||
and generates the output. It proceeds to write these arrays, in the chosen fixed
|
||||
point format, to data_input.txt, coeffs.txt and data_output.txt respectively.
|
||||
g) You may use the coeffs.txt file in your code as follows
|
||||
const int16_t coeffs[SIZE] = {
|
||||
#include "coeffs.txt"
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// Fs = 200000
|
||||
// Fst = 60
|
||||
// Fp = 1
|
||||
// Ap = 20000
|
||||
// Ast = 30000
|
||||
46, 76, 83, 22, -122, -318, -481, -500,
|
||||
-304, 78, 497, 724, 563, -19, -822, -1438,
|
||||
-1401, -405, 1518, 3948, 6190, 7534, 7534, 6190,
|
||||
3948, 1518, -405, -1401, -1438, -822, -19, 563,
|
||||
724, 497, 78, -304, -500, -481, -318, -122,
|
||||
22, 83, 76, 46,
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// f1 =20000, f2 = 40000, f3 = 45000 fs = 200000
|
||||
0, 32767, 30275, -8646, -15582, 11585, 19207, -13390,
|
||||
-32768, -22649, 16384, 27775, 9630, -1486, 7303, 11585,
|
||||
-3678, -20550, -20149, -9030, 0, 9030, 20149, 20550,
|
||||
3678, -11585, -7303, 1486, -9630, -27775, -16384, 22649,
|
||||
32767, 13390, -19207, -11585, 15582, 8646, -30275, -32768,
|
||||
0, 32767, 30275, -8646, -15582, 11585, 19207, -13390,
|
||||
-32768, -22649, 16384, 27775, 9630, -1486, 7303, 11585,
|
||||
-3678, -20550, -20149, -9030, 0, 9030, 20149, 20550,
|
||||
3678, -11585, -7303, 1486, -9630, -27775, -16384, 22649,
|
||||
32767, 13390, -19207, -11585, 15582, 8646, -30275, -32768,
|
||||
0, 32767, 30275, -8646, -15582, 11585, 19207, -13390,
|
||||
-32768, -22649, 16384, 27775, 9630, -1486, 7303, 11585,
|
||||
-3678, -20550, -20149, -9030, 0, 9030, 20149, 20550,
|
||||
3678, -11585, -7303, 1486, -9630, -27775, -16384, 22649,
|
||||
32767, 13390, -19207, -11585, 15582, 8646, -30275, -32768,
|
||||
0, 32767, 30275, -8646, -15582, 11585, 19207, -13390,
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
0, 46, 119, 141, 57, -144, -422, -698,
|
||||
-822, -660, -148, 579, 1205, 1364, 818, -382,
|
||||
-1802, -2701, -2260, 26, 4036, 8886, 13112, 15117,
|
||||
13752, 8887, 1655, -5819, -11096, -12300, -8869, -1851,
|
||||
6290, 12549, 14472, 11160, 3691, -5268, -12424, -15046,
|
||||
-12073, -4549, 4714, 12214, 15103, 12280, 4846, -4389,
|
||||
-11982, -15132, -12697, -5711, 3056, 10233, 13118, 10714,
|
||||
4017, -4356, -11147, -13726, -11081, -4226, 4226, 11081,
|
||||
13726, 11147, 4356, -4017, -10714, -13118, -10233, -3056,
|
||||
5711, 12697, 15132, 11982, 4389, -4846, -12280, -15103,
|
||||
-12214, -4668, 4668, 12214, 15103, 12280, 4846, -4389,
|
||||
-11982, -15132, -12697, -5711, 3056, 10233, 13118, 10714,
|
||||
4017, -4356, -11147, -13726, -11081, -4226, 4226, 11081,
|
||||
13726, 11147, 4356, -4017, -10714, -13118, -10233, -3056,
|
||||
5711, 12697, 15132, 11982, 4389, -4846, -12280, -15103,
|
||||
-12214, -4668, 4668, 12214, 15103, 12280, 4846, -4389,
|
||||
+220
@@ -0,0 +1,220 @@
|
||||
//#############################################################################
|
||||
//! \file $FOLDER_EXAMPLES$/$DEVICE$_FixedPoint_FIR16_Alt/fir16d_alt.c
|
||||
//!
|
||||
//! \brief Alternate 16-bit FIR Filter Example
|
||||
//!
|
||||
//! \date Aug 12, 2014
|
||||
//!
|
||||
//! This example shows an alternate 16-bit FIR implementation. The alternate
|
||||
//! version can have up to 2^16 or 65536 filter taps.
|
||||
//! The header structure of 16 bit filter is shown as follows:
|
||||
//!
|
||||
//! typedef struct {
|
||||
//! int32_t *coeff_ptr;
|
||||
//! int32_t * dbuffer_ptr;
|
||||
//! int cbindex;
|
||||
//! int order;
|
||||
//! int input;
|
||||
//! int output;
|
||||
//! void (*init)(void *);
|
||||
//! void (*calc)(void *);
|
||||
//! }FIR16;
|
||||
//!
|
||||
//! Users can also use default templates defined within fir.h to initialize
|
||||
//! the FIR16 header structure.
|
||||
//!
|
||||
//! FIR16 fir= FIR16_ALT_DEFAULTS;
|
||||
//!
|
||||
//! The MATLAB Filter Design and Analysis Tool (FDATool) is a useful tool
|
||||
//! for designing filters and generating fixed point coefficients. Refer
|
||||
//! to the appendix of the Fixed Point DSP Libray User's Guide for more
|
||||
//! information.
|
||||
//!
|
||||
//! \b Watch \b Variables
|
||||
//! - fir FIR16 object
|
||||
//!
|
||||
//! In CCS, you can invoke the "SetupDebugEnv.js" script from the
|
||||
//! Scripting console to have these variables set up in the Watch window
|
||||
//! and create graphs to show the input/output vectors
|
||||
//
|
||||
// Group: C2000
|
||||
// Target Family: C28x
|
||||
//
|
||||
//#############################################################################
|
||||
//
|
||||
//
|
||||
// $Copyright: Copyright (C) 2014-2024 Texas Instruments Incorporated -
|
||||
// http://www.ti.com/ ALL RIGHTS RESERVED $
|
||||
//#############################################################################
|
||||
|
||||
//*****************************************************************************
|
||||
// includes
|
||||
//*****************************************************************************
|
||||
#include "examples_setup.h"
|
||||
#include <filter.h>
|
||||
|
||||
//*****************************************************************************
|
||||
// defines
|
||||
//*****************************************************************************
|
||||
// Filter Symbolic Constants
|
||||
#define FIR_ORDER 43
|
||||
#define SIGNAL_LENGTH 128
|
||||
#define TOLERANCE (1L << 5) // 0.009765 in Q15
|
||||
|
||||
#if(FIR_ORDER & 0x01) // odd
|
||||
#define FIR_ORDER_REV (FIR_ORDER + 1) // even
|
||||
#else
|
||||
#define FIR_ORDER_REV (FIR_ORDER + 2) // even
|
||||
#endif
|
||||
|
||||
//*****************************************************************************
|
||||
// globals
|
||||
//*****************************************************************************
|
||||
// Create an Instance of FIR16 module and place the object in "firfilt" section
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(fir, "firfilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("firfilt");
|
||||
#endif
|
||||
FIR16 fir= FIR16_ALT_DEFAULTS;
|
||||
|
||||
// Define the Delay buffer for the "FIR_ORDER"th order filter
|
||||
// and place it in "firldb" section. Since we define it as int32_t,
|
||||
// The size of the buffer is:
|
||||
// FIR_ORDER even -> (FIR_ORDER+1)/2+1 e.g. FIR_ORDER = 32, size = 17 dwords
|
||||
// odd -> (FIR_ORDER+1)/2 e.g. FIR_ORDER = 31, size = 16 dwords
|
||||
// For the alternate FIR implementation, the delay line buffer need
|
||||
// not be aligned to a specific boundary
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(dbuffer,"firldb");
|
||||
#else
|
||||
#pragma DATA_SECTION("firfilt");
|
||||
#endif
|
||||
int32_t dbuffer[(FIR_ORDER+1)/2];
|
||||
|
||||
// Input/output buffer
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigIn, "sigIn");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigIn");
|
||||
#endif
|
||||
int16_t sigIn[SIGNAL_LENGTH] = {
|
||||
#include "data_input.txt"
|
||||
};
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigOut, "sigOut");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigOut");
|
||||
#endif
|
||||
int16_t sigOut[SIGNAL_LENGTH];
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(goldOut, "sigOut");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigOut");
|
||||
#endif
|
||||
int16_t goldOut[SIGNAL_LENGTH] = {
|
||||
#include "data_output.txt"
|
||||
};
|
||||
|
||||
// Error between computed output and MATLAB output
|
||||
int16_t err[SIGNAL_LENGTH];
|
||||
|
||||
// Define Constant Coefficient Array and place it in the "coefffilt"
|
||||
// section. You can either reorder the coefficients at run time (done
|
||||
// in this example) or just store them reordered.
|
||||
// Index LSW MSW
|
||||
// +---------+---------+
|
||||
// 0 | h(L-1) | h(L/2-1)|
|
||||
// 2 | h(L-2) | h(L/2-2)|
|
||||
// 4 | h(L-3) | h(L/2-3)|
|
||||
// 6 | h(L-4) | h(L/2-4)|
|
||||
// ... | ... | ... |
|
||||
// L/2-3 | h(L/2+2)| h(2) |
|
||||
// L/2-2 | h(L/2+1)| h(1) |
|
||||
// L/2-1 | h(L/2) | h(0) |
|
||||
// +---------+---------+
|
||||
// The size of the array is:
|
||||
// FIR_ORDER even -> (FIR_ORDER+1)+1 e.g. FIR_ORDER = 32, size = 34 words
|
||||
// odd -> (FIR_ORDER+1) e.g. FIR_ORDER = 31, size = 32 words
|
||||
// The reason being that we use the DMAC operation which will multiply
|
||||
// the coefficients in 32-bit chunks, we don't want an odd size coefficient
|
||||
// buffer and risk corrupting the delay line
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(coeff, "coefffilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("coefffilt");
|
||||
#endif
|
||||
const int16_t coeff[FIR_ORDER+1] = {
|
||||
#include "coeffs.txt"
|
||||
};
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(revCoeff, "coefffilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("coefffilt");
|
||||
#endif
|
||||
int16_t revCoeff[FIR_ORDER+2];
|
||||
|
||||
// Start of main()
|
||||
int main(void)
|
||||
{
|
||||
//Locals
|
||||
uint32_t i, pass = 0, fail = 0;
|
||||
|
||||
#ifdef _FLASH
|
||||
FIXPT_DSP_initFlash();
|
||||
#endif //_FLASH
|
||||
FIXPT_DSP_initSystemClocks();
|
||||
FIXPT_DSP_initEpie();
|
||||
|
||||
// if the order of the coefficients is even, you will have
|
||||
// an odd number of taps; zero out the location right after the
|
||||
// last tap
|
||||
if((FIR_ORDER & 0x01) == 0){
|
||||
revCoeff[FIR_ORDER_REV-1] = 0;
|
||||
}
|
||||
// Reorder the coefficients
|
||||
// FIR_ORDER even -> (FIR_ORDER+1)+1 e.g. FIR_ORDER = 32, size = 34 words
|
||||
// odd -> (FIR_ORDER+1) e.g. FIR_ORDER = 31, size = 32 words
|
||||
for(i = 0; i < FIR_ORDER + 1; i = i + 2){
|
||||
revCoeff[FIR_ORDER_REV-i-1] = coeff[i/2+FIR_ORDER_REV/2];
|
||||
revCoeff[FIR_ORDER_REV-i-2] = coeff[i/2];
|
||||
}
|
||||
|
||||
// Initialize FIR16 object
|
||||
fir.order = FIR_ORDER;
|
||||
fir.dbuffer_ptr = &dbuffer[0];
|
||||
fir.coeff_ptr = (int32_t *)&revCoeff[0];
|
||||
fir.init(&fir);
|
||||
|
||||
// FIR calculation
|
||||
for(i = 0; i < SIGNAL_LENGTH; i++){
|
||||
fir.input = sigIn[i]; // Q15 format
|
||||
fir.calc(&fir);
|
||||
sigOut[i]=fir.output;
|
||||
}
|
||||
|
||||
// Error checking
|
||||
for(i = 0; i < SIGNAL_LENGTH; i++){
|
||||
err[i] = abs(sigOut[i] - goldOut[i]);
|
||||
if(err[i] > TOLERANCE){
|
||||
fail++;
|
||||
}else{
|
||||
pass++;
|
||||
}
|
||||
}
|
||||
|
||||
//asm(" ESTOP0");
|
||||
for(;;);
|
||||
|
||||
// code should never reach this pointer
|
||||
return 1;
|
||||
|
||||
} /* End: main() */
|
||||
|
||||
|
||||
//###########################################################################
|
||||
// End of File
|
||||
//###########################################################################
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?ccsproject version="1.0"?>
|
||||
<projectOptions>
|
||||
<deviceFamily value="C2000"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse-cdt version="2.0"?>
|
||||
|
||||
<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
|
||||
<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<data>
|
||||
<item id="org.eclipse.cdt.core.pathentry">
|
||||
<pathentry kind="src" path=""/>
|
||||
<pathentry kind="out" path=""/>
|
||||
<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
|
||||
<pathentry kind="con" path="com.ti.ccstudio.managedbuild.core.CCS_CONTAINER"/>
|
||||
</item>
|
||||
</data>
|
||||
</cdtproject>
|
||||
@@ -0,0 +1,191 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1167455395">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1167455395" moduleId="org.eclipse.cdt.core.settings" name="RAM">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_FIR32" buildProperties="" description="RAM build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1167455395" name="RAM" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1167455395.1253047008" name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.153769356" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1803218541">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.448593104" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1338287242" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.1781999459" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.669042836" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.97019494" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.1443521914" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.1045999036" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.164382883" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.276640197" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.446899883" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.179017660" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.509689798" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.795329530" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="RAM"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.827808068" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.1402447526" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.473348520" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.279756959" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1803218541" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1873787149" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.286014860" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_FIR32.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.302674299" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_FIR32.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.659707005" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.1238814190" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.1684860463" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.426277592" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_FIR32_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.740686034" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="RAM" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.844746847" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.1502014991" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.1122402354" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1167455395.121862166">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1167455395.121862166" moduleId="org.eclipse.cdt.core.settings" name="_FLASH">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_FIR32" buildProperties="" description="_FLASH build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1167455395.121862166" name="_FLASH" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1167455395.121862166." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1670737568" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1803218541">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.462566843" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.880785786" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.816399617" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1416979273" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.1590327398" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.1185370290" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.1640681125" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.666595647" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.1521277976" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.968617334" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.1581050269" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1440932916" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.1082252248" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FLASH"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.1308644943" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.1579887092" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.302073226" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1580150477" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.109195362" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1758741793" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.1177905282" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_FIR32.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.1089856321" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_FIR32.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.1420329856" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.1568818630" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.1220937277" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1897385758" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_FIR32_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.1135504905" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="_FLASH" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.1797250736" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.243587648" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.1731928173" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="2833x_FixedPoint_FIR32.com.ti.ccstudio.buildDefinitions.C2000.ProjectType.1269517115" name="C2000" projectType="com.ti.ccstudio.buildDefinitions.C2000.ProjectType"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
|
||||
<project-mappings>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
</project-mappings>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration"/>
|
||||
</cproject>
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>2833x_FixedPoint_FIR32</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>com.ti.ccstudio.core.ccsNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>DSP2833x_ADC_cal.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_ADC_cal.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Adc.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_Adc.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CodeStartBranch.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CodeStartBranch.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CpuTimers.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CpuTimers.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DBGIER.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DBGIER.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DefaultIsr.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DefaultIsr.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_GlobalVariableDefs.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/source/DSP2833x_GlobalVariableDefs.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Headers_nonBIOS.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/cmd/DSP2833x_Headers_nonBIOS.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieVect.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieVect.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_SysCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_SysCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_usDelay.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_usDelay.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>F28335_FIXPT_FIR_lnk.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/cmd/F28335_FIXPT_FIR_lnk.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>examples_setup.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/examples/common/examples_setup.c</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>INSTALLROOT_2833X</name>
|
||||
<value>$%7BPARENT-6-PROJECT_LOC%7D/device_support/f2833x</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>INSTALLROOT_TO_FIXEDPTLIB</name>
|
||||
<value>$%7BPARENT-2-PROJECT_LOC%7D</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
||||
BIN
Binary file not shown.
+5
@@ -0,0 +1,5 @@
|
||||
//Add watch window variables
|
||||
expRemoveAll()
|
||||
expAdd("fir", getNatural())
|
||||
|
||||
openAnalysisView('Dual Time','C:/Users/a0272561/Repositories/cs30_controlsuite/libs/dsp/FixedPointLib/version/examples/2833x_FixedPoint_FIR32/FIR32_IN_OUT.graphProp')
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
% // TI File $Revision: /main/3 $
|
||||
% // Checkin $Date: November 1, 2010 13:05:07 $
|
||||
% // =====================================================================================
|
||||
% // This software is licensed for use with Texas Instruments C28x
|
||||
% // family DSCs. This license was provided to you prior to installing
|
||||
% // the software. You may review this license by consulting a copy of
|
||||
% // the agreement in the doc directory of this library.
|
||||
% //======================================================================================
|
||||
% //
|
||||
% // FILE: FixedPointFIR32.m
|
||||
% //
|
||||
% // TITLE: DSP2833x Device Fixed Point FIR16 Test Program.
|
||||
% //
|
||||
% //
|
||||
% // ASSUMPTIONS:
|
||||
% //
|
||||
% // This matlab code is reference code for debugging FixedPoint DSP library
|
||||
% // 16 bit FIR module and example project 2833x_FixedPoint_FIR16.
|
||||
% //
|
||||
% //
|
||||
% //
|
||||
% // Watch Variables:
|
||||
% //
|
||||
% // x_raw_sig Input signal (float)
|
||||
% // fir_lpfxx_Q31 FIR filter coefficients (Q31)
|
||||
% // x_Q31 Input signal in Q31 format
|
||||
% // result Filtered signal (Q30)
|
||||
% //
|
||||
% //######################################################################################
|
||||
% //
|
||||
% //
|
||||
% //
|
||||
%// C2000Ware v5.04.00.00
|
||||
%//Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
%//
|
||||
%// Redistribution and use in source and binary forms, with or without
|
||||
%// modification, are permitted provided that the following conditions
|
||||
%// are met:
|
||||
%//
|
||||
%// Redistributions of source code must retain the above copyright
|
||||
%// notice, this list of conditions and the following disclaimer.
|
||||
%//
|
||||
%// Redistributions in binary form must reproduce the above copyright
|
||||
%// notice, this list of conditions and the following disclaimer in the
|
||||
%// documentation and/or other materials provided with the
|
||||
%// distribution.
|
||||
%//
|
||||
%// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
%// its contributors may be used to endorse or promote products derived
|
||||
%// from this software without specific prior written permission.
|
||||
%//
|
||||
%// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
%// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
%// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
%// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
%// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
%// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
%// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
%// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
%// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
%// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
%// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
%//$
|
||||
% //######################################################################################
|
||||
|
||||
clear all
|
||||
close all
|
||||
|
||||
disp('==============================================================');
|
||||
disp('==============================================================');
|
||||
disp('this is Matlab version of C28x Fixed Point FIR32 code');
|
||||
disp('The result is stored in array result Q30');
|
||||
disp('The signal is stored in array x_raw_sig (float)');
|
||||
disp('The signal in Q31 format is stored in array x_Q31');
|
||||
disp('==============================================================');
|
||||
|
||||
RadStep = 0.1963495408494;
|
||||
|
||||
N=input('Please enter signal length N =');
|
||||
halfSize=N-1;
|
||||
|
||||
Rad=[0:RadStep:(halfSize)*RadStep];
|
||||
|
||||
Rx=sin(Rad)+cos(Rad*2.3567);
|
||||
Ix=0*(cos(Rad*8.345) + sin(Rad*5.789));
|
||||
|
||||
x=Rx+j*Ix;
|
||||
x_raw_sig=x/2;
|
||||
|
||||
x_Q31=2^31*x/2;
|
||||
|
||||
fir_lpf6_Q31=[-173028710, 422295164, 1025797365, 1025797365, 422295164, -173028710];
|
||||
fir_lpf32_Q31=[-2013465, -3972436, 6056023, 8015159, -12191477, -16239507,22805854, 29416457, -39784147, -51018844, 68331981, 89804355,-125125486, -182784383, 316867161, 964016297, 964016297, 316867161,-182784383, -125125486, 89804355, 68331981, -51018844, -39784147,29416457, 22805854, -16239507, -12191477, 8015159, 6056023,-3972436, -2013465];
|
||||
|
||||
result=conv(fir_lpf32_Q31,x_Q31)/2^32;
|
||||
|
||||
plot(result)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+165
@@ -0,0 +1,165 @@
|
||||
//#############################################################################
|
||||
//! \file $FOLDER_EXAMPLES$/$DEVICE$_FixedPoint_FIR32/fir32d.c
|
||||
//!
|
||||
//! \brief 32-bit FIR Filter Example
|
||||
//! \author Vishal Coelho
|
||||
//!
|
||||
//! \date Aug 12, 2014
|
||||
//!
|
||||
//! This examples shows how to implement a 32-bit FIR filter using the optimized
|
||||
//! FIR library routines. This version of the FIR filter has a limitation of 128
|
||||
//! taps (filter order max 127). If a higher order filter is required, refer to the
|
||||
//! FIR32_Alt example.
|
||||
//! The structure of 32 bit filter is shown as follows:
|
||||
//!
|
||||
//! typedef struct {
|
||||
//! long *coeff_ptr;
|
||||
//! long * dbuffer_ptr;
|
||||
//! int cbindex;
|
||||
//! int order;
|
||||
//! long input;
|
||||
//! long output;
|
||||
//! void (*init)(void *);
|
||||
//! void (*calc)(void *);
|
||||
//! }FIR32;
|
||||
//!
|
||||
//! Users can also use default templates defined within fir.h to initialize
|
||||
//! the FIR32 header structure.
|
||||
//!
|
||||
//! FIR32 fir= FIR32_DEFAULTS;
|
||||
//!
|
||||
//! The MATLAB Filter Design and Analysis Tool (FDATool) is a useful tool
|
||||
//! for designing filters and generating fixed point coefficients. Refer
|
||||
//! to the appendix of the Fixed Point DSP Libray User's Guide for more
|
||||
//! information.
|
||||
//!
|
||||
//! \b Watch \b Variables
|
||||
//! - fir FIR32 object
|
||||
//!
|
||||
//! In CCS, you can invoke the "SetupDebugEnv.js" script from the
|
||||
//! Scripting console to have these variables set up in the Watch window
|
||||
//! and create graphs to show the input/output vectors
|
||||
//
|
||||
// Group: C2000
|
||||
// Target Family: C28x
|
||||
//
|
||||
//#############################################################################
|
||||
//
|
||||
//
|
||||
// $Copyright: Copyright (C) 2014-2024 Texas Instruments Incorporated -
|
||||
// http://www.ti.com/ ALL RIGHTS RESERVED $
|
||||
//#############################################################################
|
||||
|
||||
//*****************************************************************************
|
||||
// includes
|
||||
//*****************************************************************************
|
||||
#include "examples_setup.h"
|
||||
#include <filter.h>
|
||||
|
||||
//*****************************************************************************
|
||||
// defines
|
||||
//*****************************************************************************
|
||||
// Filter Symbolic Constants
|
||||
#define FIR_ORDER 43
|
||||
#define SIGNAL_LENGTH 128
|
||||
|
||||
//*****************************************************************************
|
||||
// globals
|
||||
//*****************************************************************************
|
||||
// Create an Instance of FIR32 module and place the object in "firfilt" section
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(fir, "firfilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("firfilt");
|
||||
#endif
|
||||
FIR32 fir= FIR32_DEFAULTS;
|
||||
|
||||
// Define the Delay buffer for the "FIR_ORDER"th order filter
|
||||
// and place it in "firldb" section.
|
||||
// Its size should be FIR_ORDER+1
|
||||
// The delay line buffer must be aligned to a 256 word boundary
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(dbuffer,"firldb");
|
||||
#else
|
||||
#pragma DATA_SECTION("firfilt");
|
||||
#endif
|
||||
int32_t dbuffer[FIR_ORDER+1];
|
||||
|
||||
// Input/output buffer
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigIn, "sigIn");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigIn");
|
||||
#endif
|
||||
int32_t sigIn[SIGNAL_LENGTH];
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigOut, "sigOut");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigOut");
|
||||
#endif
|
||||
int32_t sigOut[SIGNAL_LENGTH];
|
||||
|
||||
// Define Constant Coefficient Array and place it in the "coefffilt"
|
||||
// section. The size of the array is FIR_ORDER+1
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(coeff, "coefffilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("coefffilt");
|
||||
#endif
|
||||
const int32_t coeff[FIR_ORDER+1] = FIR32_LPF32_TEST;
|
||||
|
||||
int main(void)
|
||||
{
|
||||
// Locals
|
||||
int32_t xn = 0, yn = 0;
|
||||
float RadStep = 0.1963495408494f;
|
||||
float Rad = 0.0f;
|
||||
uint32_t i = 0;
|
||||
|
||||
#ifdef _FLASH
|
||||
FIXPT_DSP_initFlash();
|
||||
#endif //_FLASH
|
||||
FIXPT_DSP_initSystemClocks();
|
||||
FIXPT_DSP_initEpie();
|
||||
|
||||
// Initialize FIR32 object
|
||||
fir.order = FIR_ORDER;
|
||||
fir.dbuffer_ptr = dbuffer;
|
||||
fir.coeff_ptr =(int32_t *)coeff;
|
||||
fir.init(&fir);
|
||||
|
||||
// Clean up input/output buffer
|
||||
for(i=0; i < SIGNAL_LENGTH; i++){
|
||||
sigIn[i] =0;
|
||||
sigOut[i] =0;
|
||||
}
|
||||
|
||||
for(i=0; i < SIGNAL_LENGTH; i++){
|
||||
xn=(long)(2147483648*(sin(Rad) + cos(Rad*2.3567))/2); //Q31
|
||||
// Impulse function
|
||||
//if(i == 0){
|
||||
// xn = (1 << 31);
|
||||
//}else{
|
||||
// xn = 0;
|
||||
//}
|
||||
sigIn[i] = xn; //Input data buffer
|
||||
fir.input = xn; //Input data
|
||||
fir.calc(&fir); //FIR convolution operation
|
||||
yn = fir.output; //Output data
|
||||
sigOut[i] = yn; //Output data buffer
|
||||
Rad = Rad + RadStep; //Update simulated signal parameter
|
||||
}
|
||||
|
||||
//asm(" ESTOP0");
|
||||
for(;;);
|
||||
|
||||
// code should never reach this pointer
|
||||
return 1;
|
||||
|
||||
} /* End: main() */
|
||||
|
||||
|
||||
//###########################################################################
|
||||
// End of File
|
||||
//###########################################################################
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?ccsproject version="1.0"?>
|
||||
<projectOptions>
|
||||
<deviceFamily value="C2000"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse-cdt version="2.0"?>
|
||||
|
||||
<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
|
||||
<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<data>
|
||||
<item id="org.eclipse.cdt.core.pathentry">
|
||||
<pathentry kind="src" path=""/>
|
||||
<pathentry kind="out" path=""/>
|
||||
<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
|
||||
<pathentry kind="con" path="com.ti.ccstudio.managedbuild.core.CCS_CONTAINER"/>
|
||||
</item>
|
||||
</data>
|
||||
</cdtproject>
|
||||
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317" moduleId="org.eclipse.cdt.core.settings" name="RAM">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_FIR32_Alt_Alt" buildProperties="" description="RAM build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317" name="RAM" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.327083807" name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1676395359" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.139208857">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1512894819" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1439939768" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.1228428871" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1543415991" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.1014186289" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.1276024401" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.409452695" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.150373748" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.577633857" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.388627654" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.568035091" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1374230148" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM.516393193" name="Keep the generated assembly language (.asm) file (--keep_asm, -k)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM" value="false" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST.920490890" name="Source interlist" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.2143286477" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="RAM"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.1972770834" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.1936690688" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.1305145091" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1979537973" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.139208857" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1298858410" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.777182326" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_FIR32_Alt_Alt.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.965462428" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_FIR32_Alt_Alt.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.971167039" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.715544849" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.589053542" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1008002930" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_FIR32_Alt_Alt_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.1725348011" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="RAM" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.1225799143" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.247167082" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.612960073" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.322212496">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.322212496" moduleId="org.eclipse.cdt.core.settings" name="_FLASH">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_FIR32_Alt_Alt" buildProperties="" description="_FLASH build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.322212496" name="_FLASH" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1630116317.322212496." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.2127523566" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.139208857">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.765535351" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1398695314" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.782700588" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1015462835" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.319997838" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.917844962" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.796639155" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.1092302339" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.722849946" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.394709945" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.2116409796" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.987759539" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM.1970407119" name="Keep the generated assembly language (.asm) file (--keep_asm, -k)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.KEEP_ASM" value="false" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST.2145733690" name="Source interlist" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SOURCE_INTERLIST._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.1018783488" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FLASH"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.1903303264" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.1891870607" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.77390549" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.460302157" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1873598770" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.45362741" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.821199107" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_FIR32_Alt_Alt.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.840125733" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_FIR32_Alt_Alt.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.1565642492" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.1095458337" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.576721544" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.605020996" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_FIR32_Alt_Alt_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.1479379744" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="_FLASH" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.8197789" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.1880828162" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.1591780174" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="2833x_FixedPoint_FIR32_Alt_Alt.com.ti.ccstudio.buildDefinitions.C2000.ProjectType.2025933334" name="C2000" projectType="com.ti.ccstudio.buildDefinitions.C2000.ProjectType"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
|
||||
<project-mappings>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
</project-mappings>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration"/>
|
||||
</cproject>
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>2833x_FixedPoint_FIR32_Alt</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>com.ti.ccstudio.core.ccsNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>DSP2833x_ADC_cal.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_ADC_cal.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Adc.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_Adc.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CodeStartBranch.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CodeStartBranch.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CpuTimers.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CpuTimers.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DBGIER.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DBGIER.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DefaultIsr.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DefaultIsr.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_GlobalVariableDefs.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/source/DSP2833x_GlobalVariableDefs.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Headers_nonBIOS.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/cmd/DSP2833x_Headers_nonBIOS.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieVect.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieVect.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_SysCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_SysCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_usDelay.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_usDelay.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>F28335_FIXPT_FIR_lnk.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/cmd/F28335_FIXPT_FIR_lnk.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>examples_setup.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/examples/common/examples_setup.c</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>INSTALLROOT_2833X</name>
|
||||
<value>$%7BPARENT-6-PROJECT_LOC%7D/device_support/f2833x</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>INSTALLROOT_TO_FIXEDPTLIB</name>
|
||||
<value>$%7BPARENT-2-PROJECT_LOC%7D</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
||||
BIN
Binary file not shown.
+5
@@ -0,0 +1,5 @@
|
||||
//Add watch window variables
|
||||
expRemoveAll()
|
||||
expAdd("fir", getNatural())
|
||||
|
||||
openAnalysisView('Dual Time','C:/Users/a0272561/Repositories/cs30_controlsuite/libs/dsp/FixedPointLib/version/examples/2833x_FixedPoint_FIR32_Alt/FIR32_ALT_IN_OUT.graphProp')
|
||||
+188
@@ -0,0 +1,188 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Fixed Point Finite Impulse Response Filter
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%//! \brief 16/32-bit FIR filter
|
||||
%//!
|
||||
%//! \author Vishal Coelho
|
||||
%//!
|
||||
%//! \details 16/32 bit fixed point filter that replicates
|
||||
%//! the operation of the FIR16(32) filter in the fixed point
|
||||
%//! library. Will be used to test the output of the asm filter
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Basics of fimath
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Table taken from MATLAB R2013b help doc
|
||||
%+-------------------------------------------------------------------------------------------+
|
||||
%| |A |B |Sum = A+B |Prod = A*B |
|
||||
%+-------------------------------------------------------------------------------------------+
|
||||
%|Format |fi(vA,s1,w1,f1)|fi(vB,s2,w2,f2)|- |- |
|
||||
%|Sign |s1 |s2 |s1||s2 |s1||s2 |
|
||||
%|Integer bits |I1 = w1-f1-s1 |I2= w2-f2-s2 |max(I1 , I2) + 1 |(w1+w2)-(f1+f2) |
|
||||
%|Fraction bits|f1 |f2 |max(f1 , f 2) + 1 |f1 + f2 |
|
||||
%|Total bits |w1 |w2 |1+max(I1,I2)+1+max(f1,f2)+1 |w1 + w2 |
|
||||
%+-------------------------------------------------------------------------------------------+
|
||||
clc
|
||||
clear all
|
||||
close all
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% User Inputs
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
W = input('Do you want \n 1. 16-bit\n 2. 32-bit FIR\n operation? :');
|
||||
S = 1; % signed
|
||||
if(W == 1)
|
||||
W = 16; Q = 15;
|
||||
elseif(W == 2)
|
||||
W = 32; Q = 31;
|
||||
else
|
||||
disp('Value out of range, default to 1\n');
|
||||
W = 16; Q = 15;
|
||||
end
|
||||
sizeOfInput = input('Size of input? ');
|
||||
while(sizeOfInput <= 0 || sizeOfInput > 65536)
|
||||
disp('Invalid: ');
|
||||
sizeOfInput = input('Size of input? ');
|
||||
end
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Specify the Fixed Point Math Object
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
FIPREF_STATE = get(fipref);
|
||||
reset(fipref)
|
||||
% Specify the preferences for the fi objects
|
||||
P = fipref(...
|
||||
'NumberDisplay', 'RealWorldValue', ...
|
||||
'NumericTypeDisplay', 'full', ...
|
||||
'FimathDisplay', 'full'... %MATLAB displays custom and default fi objects info
|
||||
);
|
||||
% Specifying fimath object allows you to control bit growth from successive
|
||||
% operations and tells MATLAB how arithmetic operations should be handled
|
||||
F = fimath(...
|
||||
'SumMode', 'SpecifyPrecision',...
|
||||
'SumWordLength', W,...
|
||||
'SumFractionLength', Q,...
|
||||
'ProductMode', 'SpecifyPrecision',...
|
||||
'ProductWordLength', W, ...
|
||||
'ProductFractionLength', Q, ...
|
||||
'RoundingMethod', 'Convergent' ... %round to closest (to even on ties)
|
||||
);
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% filter coefficients
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
samplingFreq = 200e3;
|
||||
attenStop = 60;
|
||||
attenPass = 1;
|
||||
freqPass = 20e3;
|
||||
freqStop = 30e3;
|
||||
|
||||
LowPassSpecObj = fdesign.lowpass('Fp,Fst,Ap,Ast', freqPass, freqStop,...
|
||||
attenPass, attenStop, samplingFreq);
|
||||
|
||||
% Display all available methods
|
||||
filterMenu = designmethods(LowPassSpecObj);
|
||||
disp(filterMenu);
|
||||
menuChoice = input('Choose a method(Enter a number):');
|
||||
while(menuChoice < 1 || menuChoice > length(filterMenu))
|
||||
disp(['Invalid choice, choose between 1 and ',num2str(length(filterMenu))]);
|
||||
menuChoice = input('Choose a method(Enter a number):');
|
||||
end
|
||||
|
||||
% what are the design options for the chosen method
|
||||
LowPassDesignOpts = designopts(LowPassSpecObj, char(filterMenu(menuChoice)))
|
||||
|
||||
% Design the filter using the user specified method and min order
|
||||
LowPassFilt = design(LowPassSpecObj, char(filterMenu(menuChoice)))
|
||||
|
||||
% Display the filter
|
||||
% fvtool(LowPassFilt);
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Build the MEX function
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Filter parameters
|
||||
N = length(LowPassFilt.Numerator);
|
||||
x = fi(zeros(sizeOfInput,1),S,W,Q,'fimath',F);
|
||||
c = fi(LowPassFilt.Numerator,S,W,Q, 'fimath', F);
|
||||
C = coder.Constant(c);
|
||||
|
||||
% For the 32-bit FIR we want the input to be Q31 but the output to be
|
||||
% Q30, so for each product there will be a scaling of 0.5
|
||||
if W == 32
|
||||
yisd = fi(zeros(sizeOfInput,1),S,W,Q-1,'DataType','Fixed','fimath',F);
|
||||
else
|
||||
yisd = fi(zeros(sizeOfInput,1),S,W,Q,'DataType','Fixed','fimath',F);
|
||||
end
|
||||
|
||||
buildInstrumentedMex fir_m ...
|
||||
-o fir_fixed ...
|
||||
-args {x, C, yisd}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Test Bench 1
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
t = linspace(0,1,sizeOfInput); % Time vector from 0 to 1 second
|
||||
n = 0 : sizeOfInput-1;
|
||||
f1 = 20e3; f2 = 40e3; f3 = 45e3; % Frequencies of the inputs
|
||||
fs = samplingFreq; % Add two sine waves together
|
||||
k1 = f1/fs; k2 = f2/fs; k3 = f3/fs;
|
||||
xmulti = 0.5*(sin(2*pi*k1.*n)+sin(2*pi*k2.*n)+sin(2*pi*k3.*n));
|
||||
x(:) = xmulti; % Cast the input to fixed-point
|
||||
|
||||
% Running the MEX function
|
||||
ymulti = fir_fixed(x,yisd);
|
||||
|
||||
% Plot the output
|
||||
clf
|
||||
plot(t,x,'c',t,ymulti,'bo-')
|
||||
title('Filter')
|
||||
legend('Input','Fixed Point Output')
|
||||
figure(gcf); drawnow;
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Write the input/output/coeffs vectors to file
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
X = reshape(x, sizeOfInput/8, 8);
|
||||
if W == 16
|
||||
S_X = sprintf(['%10d, %10d, %10d, %10d, %10d, %10d,',...
|
||||
'%10d, %10d, \n'], (X.int));
|
||||
else
|
||||
S_X = sprintf(['%14d, %14d, %14d, %14d, %14d, %14d,',...
|
||||
'%14d, %14d, \n'], (X.int));
|
||||
end
|
||||
fid = fopen('data_input.txt', 'w');
|
||||
fprintf(fid, ['// f1 =',num2str(20e3),', f2 = ',num2str(40e3),...
|
||||
', f3 = ',num2str(45e3),' fs = ',num2str(samplingFreq),'\n']);
|
||||
fprintf(fid, S_X);
|
||||
fclose(fid);
|
||||
|
||||
Y = reshape(ymulti, sizeOfInput/8, 8);
|
||||
if W == 16
|
||||
S_Y = sprintf(['%10d, %10d, %10d, %10d, %10d, %10d,',...
|
||||
'%10d, %10d, \n'], (Y.int));
|
||||
else
|
||||
S_Y = sprintf(['%14d, %14d, %14d, %14d, %14d, %14d,',...
|
||||
'%14d, %14d, \n'], (Y.int));
|
||||
end
|
||||
fid = fopen('data_output.txt', 'w');
|
||||
fprintf(fid, S_Y);
|
||||
fclose(fid);
|
||||
|
||||
C = c(end:-1:1);
|
||||
if W == 16
|
||||
S_C = sprintf(['%10d, %10d, %10d, %10d, %10d, %10d,',...
|
||||
'%10d, %10d, \n'], (C.int));
|
||||
else
|
||||
S_C = sprintf(['%14d, %14d, %14d, %14d, %14d, %14d,',...
|
||||
'%14d, %14d, \n'], (C.int));
|
||||
end
|
||||
fid = fopen('coeffs.txt', 'w');
|
||||
fprintf(fid, [...
|
||||
'// Fs = ',num2str(samplingFreq ),'\n',...
|
||||
'// Fst = ',num2str(attenStop ),'\n',...
|
||||
'// Fp = ',num2str(attenPass ),'\n',...
|
||||
'// Ap = ',num2str(freqPass ),'\n',...
|
||||
'// Ast = ',num2str(freqStop ),'\n']);
|
||||
fprintf(fid, S_C);
|
||||
fclose(fid);
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% The filter funtion
|
||||
% \param x , the input vector
|
||||
% \param c , the coefficients
|
||||
% \param y, the filtered output (specified here so that the mex generation
|
||||
% will create a reference to y, allowing us to set its data type
|
||||
% outside the function)
|
||||
% \return y, the filtered output
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
function y = fir_m(x, c, y)
|
||||
N = length(x); L = length(c); k = 1;
|
||||
for i = 1 : N
|
||||
for j = 1 : min(i, L)
|
||||
y(i) = y(i) + x(i - j + 1) * c(j);
|
||||
end
|
||||
end
|
||||
end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
a) Run the script "C28xFixedPointLib_FIR.m" in MATLAB
|
||||
b) It will ask you to choose between 16 and 32-bit operation, choose the first
|
||||
option
|
||||
c) It will then request the size of the input - this is used during the test phase
|
||||
when it will generate a test signal of this size
|
||||
d) Find and alter these values per your needs
|
||||
samplingFreq
|
||||
attenStop
|
||||
attenPass
|
||||
freqPass
|
||||
freqStop
|
||||
e) The script will list out the different design methods available and ask for a
|
||||
choice. It then proceeds to generate a low pass filter that matches these
|
||||
constraints using the fdesign.lowpass(). The user may choose to implement a
|
||||
different filter: bandpass, bandstop or highpass using the fdesign class with
|
||||
the appropriate arguments (please see the help menu in MATLAB for more details
|
||||
on what parameters are required for the different class objects)\
|
||||
f) It will then create a mex function that takes the input, applies the filter
|
||||
and generates the output. It proceeds to write these arrays, in the chosen fixed
|
||||
point format, to data_input.txt, coeffs.txt and data_output.txt respectively.
|
||||
g) You may use the coeffs.txt file in your code as follows
|
||||
const int32_t coeffs[SIZE] = {
|
||||
#include "coeffs.txt"
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// Fs = 200000
|
||||
// Fst = 60
|
||||
// Fp = 1
|
||||
// Ap = 20000
|
||||
// Ast = 30000
|
||||
3033491, 5007568, 5444575, 1466157, -8004159, -20868675, -31498813, -32749015,
|
||||
-19927254, 5132136, 32555031, 47420087, 36921072, -1254816, -53875775, -94212070,
|
||||
-91821960, -26570918, 99492000, 258706175, 405645761, 493749663, 493749663, 405645761,
|
||||
258706175, 99492000, -26570918, -91821960, -94212070, -53875775, -1254816, 36921072,
|
||||
47420087, 32555031, 5132136, -19927254, -32749015, -31498813, -20868675, -8004159,
|
||||
1466157, 5444575, 5007568, 3033491,
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// f1 =20000, f2 = 40000, f3 = 45000 fs = 200000
|
||||
0, 2147483647, 1984123239, -566651421, -1021189159, 759250125, 1258734933, -877528137,
|
||||
-2147483648, -1484348540, 1073741824, 1820288995, 631129609, -97409038, 478615834, 759250125,
|
||||
-241070059, -1346770520, -1320514296, -591796487, 0, 591796487, 1320514296, 1346770520,
|
||||
241070059, -759250125, -478615834, 97409038, -631129609, -1820288995, -1073741824, 1484348540,
|
||||
2147483647, 877528137, -1258734933, -759250125, 1021189159, 566651421, -1984123239, -2147483648,
|
||||
0, 2147483647, 1984123239, -566651421, -1021189159, 759250125, 1258734933, -877528137,
|
||||
-2147483648, -1484348540, 1073741824, 1820288995, 631129609, -97409038, 478615834, 759250125,
|
||||
-241070059, -1346770520, -1320514296, -591796487, 0, 591796487, 1320514296, 1346770520,
|
||||
241070059, -759250125, -478615834, 97409038, -631129609, -1820288995, -1073741824, 1484348540,
|
||||
2147483647, 877528137, -1258734933, -759250125, 1021189159, 566651421, -1984123239, -2147483648,
|
||||
0, 2147483647, 1984123239, -566651421, -1021189159, 759250125, 1258734933, -877528137,
|
||||
-2147483648, -1484348540, 1073741824, 1820288995, 631129609, -97409038, 478615834, 759250125,
|
||||
-241070059, -1346770520, -1320514296, -591796487, 0, 591796487, 1320514296, 1346770520,
|
||||
241070059, -759250125, -478615834, 97409038, -631129609, -1820288995, -1073741824, 1484348540,
|
||||
2147483647, 877528137, -1258734933, -759250125, 1021189159, 566651421, -1984123239, -2147483648,
|
||||
0, 2147483647, 1984123239, -566651421, -1021189159, 759250125, 1258734933, -877528137,
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
0, 1516746, 3905150, 4635388, 1866356, -4697460, -13845682, -22872314,
|
||||
-26954496, -21624767, -4858620, 18937904, 39477890, 44708478, 26796878, -12495686,
|
||||
-59057787, -88462138, -74063675, 841358, 132170556, 291098470, 429672776, 495315786,
|
||||
450566998, 291229176, 54223633, -190665082, -363539427, -403088479, -290615776, -60747236,
|
||||
206060074, 411285968, 474271600, 365768690, 120917047, -172712016, -407052088, -492972756,
|
||||
-395651426, -149193298, 154615200, 400286814, 494839116, 402354628, 158866332, -143789360,
|
||||
-392723188, -495896366, -416144590, -187122170, 100225128, 335324255, 429885356, 351043740,
|
||||
131607299, -142685770, -365292852, -449725640, -363145229, -138574308, 138574306, 363145228,
|
||||
449725638, 365292848, 142685770, -131607298, -351043740, -429885356, -335324257, -100225128,
|
||||
187122170, 416144587, 495896370, 392723186, 143789363, -158866334, -402354628, -494839112,
|
||||
-400286814, -153098448, 153098454, 400286814, 494839116, 402354628, 158866332, -143789360,
|
||||
-392723188, -495896366, -416144590, -187122170, 100225128, 335324255, 429885356, 351043740,
|
||||
131607299, -142685770, -365292852, -449725640, -363145229, -138574308, 138574306, 363145228,
|
||||
449725638, 365292848, 142685770, -131607298, -351043740, -429885356, -335324257, -100225128,
|
||||
187122170, 416144587, 495896370, 392723186, 143789363, -158866334, -402354628, -494839112,
|
||||
-400286814, -153098448, 153098454, 400286814, 494839116, 402354628, 158866332, -143789360,
|
||||
+201
@@ -0,0 +1,201 @@
|
||||
//#############################################################################
|
||||
//! \file $FOLDER_EXAMPLES$/$DEVICE$_FixedPoint_FIR32_Alt/fir32d_alt.c
|
||||
//!
|
||||
//! \brief Alternate 32-bit FIR Filter Example
|
||||
//!
|
||||
//! \date Aug 12, 2014
|
||||
//!
|
||||
//! This module shows an alternate 32-bit FIR implementation. The alternate
|
||||
//! version can have upto 2^16 or 65536 filter taps.
|
||||
//! The header structure of 32 bit filter is shown as follows:
|
||||
//!
|
||||
//! typedef struct {
|
||||
//! int32_t *coeff_ptr;
|
||||
//! int32_t * dbuffer_ptr;
|
||||
//! int cbindex;
|
||||
//! int order;
|
||||
//! int input;
|
||||
//! int output;
|
||||
//! void (*init)(void *);
|
||||
//! void (*calc)(void *);
|
||||
//! }FIR32;
|
||||
//!
|
||||
//! Users can also use default templates defined within fir.h to initialize
|
||||
//! the FIR32 header structure.
|
||||
//!
|
||||
//! FIR32 fir= FIR32_ALT_DEFAULTS;
|
||||
//!
|
||||
//! The MATLAB Filter Design and Analysis Tool (FDATool) is a useful tool
|
||||
//! for designing filters and generating fixed point coefficients. Refer
|
||||
//! to the appendix of the Fixed Point DSP Libray User's Guide for more
|
||||
//! information.
|
||||
//!
|
||||
//! \b Watch \b Variables
|
||||
//! - fir FIR32 object
|
||||
//!
|
||||
//! In CCS, you can invoke the "SetupDebugEnv.js" script from the
|
||||
//! Scripting console to have these variables set up in the Watch window
|
||||
//! and create graphs to show the input/output vectors
|
||||
//
|
||||
// Group: C2000
|
||||
// Target Family: C28x
|
||||
//
|
||||
//#############################################################################
|
||||
//
|
||||
//
|
||||
// $Copyright: Copyright (C) 2014-2024 Texas Instruments Incorporated -
|
||||
// http://www.ti.com/ ALL RIGHTS RESERVED $
|
||||
//#############################################################################
|
||||
|
||||
//*****************************************************************************
|
||||
// includes
|
||||
//*****************************************************************************
|
||||
#include "examples_setup.h"
|
||||
#include <filter.h>
|
||||
|
||||
//*****************************************************************************
|
||||
// defines
|
||||
//*****************************************************************************
|
||||
// Filter Symbolic Constants
|
||||
#define FIR_ORDER 43
|
||||
#define FIR_ORDER_REV FIR_ORDER
|
||||
#define SIGNAL_LENGTH 128
|
||||
#define TOLERANCE (1UL << 20) // 0.009765 in Q31
|
||||
|
||||
//*****************************************************************************
|
||||
// globals
|
||||
//*****************************************************************************
|
||||
// Create an Instance of FIR32 module and place the object in "firfilt" section
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(fir, "firfilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("firfilt");
|
||||
#endif
|
||||
FIR32 fir= FIR32_ALT_DEFAULTS;
|
||||
|
||||
// Define the Delay buffer for the "FIR_ORDER"th order filter
|
||||
// and place it in "firldb" section.
|
||||
// Its size should be FIR_ORDER+1
|
||||
// For the alternate FIR implementation, the delay line buffer need
|
||||
// not be aligned to a specific boundary
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(dbuffer,"firldb");
|
||||
#else
|
||||
#pragma DATA_SECTION("firfilt");
|
||||
#endif
|
||||
int32_t dbuffer[FIR_ORDER+1];
|
||||
|
||||
// Input/output buffer
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigIn, "sigIn");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigIn");
|
||||
#endif
|
||||
int32_t sigIn[SIGNAL_LENGTH] = {
|
||||
#include "data_input.txt"
|
||||
};
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigOut, "sigOut");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigOut");
|
||||
#endif
|
||||
int32_t sigOut[SIGNAL_LENGTH];
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(goldOut, "sigOut");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigOut");
|
||||
#endif
|
||||
int32_t goldOut[SIGNAL_LENGTH] = {
|
||||
#include "data_output.txt"
|
||||
};
|
||||
|
||||
// Error between computed output and MATLAB output
|
||||
int32_t err[SIGNAL_LENGTH];
|
||||
|
||||
// Define Constant Coefficient Array and place it in the "coefffilt"
|
||||
// section. You can either reverse the order of the coefficients at
|
||||
// run time (done in this example) or just store them in reversed order.
|
||||
// Index
|
||||
// +---------+
|
||||
// 0 | h(L-1) |
|
||||
// 2 | h(L-2) |
|
||||
// 4 | h(L-3) |
|
||||
// 6 | h(L-4) |
|
||||
// ... | ... |
|
||||
// L-3 | h(2) |
|
||||
// L-2 | h(1) |
|
||||
// L-1 | h(0) |
|
||||
// +---------+
|
||||
// The size of the array is FIR_ORDER+1
|
||||
//
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(coeff, "coefffilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("coefffilt");
|
||||
#endif
|
||||
const int32_t coeff[FIR_ORDER+1] = {
|
||||
#include "coeffs.txt"
|
||||
};
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(revCoeff, "coefffilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("coefffilt");
|
||||
#endif
|
||||
int32_t revCoeff[FIR_ORDER+1];
|
||||
|
||||
// Start of main()
|
||||
int main( void )
|
||||
{
|
||||
// Locals
|
||||
uint32_t i, pass = 0, fail = 0;
|
||||
|
||||
|
||||
#ifdef _FLASH
|
||||
FIXPT_DSP_initFlash();
|
||||
#endif //_FLASH
|
||||
FIXPT_DSP_initSystemClocks();
|
||||
FIXPT_DSP_initEpie();
|
||||
|
||||
// Reorder the coefficients
|
||||
for(i = 0; i < FIR_ORDER_REV + 1; i++){
|
||||
revCoeff[FIR_ORDER_REV-i] = coeff[i];
|
||||
}
|
||||
|
||||
// Initialize FIR32 object
|
||||
fir.order = FIR_ORDER;
|
||||
fir.dbuffer_ptr = &dbuffer[0];
|
||||
fir.coeff_ptr = (int32_t *)&revCoeff[0];
|
||||
fir.init(&fir);
|
||||
|
||||
// FIR calculation
|
||||
for(i = 0; i < SIGNAL_LENGTH; i++){
|
||||
fir.input = sigIn[i]; // Q31 format
|
||||
fir.calc(&fir);
|
||||
sigOut[i]=fir.output; // Q30 format
|
||||
}
|
||||
|
||||
// Error checking
|
||||
for(i = 0; i < SIGNAL_LENGTH; i++){
|
||||
err[i] = abs(sigOut[i] - goldOut[i]);
|
||||
if(err[i] > TOLERANCE){
|
||||
fail++;
|
||||
}else{
|
||||
pass++;
|
||||
}
|
||||
}
|
||||
|
||||
//asm(" ESTOP0");
|
||||
for(;;);
|
||||
|
||||
// code should never reach this pointer
|
||||
return 1;
|
||||
|
||||
} /* End: main() */
|
||||
|
||||
|
||||
//###########################################################################
|
||||
// End of File
|
||||
//###########################################################################
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?ccsproject version="1.0"?>
|
||||
<projectOptions>
|
||||
<deviceFamily value="C2000"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse-cdt version="2.0"?>
|
||||
|
||||
<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
|
||||
<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<data>
|
||||
<item id="org.eclipse.cdt.core.pathentry">
|
||||
<pathentry kind="src" path=""/>
|
||||
<pathentry kind="out" path=""/>
|
||||
<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
|
||||
<pathentry kind="con" path="com.ti.ccstudio.managedbuild.core.CCS_CONTAINER"/>
|
||||
</item>
|
||||
</data>
|
||||
</cdtproject>
|
||||
@@ -0,0 +1,191 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1253599303">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1253599303" moduleId="org.eclipse.cdt.core.settings" name="RAM">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_IIR16" buildProperties="" description="RAM build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1253599303" name="RAM" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1253599303.1181494236" name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1755911709" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1617489975">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.282543612" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.609188980" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.1951242723" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1131799880" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.1628885679" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.1511706772" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.721280147" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.249617827" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.2131686012" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.382843165" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.624670641" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.829957096" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.1835497188" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="RAM"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.1855358877" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.963858395" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.791933115" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1597283143" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1617489975" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1468595469" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.416236827" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_IIR16.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.909556256" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_IIR16.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.977344640" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.1679047704" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.1192335866" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1091963755" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_IIR16_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.1490026096" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="RAM" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.1457689063" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.679214645" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.2090529116" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1253599303.1599662775">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1253599303.1599662775" moduleId="org.eclipse.cdt.core.settings" name="_FLASH">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_IIR16" buildProperties="" description="_FLASH build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1253599303.1599662775" name="_FLASH" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.1253599303.1599662775." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.574937357" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1617489975">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.388430335" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1921656341" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.345908893" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1359814120" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.1210951878" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.1837891316" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.803537056" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.1272747208" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.1518596300" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.1224002829" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.109747782" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1297982521" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.1865275133" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FLASH"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.557374654" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.394981206" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.1509319658" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1871992968" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1553602149" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.196547709" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.557619315" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_IIR16.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.123342240" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_IIR16.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.1060526551" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.922549449" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.1745972935" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.174911689" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_IIR16_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.928669860" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="_FLASH" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.1099946170" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.168784852" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.994189699" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="2833x_FixedPoint_IIR16.com.ti.ccstudio.buildDefinitions.C2000.ProjectType.472453543" name="C2000" projectType="com.ti.ccstudio.buildDefinitions.C2000.ProjectType"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
|
||||
<project-mappings>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
</project-mappings>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration"/>
|
||||
</cproject>
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>2833x_FixedPoint_IIR16</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>com.ti.ccstudio.core.ccsNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>DSP2833x_ADC_cal.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_ADC_cal.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Adc.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_Adc.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CodeStartBranch.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CodeStartBranch.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CpuTimers.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CpuTimers.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DBGIER.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DBGIER.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DefaultIsr.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DefaultIsr.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_GlobalVariableDefs.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/source/DSP2833x_GlobalVariableDefs.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Headers_nonBIOS.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/cmd/DSP2833x_Headers_nonBIOS.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieVect.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieVect.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_SysCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_SysCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_usDelay.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_usDelay.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>F28335_FIXPT_IIR5BIQ_lnk.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/cmd/F28335_FIXPT_IIR5BIQ_lnk.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>examples_setup.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/examples/common/examples_setup.c</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>INSTALLROOT_2833X</name>
|
||||
<value>$%7BPARENT-6-PROJECT_LOC%7D/device_support/f2833x</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>INSTALLROOT_TO_FIXEDPTLIB</name>
|
||||
<value>$%7BPARENT-2-PROJECT_LOC%7D</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
||||
BIN
Binary file not shown.
+5
@@ -0,0 +1,5 @@
|
||||
//Add watch window variables
|
||||
expRemoveAll()
|
||||
expAdd("iir", getNatural())
|
||||
|
||||
openAnalysisView('Dual Time','C:/Users/a0272561/Repositories/cs30_controlsuite/libs/dsp/FixedPointLib/version/examples/2833x_FixedPoint_IIR16/IIR16_IN_OUT.graphProp')
|
||||
+194
@@ -0,0 +1,194 @@
|
||||
% // TI File $Revision: /main/3 $
|
||||
% // Checkin $Date: November 1, 2010 13:05:07 $
|
||||
% // =====================================================================================
|
||||
% // This software is licensed for use with Texas Instruments C28x
|
||||
% // family DSCs. This license was provided to you prior to installing
|
||||
% // the software. You may review this license by consulting a copy of
|
||||
% // the agreement in the doc directory of this library.
|
||||
% //======================================================================================
|
||||
% //
|
||||
% // FILE: FixedPointIIR16.m
|
||||
% //
|
||||
% // TITLE: DSP2833x Device Fixed Point 16 Bit IIR Test Program
|
||||
% //
|
||||
% //
|
||||
% // ASSUMPTIONS:
|
||||
% //
|
||||
% // This matlab code is reference code for debugging FixedPoint DSP library
|
||||
% // function IIR32_calc and example project 2833x_FixedPoint_IIR16.
|
||||
% //
|
||||
% //
|
||||
% //
|
||||
% // Watch Variables:
|
||||
% //
|
||||
% // x_raw_sig Input signal (float)
|
||||
% // x_Q15 Input signal (Q15)
|
||||
% // B,A IIR filter coefficients array b,a
|
||||
% // filter_out_Q15 Filtered result using standard MATLAB filter function
|
||||
% // filer. It is used as reference to compare with
|
||||
% // the fixed point result. (Q15)
|
||||
% // x_output_final Output data by fixed point algorithm (Q15).
|
||||
% //
|
||||
% //######################################################################################
|
||||
% //
|
||||
% //
|
||||
% //
|
||||
%// C2000Ware v5.04.00.00
|
||||
%//Copyright (C) 2024 Texas Instruments Incorporated - http://www.ti.com
|
||||
%//
|
||||
%// Redistribution and use in source and binary forms, with or without
|
||||
%// modification, are permitted provided that the following conditions
|
||||
%// are met:
|
||||
%//
|
||||
%// Redistributions of source code must retain the above copyright
|
||||
%// notice, this list of conditions and the following disclaimer.
|
||||
%//
|
||||
%// Redistributions in binary form must reproduce the above copyright
|
||||
%// notice, this list of conditions and the following disclaimer in the
|
||||
%// documentation and/or other materials provided with the
|
||||
%// distribution.
|
||||
%//
|
||||
%// Neither the name of Texas Instruments Incorporated nor the names of
|
||||
%// its contributors may be used to endorse or promote products derived
|
||||
%// from this software without specific prior written permission.
|
||||
%//
|
||||
%// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
%// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
%// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
%// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
%// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
%// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
%// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
%// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
%// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
%// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
%// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
%//$
|
||||
% //######################################################################################
|
||||
|
||||
clear all
|
||||
close all
|
||||
|
||||
disp('==============================================================');
|
||||
disp('input signal is stored as Q16 format');
|
||||
disp('==============================================================');
|
||||
disp('this is Matlab version of IIR16 code');
|
||||
disp('The result is stored in array x_output_final in Q15 format');
|
||||
disp('The signal is stored in array x_raw_sig');
|
||||
disp('The fixed point input signal is stored in x_Q15 in Q15 format');
|
||||
disp('==============================================================');
|
||||
|
||||
MAX_TAPS=5;
|
||||
|
||||
RadStep = 0.1963495408494;
|
||||
|
||||
N=input('Please enter signal length N =');
|
||||
halfSize=N-1;
|
||||
|
||||
Rad=[0:RadStep:(halfSize)*RadStep];
|
||||
|
||||
Rx=sin(Rad)+cos(Rad*2.3567);
|
||||
Ix=0*(cos(Rad*8.345) + sin(Rad*5.789));
|
||||
|
||||
x=Rx+j*Ix;
|
||||
x_raw_sig=x/2;
|
||||
|
||||
x_Q15=2^15*x/2;
|
||||
|
||||
B=[ 0.000176614401432267
|
||||
0.00123630081002587
|
||||
0.00370890243007761
|
||||
0.00618150405012935
|
||||
0.00618150405012935
|
||||
0.00370890243007761
|
||||
0.00123630081002587
|
||||
0.000176614401432267];
|
||||
|
||||
A=[ 1
|
||||
-3.84708594662977
|
||||
6.78600477287384
|
||||
-6.96288772960265
|
||||
4.44516236478943
|
||||
-1.75415688503484
|
||||
0.39441771610976
|
||||
-0.0388476491224433];
|
||||
|
||||
A=A';B=B';
|
||||
|
||||
filter_out_Q15=filter(B,A,x_Q15);
|
||||
|
||||
% good
|
||||
isos=[ 307 307 0 8192 -3794 0
|
||||
668 1335 668 8192 -7894 2159
|
||||
541 1082 541 8192 -8904 3483
|
||||
13364 26729 13364 8192 -10923 6131];
|
||||
|
||||
% isos=[ 2456 2456 0 8192 -7587 0
|
||||
% 1329 2658 1329 8192 -15789 4319
|
||||
% 1032 2064 1032 8192 -17808 6967
|
||||
% 7039 14079 7039 8192 -21846 12261];
|
||||
|
||||
% isos=[15468 30936 15468 16384 10598 4039];
|
||||
|
||||
isf=4398;
|
||||
nbiq=4;
|
||||
qfmat=13;
|
||||
|
||||
d=zeros(nbiq,3);
|
||||
taps=3;
|
||||
|
||||
for k=1:length(x_Q15)
|
||||
|
||||
accum=floor(x_Q15(k)*isf);
|
||||
|
||||
for j=1:nbiq
|
||||
|
||||
b_temp=isos(j,1:3);
|
||||
a_temp=isos(j,4:6);
|
||||
|
||||
for ii=2:taps
|
||||
accum=accum-floor(a_temp(ii)*d(j,ii));
|
||||
end
|
||||
|
||||
% d(j,1)=accum*2^3/2^16;
|
||||
d(j,1)=floor(accum/2^qfmat);
|
||||
|
||||
accum1=0;
|
||||
|
||||
for ii=1:taps
|
||||
accum1=accum1+floor(b_temp(ii)*d(j,ii));
|
||||
end
|
||||
|
||||
for ii=(taps-2+1):-1:1
|
||||
d(j,ii+1)=d(j,ii);
|
||||
end
|
||||
|
||||
accum=floor(accum1);
|
||||
|
||||
end
|
||||
|
||||
x_no_scale_biq_fixed(k)=(accum1)/2^qfmat; % direct I form high order implementation output
|
||||
|
||||
end
|
||||
|
||||
figure(1)
|
||||
plot(filter_out_Q15)
|
||||
peak1=max(filter_out_Q15);
|
||||
hold on
|
||||
peak2=max(x_no_scale_biq_fixed);
|
||||
plot(x_no_scale_biq_fixed,'r')
|
||||
|
||||
x_output_final=floor(x_no_scale_biq_fixed/2);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+246
@@ -0,0 +1,246 @@
|
||||
|
||||
Ni=500; % Number of impulses required for Impulse response
|
||||
FMAT=16; % 16 bit representation or 32 bit representation
|
||||
disp('ezIIR FILTER DESIGN SCRIPT');
|
||||
disp('Butterworth : 1');
|
||||
disp('Chebyshev(Type 1) : 2');
|
||||
disp('Chebyshev(Type 2) : 3');
|
||||
disp('Elliptic : 4');
|
||||
ftype=input('Select Any one of the above IIR Filter Type : ');
|
||||
disp('Low pass : 1');
|
||||
disp('High Pass : 2');
|
||||
disp('Band Pass : 3');
|
||||
disp('Band Stop : 4');
|
||||
fres=input('Select Any one of the above Response : ');
|
||||
fs=input('Enter the Sampling frequency : ');
|
||||
Rp=input('Enter the Pass band Ripples in dB(RP) : ');
|
||||
Rs=input('Enter the stop band Rippled in dB(RS) : ');
|
||||
Wp=input('Enter the pass band corner frequency(FP) : ');
|
||||
Ws=input('Enter the stop band corner frequency(FS) : ');
|
||||
fname=input('Enter the name of the file for coeff storage : ','s');
|
||||
|
||||
% Design the Filter
|
||||
if fres==1
|
||||
res='low';
|
||||
elseif fres==2
|
||||
res='high';
|
||||
elseif fres==3
|
||||
res='bandpass';
|
||||
elseif fres==4
|
||||
res='stop';
|
||||
end
|
||||
|
||||
Wp=Wp/(fs/2); % Normalise the frequency values
|
||||
Ws=Ws/(fs/2); % Normalise the frequency values
|
||||
|
||||
if ftype==1
|
||||
[N,Wn]=buttord(Wp,Ws,Rp,Rs);
|
||||
[Z,P,K]=butter(N,Wn,res);
|
||||
end
|
||||
|
||||
if ftype==2
|
||||
[N,Wn]=cheb1ord(Wp,Ws,Rp,Rs);
|
||||
[Z,P,K]=cheby1(N,Rp,Wn,res);
|
||||
end
|
||||
|
||||
if ftype==3
|
||||
[N,Wn]=cheb2ord(Wp,Ws,Rp,Rs);
|
||||
[Z,P,K]=cheby2(N,Rs,Wn,res);
|
||||
end
|
||||
|
||||
if ftype==4
|
||||
[N,Wn]=ellipord(Wp,Ws,Rp,Rs);
|
||||
[Z,P,K]=ellip(N,Rp,Rs,Wn,res);
|
||||
end
|
||||
|
||||
sos=zp2sos(Z,P,K); % Convert ZP to SOS
|
||||
ssos=sos; % Copy of SOS, will be used for scaling
|
||||
isos=ssos; % Copy of SOS, will be used for Q format Rep
|
||||
nbiq=size(sos,1); % Number of biquads(no of rows)
|
||||
dmag=zeros(1,nbiq); % Clear Peak manitude buffer for Delay node
|
||||
ymag=zeros(1,nbiq); % Clear Peak manitude buffer for Output node
|
||||
sf=zeros(1,nbiq); % Clear Scale Factor array
|
||||
|
||||
B=zeros(1,nbiq*3);
|
||||
A=zeros(1,nbiq*3);
|
||||
|
||||
% Obtain the peak magnitude at various nodes in Cascaded Biquad implementation
|
||||
for i=1:nbiq % Loop to find the peak magnitude in SOS nodes
|
||||
if i==1 % Obtain the peak magnitue at the first delay node
|
||||
num=[1 0 0];
|
||||
den=sos(1,4:6);
|
||||
h=impz(num,den,Ni);
|
||||
dmag(i)=sum(abs(h));
|
||||
end
|
||||
|
||||
if i~=1 % Obtain the peak magnitue at the delay node
|
||||
[num,den]=sos2tf(sos(1:i-1,:));
|
||||
den=conv(den,sos(i,4:6));
|
||||
h=impz(num,den,Ni);
|
||||
dmag(i)=sum(abs(h));
|
||||
end
|
||||
|
||||
[num,den]=sos2tf(sos(1:i,:)); % Obtain the peak magnitue at the biquad output node
|
||||
h=impz(num,den,Ni);
|
||||
ymag(i)=sum(abs(h));
|
||||
sf(i)=max(ymag(i),dmag(i));
|
||||
end
|
||||
|
||||
% Scale the B coeff of biquad to avoid overflow in the node
|
||||
|
||||
for i=2:nbiq
|
||||
scale=sf(i)/sf(i-1);
|
||||
ssos(i-1,1:3)=ssos(i-1,1:3)/scale;
|
||||
end
|
||||
|
||||
% Scale the 'b' coeff of last BIQUAD
|
||||
ssos(nbiq,1:3)=ssos(nbiq,1:3)*sf(nbiq);
|
||||
|
||||
% Determine the Q format for representing the coefficients & Input Scale factor
|
||||
maxcoeff=max(max(abs(ssos)));
|
||||
maxval=max(maxcoeff,1/sf(1)); % Modified from max(maxcoeff, sf(1)), Settu 27/12/2001
|
||||
qformat=FMAT-1;
|
||||
if(maxval>1)
|
||||
qformat=(FMAT-1)-ceil(log2(maxval));
|
||||
qscale=2^qformat;
|
||||
end
|
||||
|
||||
% Respresent the scaled second order section and ISF in appropriate number format
|
||||
isos=ssos*qscale;
|
||||
isos=round(isos);
|
||||
|
||||
isf=(1/sf(1))*qscale; % Represent the input scale factor in Fixed Point format
|
||||
isf=round(isf);
|
||||
|
||||
% Saturate the coefficient to maximum positive value
|
||||
for i=1:nbiq
|
||||
for j=1:6
|
||||
if isos(i,j)==2^(FMAT-1)
|
||||
isos(i,j)=(2^(FMAT-1))-1;
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if isf==2^(FMAT-1) % Saturate to maximum positive value
|
||||
isf=(2^(FMAT-1))-1;
|
||||
end
|
||||
|
||||
% Open the file and store the scaled IIR filter coefficients and Input scale factor
|
||||
fid = fopen(fname,'w');
|
||||
|
||||
fprintf(fid,'#define IIR16_COEFF {\\');
|
||||
fprintf(fid,'\n');
|
||||
for i=1:nbiq
|
||||
fprintf(fid,'\t\t\t');
|
||||
bis=isos(i,1:3);
|
||||
bis=fliplr(bis);
|
||||
ais=isos(i,5:6);
|
||||
ais=-fliplr(ais); % Negate the 'a' coefficients
|
||||
fprintf(fid,'%d,',ais);
|
||||
fprintf(fid,'%d,',bis);
|
||||
fprintf(fid,'\\');
|
||||
fprintf(fid,'\n');
|
||||
end
|
||||
fseek(fid,-3,0);
|
||||
fprintf(fid,'}\n');
|
||||
fprintf(fid,'\n#define IIR16_ISF\t%d\n',isf);
|
||||
fprintf(fid,'#define IIR16_NBIQ\t%d\n',nbiq);
|
||||
fprintf(fid,'#define IIR16_QFMAT\t%d\n',qformat);
|
||||
fclose(fid);
|
||||
|
||||
% Display Q format of the IIR filter coefficients, No of biquads
|
||||
disp(' ');
|
||||
disp('Q format of the IIR filter coefficients:');
|
||||
disp(qformat);
|
||||
|
||||
disp('Input Scaling value:');
|
||||
disp(1/sf(1));
|
||||
|
||||
disp('Number of Biquads:');
|
||||
disp(nbiq);
|
||||
|
||||
% Plot the frequency response of the filter
|
||||
[B,A]=sos2tf(sos);
|
||||
[H,f]=freqz(B,A,512,fs);
|
||||
figure(1);
|
||||
subplot(2,1,1);
|
||||
plot(f,abs(H));
|
||||
grid;
|
||||
xlabel('Hertz');
|
||||
ylabel('Magnitude Response');
|
||||
subplot(2,1,2);
|
||||
plot(f,unwrap(angle(H))*180/pi);
|
||||
grid;
|
||||
xlabel('Hertz');
|
||||
ylabel('Phase (degrees)');
|
||||
figure(2);
|
||||
freqz(B,A,512,fs);
|
||||
|
||||
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% % Simulated signal generation
|
||||
%
|
||||
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
RadStep = 0.1963495408494;
|
||||
|
||||
N=input('Please enter signal length N =');
|
||||
halfSize=N-1;
|
||||
|
||||
Rad=[0:RadStep:(halfSize)*RadStep];
|
||||
|
||||
Rx=sin(Rad)+cos(Rad*2.3567);
|
||||
Ix=0*(cos(Rad*8.345) + sin(Rad*5.789));
|
||||
|
||||
x=Rx+j*Ix;
|
||||
x_raw_sig=x/2;
|
||||
|
||||
x_Q15=2^15*x/2;
|
||||
|
||||
filter_out_Q15=filter(B,A,x_Q15);
|
||||
|
||||
d=zeros(nbiq,3);
|
||||
taps=3;
|
||||
|
||||
for k=1:length(x_Q15)
|
||||
|
||||
accum=floor(x_Q15(k)*isf);
|
||||
|
||||
for j=1:nbiq
|
||||
|
||||
b_temp=isos(j,1:3);
|
||||
a_temp=isos(j,4:6);
|
||||
|
||||
for ii=2:taps
|
||||
accum=accum-floor(a_temp(ii)*d(j,ii));
|
||||
end
|
||||
|
||||
% d(j,1)=accum*2^3/2^16;
|
||||
d(j,1)=floor(accum/2^qformat);
|
||||
|
||||
accum1=0;
|
||||
|
||||
for ii=1:taps
|
||||
accum1=accum1+floor(b_temp(ii)*d(j,ii));
|
||||
end
|
||||
|
||||
for ii=(taps-2+1):-1:1
|
||||
d(j,ii+1)=d(j,ii);
|
||||
end
|
||||
|
||||
accum=floor(accum1);
|
||||
|
||||
end
|
||||
|
||||
x_no_scale_biq_fixed(k)=(accum1)/2^qformat; % direct I form high order implementation output
|
||||
|
||||
end
|
||||
|
||||
figure(4)
|
||||
plot(filter_out_Q15)
|
||||
peak1=max(filter_out_Q15);
|
||||
hold on
|
||||
peak2=max(x_no_scale_biq_fixed);
|
||||
plot(x_no_scale_biq_fixed,'r')
|
||||
|
||||
x_output_final=floor(x_no_scale_biq_fixed/2);
|
||||
+180
@@ -0,0 +1,180 @@
|
||||
//#############################################################################
|
||||
//! \file $FOLDER_EXAMPLES$/$DEVICE$_FixedPoint_IIR16/iir16d.c
|
||||
//!
|
||||
//! \brief 16-bit IIR Filter Example
|
||||
//!
|
||||
//! \date Aug 12, 2014
|
||||
//!
|
||||
//! This examples shows how to implement a 16-bit IIR filter using the optimized
|
||||
//! IIR library routines. The IIR structure is as follows:
|
||||
//!
|
||||
//! typedef struct {
|
||||
//! void (*init)(void *);
|
||||
//! void (*calc)(void *);
|
||||
//! int *coeff_ptr;
|
||||
//! int *dbuffer_ptr;
|
||||
//! int nbiq;
|
||||
//! int input;
|
||||
//! int isf;
|
||||
//! int qfmat;
|
||||
//! int output;
|
||||
//! }IIR5BIQ16;
|
||||
//!
|
||||
//! Users can also use default templates defined within filter.h to initialize
|
||||
//! the IIR16 header structure.
|
||||
//!
|
||||
//! IIR16 iir= IIR16_DEFAULTS;
|
||||
//!
|
||||
//! The MATLAB Filter Design and Analysis Tool (FDATool) is a useful tool
|
||||
//! for designing filters and generating fixed point coefficients. Refer
|
||||
//! to the appendix of the Fixed Point DSP Libray User's Guide for more
|
||||
//! information.
|
||||
//! The eziir16.m MATLAB script ($FOLDER_EXAMPLES$/$DEVICE$_FixedPoint_IIR16/matlab/
|
||||
//! eziir16.m) can be used to generate the filter coefficients in a way as to prevent
|
||||
//! overflow of the output. Please refer to SPRA509 (Overflow Avoidance Techniques in
|
||||
//! Cascaded IIR Filter Implementations on the TMS320 DSP's) for a better understanding
|
||||
//! of what the process is. The script will generate a Q-format and Input Scaling Factor
|
||||
//! for the coefficients, QFMAT and ISF respectively, that will be used in the IIR5BIQ16
|
||||
//! object initialization.
|
||||
//!
|
||||
//! \b Watch \b Variables
|
||||
//! - iir IIR16 object
|
||||
//!
|
||||
//! In CCS, you can invoke the "SetupDebugEnv.js" script from the
|
||||
//! Scripting console to have these variables set up in the Watch window
|
||||
//! and create graphs to show the input/output vectors
|
||||
//
|
||||
// Group: C2000
|
||||
// Target Family: C28x
|
||||
//
|
||||
//#############################################################################
|
||||
//
|
||||
//
|
||||
// $Copyright: Copyright (C) 2014-2024 Texas Instruments Incorporated -
|
||||
// http://www.ti.com/ ALL RIGHTS RESERVED $
|
||||
//#############################################################################
|
||||
|
||||
//*****************************************************************************
|
||||
// includes
|
||||
//*****************************************************************************
|
||||
#include "examples_setup.h"
|
||||
#include <filter.h>
|
||||
|
||||
//*****************************************************************************
|
||||
// defines
|
||||
//*****************************************************************************
|
||||
// Filter Symbolic Constants
|
||||
#define SIGNAL_LENGTH 100
|
||||
|
||||
//*****************************************************************************
|
||||
// globals
|
||||
//*****************************************************************************
|
||||
// Create an Instance of IIR5BIQD16 module and place the object in
|
||||
// "iirfilt" section
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(iir, "iirfilt");
|
||||
#else
|
||||
#pragma DATA_SECTION("iirfilt");
|
||||
#endif
|
||||
IIR5BIQ16 iir = IIR5BIQ16_DEFAULTS;
|
||||
|
||||
// Modify the delay buffer size to be commensurate with the number of biquads
|
||||
// in the filter. Size of the Delay buffer = 2*nbiq i.e. two delay elements
|
||||
// per biquad
|
||||
// Define the Delay buffer for the cascaded 6 biquad IIR filter and place it
|
||||
// in "iirfilt" section
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(dbuffer, "iirldb");
|
||||
#else
|
||||
#pragma DATA_SECTION("iirldb");
|
||||
#endif
|
||||
int dbuffer[2*IIR16_LPF_NBIQ];
|
||||
|
||||
// Input/output buffer
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigIn, "sigIn");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigIn");
|
||||
#endif
|
||||
int16_t sigIn[SIGNAL_LENGTH];
|
||||
|
||||
#ifndef __cplusplus
|
||||
#pragma DATA_SECTION(sigOut, "sigOut");
|
||||
#else
|
||||
#pragma DATA_SECTION("sigOut");
|
||||
#endif
|
||||
int16_t sigOut[SIGNAL_LENGTH];
|
||||
|
||||
// For each biquad there are 6 coefficients: a0, a1, a2, b0, b0, b2.
|
||||
// a0 is always 1, therefore, we need 5 coefficients for each biquad
|
||||
// xn------>(x)--->(+)--------------->yn
|
||||
// | ^ ^ |
|
||||
// | | |q4 |
|
||||
// | b(0) (z) |
|
||||
// | ^ |
|
||||
// | |q3 |
|
||||
// |-->(x)--->(+)<-----(x)---|
|
||||
// | ^ ^ ^ |
|
||||
// | | |q2 | |
|
||||
// | b(1) (z) a(1) |
|
||||
// | ^ |
|
||||
// | |q1 |
|
||||
// --->(x)--->(+)<-----(x)----
|
||||
// ^ ^
|
||||
// | |
|
||||
// b(2) a(2)
|
||||
// Size of the coefficient array = 5 * nbiq
|
||||
const int coeff[5*IIR16_LPF_NBIQ] = IIR16_LPF_COEFF;
|
||||
|
||||
|
||||
// Start of main()
|
||||
int main(void)
|
||||
{
|
||||
// Locals
|
||||
int32_t xn = 0, yn = 0;
|
||||
float RadStep = 0.1963495408494f;
|
||||
float Rad = 0.0f;
|
||||
uint32_t i = 0;
|
||||
|
||||
#ifdef _FLASH
|
||||
FIXPT_DSP_initFlash();
|
||||
#endif //_FLASH
|
||||
FIXPT_DSP_initSystemClocks();
|
||||
FIXPT_DSP_initEpie();
|
||||
|
||||
for(i=0; i < SIGNAL_LENGTH; i++){
|
||||
sigIn[i] =0;
|
||||
sigOut[i] =0;
|
||||
}
|
||||
|
||||
|
||||
// IIR Filter Initialization
|
||||
iir.dbuffer_ptr = (int16_t *)dbuffer;
|
||||
iir.coeff_ptr = (int16_t *)coeff;
|
||||
iir.qfmat = IIR16_LPF_QFMAT;
|
||||
iir.nbiq = IIR16_LPF_NBIQ;
|
||||
iir.isf = IIR16_LPF_ISF;
|
||||
iir.init(&iir);
|
||||
|
||||
for(i=0; i < SIGNAL_LENGTH; i++){
|
||||
xn = (int)(32768*(sin(Rad) + cos(Rad*2.3567))/2); //Q15
|
||||
sigIn[i] = xn;
|
||||
iir.input = xn;
|
||||
iir.calc(&iir);
|
||||
yn = iir.output;
|
||||
sigOut[i] = yn;
|
||||
Rad = Rad + RadStep;
|
||||
}
|
||||
|
||||
//asm(" ESTOP0");
|
||||
for(;;);
|
||||
|
||||
// code should never reach this pointer
|
||||
return 1;
|
||||
|
||||
} /* End: main() */
|
||||
|
||||
|
||||
//###########################################################################
|
||||
// End of File
|
||||
//###########################################################################
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?ccsproject version="1.0"?>
|
||||
<projectOptions>
|
||||
<deviceFamily value="C2000"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse-cdt version="2.0"?>
|
||||
|
||||
<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
|
||||
<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<data>
|
||||
<item id="org.eclipse.cdt.core.pathentry">
|
||||
<pathentry kind="src" path=""/>
|
||||
<pathentry kind="out" path=""/>
|
||||
<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
|
||||
<pathentry kind="con" path="com.ti.ccstudio.managedbuild.core.CCS_CONTAINER"/>
|
||||
</item>
|
||||
</data>
|
||||
</cdtproject>
|
||||
@@ -0,0 +1,194 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.978373441">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.978373441" moduleId="org.eclipse.cdt.core.settings" name="RAM">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_IIR32" buildProperties="" description="RAM build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.978373441" name="RAM" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.978373441.1210709408" name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1731601662" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1574755850">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1612003568" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1885410142" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.450000199" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.1521677033" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.337437269" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.1712609775" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.1528006560" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.590686577" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.519819398" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.463964264" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.1878859222" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.656087405" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="RAM"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.1617026371" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.1937046057" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.97854740" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.1135848726" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.626206009" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1574755850" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.1643075200" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.2079427389" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_IIR32.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.1177402000" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_IIR32.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.1421695763" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.1484624360" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.1554149858" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.1022530669" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="RAM" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1191068344" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_IIR32_linkInfo.xml"" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.1133211110" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.986970540" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.121850270" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry excluding="28335_RAM_lnk.cmd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Debug.978373441.1255240280">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.978373441.1255240280" moduleId="org.eclipse.cdt.core.settings" name="_FLASH">
|
||||
<macros>
|
||||
<stringMacro name="INSTALLROOT_TO_FIXEDPTLIB" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
|
||||
<stringMacro name="INSTALLROOT_2833X" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../../../../../../device_support/f2833x"/>
|
||||
</macros>
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="2833x_FixedPoint_IIR32" buildProperties="" description="_FLASH build configuration" id="com.ti.ccstudio.buildDefinitions.C2000.Debug.978373441.1255240280" name="_FLASH" parent="com.ti.ccstudio.buildDefinitions.C2000.Debug">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Debug.978373441.1255240280." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain.1111615399" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.550253436">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1430782307" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28335"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=COFF"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=28335_RAM_lnk.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rts2800_ml.lib"/>
|
||||
<listOptionValue builtIn="false" value="IS_ELF=false"/>
|
||||
<listOptionValue builtIn="false" value="PROJECT_KIND=com.ti.ccstudio.managedbuild.core.ProjectKind_Executable"/>
|
||||
<listOptionValue builtIn="false" value="IS_ASSEMBLY_ONLY=false"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.235145517" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="6.2.5" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug.231753850" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug.969221650" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug.440582175" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL.110761383" name="Use large memory model (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY.227261507" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.106900918" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT.1603288564" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.FLOAT_SUPPORT._none" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.99263295" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH.1172768505" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/headers/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_2833X}/common/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/examples/common""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING.610240837" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE.155044229" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FLASH"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS.388038025" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS.1222538111" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS.1579768018" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS.1591012011" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug.1315878452" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE.2141302724" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.STACK_SIZE" value="0x300" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE.2058405331" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.OUTPUT_FILE" value=""2833x_FixedPoint_IIR32.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE.1423844074" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.MAP_FILE" value=""2833x_FixedPoint_IIR32.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles.536139671" name="[Deprecated] Generated Linker Command files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.generatedLinkerCommandFiles" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value=""$(GEN_CMDS_QUOTED)""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY.1711722247" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="c28x_fixedpoint_dsp_library.lib"/>
|
||||
<listOptionValue builtIn="false" value=""rts2800_ml.lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH.1889156958" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
|
||||
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
|
||||
<listOptionValue builtIn="false" value=""${INSTALLROOT_TO_FIXEDPTLIB}/lib""/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO.1110502481" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.XML_LINK_INFO" value=""2833x_FixedPoint_IIR32_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE.19499481" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.linkerID.DEFINE" value="_FLASH" valueType="string"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS.1821517402" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS.430280743" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS.561341967" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="2833x_FixedPoint_IIR32.com.ti.ccstudio.buildDefinitions.C2000.ProjectType.78671653" name="C2000" projectType="com.ti.ccstudio.buildDefinitions.C2000.ProjectType"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
|
||||
<project-mappings>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
|
||||
</project-mappings>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration"/>
|
||||
</cproject>
|
||||
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>2833x_FixedPoint_IIR32</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>com.ti.ccstudio.core.ccsNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>DSP2833x_ADC_cal.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_ADC_cal.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Adc.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_Adc.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CodeStartBranch.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CodeStartBranch.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_CpuTimers.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_CpuTimers.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DBGIER.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DBGIER.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_DefaultIsr.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_DefaultIsr.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_GlobalVariableDefs.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/source/DSP2833x_GlobalVariableDefs.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_Headers_nonBIOS.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/headers/cmd/DSP2833x_Headers_nonBIOS.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_PieVect.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_PieVect.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_SysCtrl.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_SysCtrl.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>DSP2833x_usDelay.asm</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_2833X/common/source/DSP2833x_usDelay.asm</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>F28335_FIXPT_IIR5BIQ_lnk.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/cmd/F28335_FIXPT_IIR5BIQ_lnk.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>examples_setup.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>INSTALLROOT_TO_FIXEDPTLIB/examples/common/examples_setup.c</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>INSTALLROOT_2833X</name>
|
||||
<value>$%7BPARENT-6-PROJECT_LOC%7D/device_support/f2833x</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>INSTALLROOT_TO_FIXEDPTLIB</name>
|
||||
<value>$%7BPARENT-2-PROJECT_LOC%7D</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
||||
BIN
Binary file not shown.
+5
@@ -0,0 +1,5 @@
|
||||
//Add watch window variables
|
||||
expRemoveAll()
|
||||
expAdd("iir", getNatural())
|
||||
|
||||
openAnalysisView('Dual Time','C:/Users/a0272561/Repositories/cs30_controlsuite/libs/dsp/FixedPointLib/version/examples/2833x_FixedPoint_IIR32/IIR32_IN_OUT.graphProp')
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user