Skip to Main Content Skip to Search
Product Documentation

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

Selecting a value for this parameter allows you to view a list of supported devices from the selected vendor 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: (Embedded hardware subpane only)

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.

Selecting any other device type sets the following device-specific parameters:

Whether you can modify a device-specific parameter varies according to device type. Parameters that cannot be modified for a device are greyed out in the GUI display.

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: 32

Maximum: 64

Enter a value between 32 and 64.

Tip

All values must be a multiple of 8 and between 32 and 64.

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: float

Describe the bit length of floating-point data for the production hardware (read-only)

Settings

Default: 32

Always equals 32.

Command-Line Information

Parameter: ProdBitPerFloat
Type: integer
Value: 32 (read-only)
Default: 32

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Number of bits: double

Describe the bit-length of double data for the production hardware (read-only).

Settings

Default: 64

Always equals 64.

Command-Line Information

Parameter: ProdBitPerDouble
Type: integer
Value: 64 (read only)
Default: 64

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Number of bits: native

Describe the microprocessor native word size for the production hardware.

Settings

Default: 32

Minimum: 8

Maximum: 64

Enter a value between 8 and 64.

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

Number of bits: pointer

Describe the bit-length of pointer data for the production hardware (read-only).

Settings

Default: matches the setting for Number of bits: int

Minimum: 8

Maximum: 32

Command-Line Information

Parameter: ProdBitPerPointer
Type: integer
Value: any valid value (read-only)
Default: matches the setting for ProdBitPerInt

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Largest atomic size: integer

Specify the largest integer data type that can be atomically loaded and stored on the production hardware.

Settings

Default: Char

Char

Specifies that char is the largest integer data type that can be atomically loaded and stored on the production hardware.

Short

Specifies that short is the largest integer data type that can be atomically loaded and stored on the production hardware.

Int

Specifies that int is the largest integer data type that can be atomically loaded and stored on the production hardware.

Long

Specifies that long is the largest integer data type that can be atomically loaded and stored on the production hardware.

Tip

This parameter is used, where possible, to optimize away unnecessary double-buffering or unnecessary semaphore protection, based on data size, in generated multirate code.

Dependencies

Command-Line Information

Parameter: ProdLargestAtomicInteger
Type: string
Value: 'Char' | 'Short' | 'Int' | 'Long'
Default: 'Char'

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

Largest atomic size: floating-point

Specify the largest floating-point data type that can be atomically loaded and stored on the production hardware.

Settings

Default: None

Float

Specifies that float is the largest floating-point data type that can be atomically loaded and stored on the production hardware.

Double

Specifies that double is the largest floating-point data type that can be atomically loaded and stored on the production hardware.

None

Specifies that there is no applicable setting or not to use this parameter in generating multirate code.

Tip

This parameter is used, where possible, to optimize away unnecessary double-buffering or unnecessary semaphore protection, based on data size, in generated multirate code.

Dependencies

Command-Line Information

Parameter: ProdLargestAtomicFloat
Type: string
Value: 'Float' | 'Double' | 'None'
Default: 'None'

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

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

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

Selecting a value for this parameter allows you to view a list of supported devices from the selected vendor 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:

ASIC/FPGA options: (Embedded hardware subpane only)

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 a device type sets the following device-specific parameters:

Whether you can modify a device-specific parameter varies according to device type. Parameters that cannot be modified for a device are greyed out in the GUI display.

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: 32

Maximum: 64

Enter a value between 32 and 64. (The value 64 is selected by default if you run MATLAB software on a 64-bit host computer and select the MATLAB host as the test hardware — that is, TargetHWDeviceType equals 'Generic->MATLAB Host Computer'.)

Tip

All values must be a multiple of 8 and between 32 and 64.

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: float

Describe the bit length of floating-point data for the hardware used to test code (read-only).

Settings

Default: 32

Always equals 32.

Command-Line Information

Parameter: TargetBitPerFloat
Type: integer
Value: 32 (read-only)
Default: 32

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Number of bits: double

Describe the bit-length of double data for the hardware used to test code (read-only).

Settings

Default: 64

Always equals 64.

Command-Line Information

Parameter: TargetBitPerDouble
Type: integer
Value: 64 (read only)
Default: 64

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Number of bits: native

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

Settings

Default: 32

Minimum: 8

Maximum: 64

Enter a value between 8 and 64. (The value 64 is selected by default if you run MATLAB software on a 64-bit host computer and select the MATLAB host as the test hardware — that is, TargetHWDeviceType equals 'Generic->MATLAB Host Computer'.)

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

Number of bits: pointer

Describe the bit-length of pointer data for the hardware used to test code (read-only).

Settings

Default: matches the setting for Number of bits: int

Minimum: 8

Maximum: 32

Command-Line Information

Parameter: TargetBitPerPointer
Type: integer
Value: any valid value (read only)
Default: matches the setting for TargetBitPerInt

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Largest atomic size: integer

Specify the largest integer data type that can be atomically loaded and stored on the hardware used to test code.

Settings

Default: Char

Char

Specifies that char is the largest integer data type that can be atomically loaded and stored on the hardware used to test code.

Short

Specifies that short is the largest integer data type that can be atomically loaded and stored on the hardware used to test code.

Int

Specifies that int is the largest integer data type that can be atomically loaded and stored on the hardware used to test code.

Long

Specifies that long is the largest integer data type that can be atomically loaded and stored on the hardware used to test code.

Tip

This parameter is used, where possible, to optimize away unnecessary double-buffering or unnecessary semaphore protection, based on data size, in generated multirate code.

Dependencies

Command-Line Information

Parameter: TargetLargestAtomicInteger
Type: string
Value: 'Char' | 'Short' | 'Int' | 'Long'
Default: 'Char'

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

Largest atomic size: floating-point

Specify the largest floating-point data type that can be atomically loaded and stored on the hardware used to test code.

Settings

Default: None

Float

Specifies that float is the largest floating-point data type that can be atomically loaded and stored on the hardware used to test code.

Double

Specifies that double is the largest floating-point data type that can be atomically loaded and stored on the hardware used to test code.

None

Specifies that there is no applicable setting or not to use this parameter in generating multirate code.

Tip

This parameter is used, where possible, to optimize away unnecessary double-buffering or unnecessary semaphore protection, based on data size, in generated multirate code.

Dependencies

Command-Line Information

Parameter: TargetLargestAtomicFloat
Type: string
Value: 'Float' | 'Double' | 'None'
Default: 'None'

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

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

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

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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