Hardware Implementation Pane

Hardware Implementation Overview

Describe the hardware characteristics for the modelled system, including how to set up embedded and emulation hardware settings for both simulation and code generation.

Configuration

  1. Choose the Device type in the Embedded hardware subpane.

  2. Set the parameters displayed for the selected device type.

  3. Apply the changes.

  4. Repeat as needed for Emulation hardware.

Tips

See Also

Device vendor

Select the manufacturer of the hardware you will use to implement the production version of the system represented by this model.

Settings

Default: Generic

Tips

Dependencies

This parameter determines the options available in the Device type drop-down menu.

Command-Line Information

Parameter: ProdHWDeviceType
Type: string
Value: any valid value (see tips)
Default: 'Generic->Unspecified (assume 32-bit Generic)'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Device type

Select the type of hardware you will use to implement the production version of the system represented by this model.

Settings

Default: Unspecified (assume 32–bit Generic)

Generic options:

AMD® options:

ARM® Compatible options:

ASIC/FPGA options:

Analog Devices™ options:

Atmel® options:

Freescale™ options:

Infineon® options:

Intel® options:

Microchip:

NEC® options:

Renesas® options:

SGI:

STMicroelectronics:

Texas Instruments™ options:

Tips

Dependencies

The options available in the drop-down menu are determined by the Device vendor parameter.

Selecting ASIC/FPGA enables the Emulation hardware (code generation only) subpane.

For all other device types, this parameter sets:

Command-Line Information

Parameter: ProdHWDeviceType
Type: string
Value: any valid value (see tips)
Default: 'Generic->Unspecified (assume 32-bit Generic)'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Number of bits: char

Describe the character bit length for the production hardware.

Settings

Default: 8

Minimum: 8

Maximum: 32

Enter a value between 8 and 32.

Tip

All values must be a multiple of 8.

Dependencies

Command-Line Information

Parameter: ProdBitPerChar
Type: integer
Value: any valid value
Default: 8

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Number of bits: short

Describe the data bit length for the production hardware.

Settings

Default: 16

Minimum: 8

Maximum: 32

Enter a value between 8 and 32.

Tip

All values must be a multiple of 8.

Dependencies

Command-Line Information

Parameter: ProdBitPerShort
Type: integer
Value: any valid value
Default: 16

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Number of bits: int

Describe the data integer bit length for the production hardware.

Settings

Default: 32

Minimum: 8

Maximum: 32

Enter a number between 8 and 32.

Tip

All values must be a multiple of 8.

Dependencies

Command-Line Information

Parameter: ProdBitPerInt
Type: integer
Value: any valid value
Default: 32

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Number of bits: long

Describe the data bit lengths for the production hardware.

Settings

Default: 32

Minimum: 8

Maximum: 32

Enter a value between 8 and 32.

Tip

All values must be a multiple of 8.

Dependencies

Command-Line Information

Parameter: ProdBitPerLong
Type: integer
Value: any valid value
Default: 32

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Number of bits: native word size

Describe the microprocessor native word size for the production hardware.

Settings

Default: 32

Minimum: 8

Maximum: 32

Enter a value between 8 and 32.

Tip

All values must be a multiple of 8.

Dependencies

Command-Line Information

Parameter: ProdWordSize
Type: integer
Value: any valid value
Default: 32

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Byte ordering

Describe the byte ordering for the production hardware.

Settings

Default: Unspecified

Unspecified

Specifies that the code determines the endianness of the hardware. This is the least efficient choice.

Big Endian

The most significant byte appears first.

Little Endian

The least significant byte appears first.

Dependencies

Command-Line Information

Parameter: ProdEndianess
Type: string
Value: 'Unspecified' | 'LittleEndian' | 'BigEndian'
Default: 'Unspecified'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Signed integer division rounds to

Describe how to produce a signed integer quotient for the production hardware.

Settings

Default: Undefined

Undefined

Choose this option if neither Zero nor Floor describes the compiler's behavior, or if that behavior is unknown.

Zero

If the quotient is between two integers, the compiler chooses the integer that is closer to zero as the result.

Floor

If the quotient is between two integers, the compiler chooses the integer that is closer to negative infinity.

Tips

Dependency

This parameter is enabled by Device type.

Command-Line Information

Parameter: ProdIntDivRoundTo
Type: string
Value: 'Floor' | 'Zero' | 'Undefined'
Default: 'Undefined'

Recommended settings

ApplicationSetting
DebuggingNo impact for simulation and during development.
Undefined for production code generation.
TraceabilityNo impact for simulation and during development.
Zero or Floor for production code generation.
EfficiencyNo impact for simulation and during development.
Zero for production code generation.
Safety precautionNo impact for simulation and during development.
Floor for production code generation.

See Also

Shift right on a signed integer as arithmetic shift

Describe how your compiler rounds the result of two signed integers for the production hardware.

Settings

Default: On

On

Generates simple efficient code whenever the Simulink model performs arithmetic shifts on signed integers.

Off

Generates fully portable but less efficient code to implement right arithmetic shifts.

Tips

Dependency

This parameter is enabled by Device type.

Command-Line Information

Parameter: ProdShiftRightIntArith
Type: string
Value: 'on' | 'off'
Default: 'on'

Recommended settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyOn
Safety precautionNo impact

See Also

None

