Embedded Target for Texas Instruments C6000 DSPs    

Configuring Simulation Parameters for Your Model

The following sections describe how to build and run your real-time digital signal processing model on your C6711 DSK. Running the model on the target starts with configuring and building your model from the Simulation Parameters dialog in Simulink.

Setting Simulink Simulation Parameters

After you have designed and implemented your digital signal processing model in Simulink, complete the following steps to set the simulation parameters for the model:

  1. Open the Simulation Parameters dialog and set the appropriate options on the Solver pane for your model and for the Embedded Target for TI C6000 DSP.
  2. Ignore the Workspace I/O, Diagnostics, and Advanced panes in the Simulation Parameters dialog. The default settings are correct for your new model.

Setting Real-Time Workshop Target Build Options

To configure Real-Time Workshop to use the correct target files and to compile and run the model executable, you set the options on the Real-Time Workshop pane of the Simulation Parameters dialog. Follow these steps to set the Real-Time Workshop options to target your C6711 DSK for running your model:

  1. Click the Real-Time Workshop tab.
  2. For Category, select Target configuration.
  3. Under Configuration, click Browse to select the system target file for the C6000 hardware targets.
  4. On the System Target File Browser, select the system target file ti_c6000.tlc and click OK to close the browser.
  1. Real-Time Workshop fills the Template makefile and Make command options with the appropriate files based on your system target file selection.

  1. To choose your C6000 target, change Category to TI C6000 target selection.
  2. From the Code generation target type list, choose C6711_DSK.
  3. For Category, select TI C6000 compiler to set the Real-Time Workshop compile options.
  4. Set the following options in the dialog:
  5. Change the Category to TI C6000 linker.
  6. Set the linker operation options.
  7. Change the Category to TI C6000 runtime.
  8. Select the following Real-Time Workshop runtime options:

You have configured the Real-Time Workshop options that let you target your C6711 DSK. Notice that you did not configure three Real-Time Workshop options on the Category list:

For your model in this tutorial, the default values for options in these categories are correct. For other models you develop, you may want to set the options in these categories to provide information during the build and to launch target languange compiler (TLC) debugging when you generate code.

Building and Executing Your Model on Your C6711 DSK

After you set the simulation parameters and configured Real-Time Workshop to create the files you need, you direct Real-Time Workshop to build, download, and run your model executable on your target.

  1. Click Build to generate and build an executable targeted to the C6711 DSK.
  1. When you click Build with the Build_and_execute option selected, the automatic build process creates the executable file that can be run by the C6711 DSP on the C6711 DSK, and then downloads and runs the executable file on your target.

  1. Stop model execution by one of the following methods:

Testing Your Audio Reverb Model

With your model running on your C6711 DSK, speak into the microphone you connected to the board. The model should generate a reverberation effect out of the speakers, delaying and echoing the words you speak into the mike. If you built the model yourself, rather than using the supplied model c6711dskafxr, try running the demonstration model to compare the results.


  C6711 DSK Tutorial 2-3--Single Rate Application Running Models on Your C6711 DSK