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:
0.0
and Stop time to inf
(model runs without stopping)
fixed-step
and discrete
settings from the lists
auto
and select Single Tasking
for the Mode
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:
Target configuration
.
ti_c6000.tlc
and click OK to close the browser.
TI C6000 target
selection
.
C6711_DSK
.
TI C6000 compiler
to set the Real-Time Workshop compile options.
TI C6000 linker
.
Full memory map
from the list
TI C6000 runtime
.
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.
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.
halt
from the MATLAB command prompt
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 | ![]() |