Specify whether the test hardware differs from the deployment hardware.

Settings

Default: On

On

Specifies that the hardware used to test the code generated from the model is the same as the production hardware, or has the same characteristics.

Off

Specifies that the hardware used to test the code generated from the model has different characteristics than the production hardware.

Tips

Dependency

Enables the Emulation hardware subpane.

Command-Line Information

Parameter: ProdEqTarget
Type: string
Value: 'on' | 'off'
Default: 'on'

Recommended settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

More information

Device vendor

Select the manufacturer of the hardware that will be used to test the code generated from the model.

Settings

Default: Generic

Tips

Dependencies

This parameter determines the options available in the Device type drop-down menu.

Command-Line Information

Parameter: TargetHWDeviceType
Type: string
Value: any valid value (see tips)
Default: 'Generic->Unspecified (assume 32-bit Generic)'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Device type

Select the type of hardware that will be used to test the code generated from the model.

Settings

Default: Unspecified (assume 32–bit Generic)

Generic options:

AMD options:

ARM Compatible options:

Analog Devices options:

Atmel options:

Freescale options:

Infineon options:

Intel options:

Microchip:

NEC options:

Renesas options:

SGI:

STMicroelectronics:

Texas Instruments options:

Tips

Dependencies

The options available in the drop-down menu are determined by the Device vendor parameter.

This parameter sets:

Command-Line Information

Parameter: TargetHWDeviceType
Type: string
Value: any valid value (see tips)
Default: 'Generic->Unspecified (assume 32-bit Generic)'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Number of bits: char

Describe the character bit length for the hardware used to test code.

Settings

Default: 8

Minimum: 8

Maximum: 32

Enter a value between 8 and 32.

Tip

All values must be a multiple of 8.

Dependencies

Command-Line Information

Parameter: TargetBitPerChar
Type: integer
Value: any valid value
Default: 8

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Number of bits: short

Describe the data bit length for the hardware used to test code.

Settings

Default: 16

Minimum: 8

Maximum: 32

Enter a value between 8 and 32.

Tip

All values must be a multiple of 8.

Dependencies

Command-Line Information

Parameter: TargetBitPerShort
Type: integer
Value: any valid value
Default: 16

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Number of bits: int

Describe the data integer bit length of the hardware used to test code.

Settings

Default: 32

Minimum: 8

Maximum: 32

Enter a number between 8 and 32.

Tip

All values must be a multiple of 8.

Dependencies

Command-Line Information

Parameter: TargetBitPerInt
Type: integer
Value: any valid value
Default: 32

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Number of bits: long

Describe the data bit lengths for the hardware used to test code.

Settings

Default: 32

Minimum: 8

Maximum: 32

Enter a value between 8 and 32.

Tip

All values must be a multiple of 8.

Dependencies

Command-Line Information

Parameter: TargetBitPerLong
Type: integer
Value: any valid value
Default: 32

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Number of bits: native word size

Describe the microprocessor native word size for the hardware used to test code.

Settings

Default: 32

Minimum: 8

Maximum: 32

Enter a value between 8 and 32.

Tip

All values must be a multiple of 8.

Dependencies

Command-Line Information

Parameter: TargetWordSize
Type: integer
Value: any valid value
Default: 32

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Byte ordering

Describe the byte ordering for the hardware used to test code.

Settings

Default: Unspecified

Unspecified

Specifies that the code determines the endianness of the hardware. This is the least efficient choice.

Big Endian

The most significant byte comes first.

Little Endian

The least significant byte comes first.

Dependencies

Command-Line Information

Parameter: TargetEndianess
Type: string
Value: 'Unspecified' | 'LittleEndian' | 'BigEndian'
Default: 'Unspecified'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact for simulation and during development.
Match operation of compiler and hardware for code generation.

See Also

Signed integer division rounds to

Describe how to produce a signed integer quotient for the hardware used to test code.

Settings

Default: Undefined

Undefined

Choose this option if neither Zero nor Floor describes the compiler's behavior, or if that behavior is unknown.

Zero

If the quotient is between two integers, the compiler chooses the integer that is closer to zero as the result.

Floor

If the quotient is between two integers, the compiler chooses the integer that is closer to negative infinity.

Tips

Dependency

This parameter is enabled by Device type.

Command-Line Information

Parameter: TargetIntDivRoundTo
Type: string
Value: 'Floor' | 'Zero' | 'Undefined'
Default: 'Undefined'

Recommended settings

ApplicationSetting
DebuggingNo impact for simulation and during development.
Undefined for production code generation.
TraceabilityNo impact for simulation and during development.
Zero or Floor for production code generation.
EfficiencyNo impact for simulation and during development.
Zero for production code generation.
Safety precautionNo impact for simulation and during development.
Floor for production code generation.

See Also

Shift right on a signed integer as arithmetic shift

Describe how your compiler rounds the result of two signed integers for the hardware used to test code.

Settings

Default: On

On

Generates simple efficient code whenever the Simulink model performs arithmetic shifts on signed integers.

Off

Generates fully portable but less efficient code to implement right arithmetic shifts.

Tips

Dependency

This parameter is enabled by Device type.

Command-Line Information

Parameter: TargetShiftRightIntArith
Type: string
Value: 'on' | 'off'
Default: 'on'

Recommended settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyOn
Safety precautionNo impact

See Also

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS