User`s guide

Table Of Contents
Using the c2000lib Blockset
1-29
You start the automatic code generation process from the Simulink model
window by clicking
Build in the Real-Time Workshop pane of the Simulation
Parameters
dialog. Other ways of starting the code generation process are by
using the Build all button on the toolbar of your model, or by using the
keyboard shortcut, Ctrl-B, while your model is open and in focus.
The code building process consists of these tasks:
1 Real-Time Workshop invokes the function make_rtw to start the Real-Time
Workshop build procedure for a block diagram.
make_rtw invokes the Target
Language Compiler to generate the code and then invokes the
language-specific make procedure.
2 gmake builds file modelname.out. Depending on the build options you select
in the
Simulation Parameters dialog, gmake can initiate the sequence that
downloads and executes the model on your TI target board.
Creating Code Composer Studio Projects Without
Loading
To create projects in CCS without loading files to your target, follow these
steps:
1 In the Real-Time Workshop pane in the Simulation Parameters dialog,
select
ti_c2000.tlc as the system target file.
2 Select Create_CCS_Project for the BuildAction in the Target Preferences
block. Note that the
Build and Build_and_execute options create CCS
projects as well.
3 Set the other Target Preferences options, including those for CCSLink. On
the
Real-Time Workshop pane of the Simulation Parameters dialog, click
Build to build your new CCS project.
Real-Time Workshop and the Embedded Target for TI C2000 DSP generate
all the files for your project in CCS and create a new project in the IDE. Your
new project is named for the model you built.
In CCS you see your project with the files in place in the directory tree.