Set Hardware Implementation Parameters
Specification of target hardware device characteristics (such as word sizes for
char
, short
, int
, and
long
data types, or desired rounding behaviors in integer
operations) for generated code can be critical in embedded systems development. The
Hardware Implementation category of parameters
in a configuration set provides a way to control such characteristics in simulation
and code generation.
By configuring the Hardware Implementation parameters of the active configuration set for a model to match the behaviors of your compiler and hardware, you can generate more efficient code. For example, if you specify the Byte ordering parameter, you can avoid generation of extra code that tests the byte ordering of the target CPU.
Before generating and deploying code, get familiar with the Hardware Implementation pane of the Configuration Parameters dialog box. By default, target hardware microprocessor device details are hidden. To view the details, click the Device details arrow. See Hardware Implementation Pane and Configure Run-Time Environment Options for more information.