5.0 | 1 rating Rate this file 7 Downloads (last 30 days) File Size: 1.69 MB File ID: #13044 Version: 1.0
image thumbnail

DSP Code Verification using UDP


Kerry Schutz (view profile)


18 Nov 2006 (Updated )

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

| Watch this File

File Information

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 Simulink Coder
Embedded Coder
DSP System Toolbox
Signal Processing Toolbox
Simulink Fixed Point
MATLAB release MATLAB 7.3 (R2006b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
31 Jan 2009 Rajkumar Dayalan  
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'.

Comment only

Contact us