User`s guide

Getting Started
14-9
Generated Files
This table lists the Ada files generated by the Real-Time Workshop Ada Coder
from the counter demonstration (
countersdemo).
Models with S-Functions
Non-inlined Ada S-functions are currently not supported by the Real-Time
Workshop Ada Coder. It is possible, however, to generate Ada code for models
with C MEX S-functions. To do so, you must create a TLC file that incorporates
the algorithm from your S-function. The example presented in this section
shows how to write a TLC for a simple C MEX S-function. For more information
on writing TLC files, see the Target Language Compiler Reference Guide.
Table 14-1: Ada Files Generated by the Real-Time Workshop Ada Coder
Filename Description
countersdemo.adb
Package body with the implementation
details of the model.
countersdemo.ads
Package specification that defines the callable
procedures of the model and any external
inputs and outputs to the model.
countersdemo_types.ads
Package specification of data types used by
the model. The Real-Time Ada Coder derives
the data types from the block name and signal
width.
register.ads
Package specification that defines model rate
information and renames program entry
points in
countersdemo.ads.
register2.ads
Package specification that contains the subset
of
register.ads required for elimination of
circular compilation dependencies.
rt_engine-rto_data.ads
Package specification that contains the timing
information for executing the model
encapsulated in the real-time object.