5.0

5.0 | 1 rating Rate this file 17 downloads (last 30 days) File Size: 1.69 MB File ID: #13044

DSP Code Verification using UDP

by Kerry Schutz

 

18 Nov 2006 (Updated 20 Nov 2006)

No BSD License  

How to verify the functionality of your DSP code via processor in-the-loop co-simulation using Simul

Download Now | Watch this File

File Information
Description

In this document I show how to verify the functionality of your DSP code via processor in-the-loop (PIL) co-simulation using Simulink?s UDP (user datagram protocol) blocks. These blocks are a new addition to the R2006b release of Simulink. This example is an extension of a previous example which was based on using Texas Instrument?s RTDX (real-time data exchange) instead of UDP. Conceptually you can replace the acronym ?RTDX? in that document with the acronym ?UDP? and you would have this document. In practical terms however there is more to it than just replacing RTDX blocks with UDP blocks and pressing build or play. Those differences are the motivation behind this document.

In this document I show how to use Simulink?s Target/Host UDP blocks to verify a simple fixed point design that uses frame-based processing. The target hardware is a C6416 DSK by Spectrum Digital with a DSK-91C111 D.SignT daughter card plugged into the External Peripheral Interface.

If you are not familiar with the concept of PIL and MBD (Model-based design) I suggest you read the document rtdx_intro.doc. It introduces MBD and PIL in the context of RTDX but the document is general enough that any communications protocol would apply.

Required Products Real-Time Workshop
Real-Time Workshop Embedded Coder
Signal Processing Blockset
Signal Processing Toolbox
Simulink
Simulink Fixed Point
MATLAB release MATLAB 7.3 (R2006b)
Zip File Content  
HTML Files Profile Report
Other Files udp/example_sel2html.m,
udp/exsel_udp.txt,
udp/gain/gain_6416_hst_udp.mdl,
udp/gain/gain_6416_tgt_udp.mdl,
udp/udp_exsel.txt,
udp/README.DOC,
udp/gain/gain_golden.mdl,
udp/gain/gain_udp.doc,
udp/gain/gain_float_minus_fixed.mdl
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
22 Dec 2006 Jon Dunsdon

I'm confused as R2006b Simulink does not contain UDP blocks, so the models in this package produce the following error: Warning: Unable to open model file 'etargetslib.mdl'.

31 Jan 2009 Rajkumar Dayalan  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
hardware targets Kerry Schutz 22 Oct 2008 08:49:36
udp ethernet dsp code verification embedded rtdx ti Kerry Schutz 22 Oct 2008 08:49:36
 

MATLAB Central Terms of Use

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 Terms prior to use.

Contact us at files@mathworks.com