Be the first to rate this file! 34 downloads (last 30 days) File Size: 3.21 MB File ID: #22634

Profiling DSP Code on a TI DM6437

by Kerry Schutz

 

09 Jan 2009

No BSD License  

Comare and contrast 3 different methods of profiling DM6437 DSP code

Download Now | Watch this File

File Information
Description

This paper walks you through the process of profiling code running on a Texas Instruments DM6437 DSP. To demonstrate the process we profiled many common DSP algorithms including Auto-Correlation, the Dot Product, the FFT, an FIR filter, an IIR Filter, a Matrix Multiply, and an LMS Filter. These algorithms were profiled under different conditions. We examined the effects of data type, arithmetic, compiler optimization levels, and the use of DSP intrinsics. For each DSP algorithm profiled, we compared automatically generated C code to TI hand-optimized assembly. The bulk of this paper uses a profiling technique integrated with MATLAB, Simulink, the Real-Time Workshop, and Code Composer Studio by Texas Instruments (TI). This technique uses TI STS Objects strategically placed into the code serving as time markers. We also compare and contrast this technique with more traditional profiling approaches which are independent of any 3rd party software or IDE.

Required Products Embedded IDE Link CC
Fixed-Point Toolbox
Real-Time Workshop
Real-Time Workshop Embedded Coder
Signal Processing Blockset
Signal Processing Toolbox
Simulink
Simulink Fixed Point
Target Support Package TC6
MATLAB release MATLAB 7.7 (R2008b)
Other requirements Spectrum Digital DM6437 EVM if you want to reproduce the results on the hardware
Zip File Content  
Other Files
ac_compare.mdl,
ac_measure.mdl,
blink_led.mdl,
build_and_profile.m,
dp_compare.mdl,
dp_measure.mdl,
elliptic_bpf_4th_order.fda,
example_sel.txt,
fft_compare.mdl,
fft_input_1024.mat,
fft_input_256.mat,
fft_measure.mdl,
fir_compare.mdl,
fir_lpf.fda,
fir_measure.mdl,
fir_measure_adc.mdl,
gen_iir_coeffs.m,
iir_compare.mdl,
iir_measure.mdl,
lms_compare.mdl,
lms_measure.mdl,
mm_compare.mdl,
mm_measure.mdl,
Must_have_WebEx_Player.doc,
profile_dm6437.doc,
profile_ext_mode.mdl,
profile_tfl.mdl,
profile_using_atomic_ss.mdl,
profile_using_led.mdl,
profile_using_timers.mdl,
README.TXT,
run_exsel.m,
~$ofile_dm6437.doc
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
dsp Kerry Schutz 09 Jan 2009 12:41:57
ti Kerry Schutz 09 Jan 2009 12:41:57
texas instruments Kerry Schutz 09 Jan 2009 12:41:57
profiling Kerry Schutz 09 Jan 2009 12:41:57
profile Kerry Schutz 09 Jan 2009 12:41:57
benchmarking Kerry Schutz 09 Jan 2009 12:41:57
benchmarks Kerry Schutz 09 Jan 2009 12:41:57
dm6437 Kerry Schutz 09 Jan 2009 12:41:57
code generation Kerry Schutz 09 Jan 2009 12:41:57
link for ccs Kerry Schutz 09 Jan 2009 12:41:57
tc6 Kerry Schutz 09 Jan 2009 12:41:57
target support package tc6 Kerry Schutz 09 Jan 2009 12:41:57
embedded ide link cc Kerry Schutz 09 Jan 2009 12:41:57

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com