beautypg.com

Sundance PARS User Manual

Page 43

background image

Revision 11-wip-7

Page 43 of 70

Sundance Digital Signal Processing, Inc.

4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.

email:

[email protected]

Tel: +1 (775) 827-3103

www.sundancedsp.com

These restrictions are due to the fact that PARS needs to compute the total size of a data
communication that occurs at each simulation time step. So far, reliable computations
have only been possible when using the native C data types described in Table 3, above.

In order to transport arbitrary Simulink data types from subsystem to subsystem, it is
necessary to convert to a ‘standard’ elemental data type before the output port of a subsystem. On the
receiving subsystem, the signal is converted back to the ‘actual’ data type after the input port.

3.5.

ALLOCATING PROCESSOR RESOURCES

Once a design is partitioned into subsystems, they may be assigned to processor types. This is
accomplished by selecting the subsystem and choosing ‘PARS->Create XXX Task’ from the drop-
down menus of the PARS control panel. Alternatively, PARS provides friendly buttons to do this as
well.

Figure 45 - Shortcut buttons on PARS control panel

When a subsystem is assigned to a processor type, its outline changes color according to the processor
type it has been assigned. DSP is a shade of

green

, while FPGA is a shade of

blue

. This provides a

visual cue to understand the model partitioning at a glance.

Figure 46 - General DSP task parameters panel

Once a processor type is assigned, double-clicking the subsystem now brings up a PARS-defined mask
that allows attributes assigned to the subsystem to be modified.