Embedded Target for Texas Instruments C6000 DSPs    

Configuring Simulation Parameters for Your Model

The following sections describe how to build and run real-time digital signal processing models on your C6701 EVM. Running a 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 your model executable file, 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 C6701 EVM:

  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 C6000 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 updates 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.
  2. From the Code generation target type list, choose C6701_EVM.
  3. For Category, select TI C6000 code generation to specify code generation options that apply to the C6701 EVM target.
  4. Select the Inline DSP Blockset functions option.
  5. For Category, select TI C6000 compiler to set the Real-Time Workshop compile options.
  6. Set the following options in the dialog:
  7. Change the Category to TI C6000 linker.
  8. Set the linker operation options.
  9. Change the Category to TI C6000 runtime.
  10. Set the following Real-Time Workshop run-time options:
  1. You have configured the Real-Time Workshop options that let you target your C6701 EVM. You may have noticed that you did not configure three Real-Time Workshop options on the Category list: TLC debugging, General code generation options, and General code generation options (cont.). For your new model, the default values for the 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 TLC debugging when you generate code.

Building and Executing Your Model on Your C6701 EVM

After you set the simulation parameters and configure 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 file targeted to your C6701 EVM.
  1. When you click Build with Build_and_execute selected for Build action, the automatic build process creates an executable file that can be run by the C6701 DSP on your C6701 EVM, and then downloads the executable file to the target and runs the file.

  1. To stop model execution, click the Reset C6701 EVM block or use the Halt option in CCS. You could type halt from the MATLAB command prompt as well.

Testing Your Audio Reverb Model

With your model running on your C6701 EVM, 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 c6701evmafxr, try running the demonstration model to compare the results.


  C6701 EVM Tutorial 2-1--Single Rate Application C6701 EVM Tutorial 2-2--A More Complex Application