Test device vendor and type
Description
Select the manufacturer and type of the hardware to use to test the code generated from the model.
Category: Hardware Implementation
Settings
Default:
Intel
, x86–64
(Windows64)
AMD
ARM Compatible
Altera
Analog Devices
Apple
Atmel
Freescale
Infineon
Intel
Microchip
NXP
Renesas
STMicroelectronics
Texas Instruments
ASIC/FPGA
Custom Processor
AMD® options:
Athlon 64
K5/K6/Athlon
x86–32 (Windows 32)
x86–64 (Linux 64)
x86–64 (macOS)
x86–64 (Windows64)
ARM® options:
ARM 10
ARM 11
ARM 7
ARM 8
ARM 9
ARM Cortex-A
ARM Cortex-M
ARM Cortex-R
ARM Cortex
ARM 64-bit (LP64)
ARM 64-bit (LLP64)
Altera® options:
SoC (ARM CortexA)
Analog Devices® options:
ADSP–CM40x (ARM Cortex-M)
Blackfin
SHARC
TigerSHARC
Apple options:
ARM64
Atmel® options:
AVR
AVR (32-bit)
AVR (8-bit)
Freescale® options:
32-bit PowerPC
68332
68HC08
68HC11
ColdFire
DSP563xx (16-bit mode)
HC(S)12
MPC52xx
MPC5500
MPC55xx
MPC5xx
MPC7xxx
MPC82xx
MPC83xx
MPC85xx
MPC86xx
MPC8xx
S08
S12x
StarCore
Infineon® options:
C16x, XC16x
TriCore
Intel® options:
x86–32 (Windows32)
x86–64 (Linux 64)
x86–64 (macOS)
x86–64 (Windows64)
Microchip options:
PIC18
dsPIC
NXP options:
Cortex—M0/M0+
Cortex—M3
Cortex—M4
Renesas® options:
M16C
M32C
R8C/Tiny
RH850
RL78
RX
RZ
SH-2/3/4
V850
STMicroelectronics®:
ST10/Super10
Texas Instruments® options:
C2000
C5000
C6000
MSP430
Stellaris Cortex—M3
TMS470
TMS570 Cortex—R4
ASIC/FPGA options:
ASIC/FPGA
Tips
Before you select the device type, select the device vendor.
Selecting a device type specifies the hardware device to define system constraints:
Default hardware properties appear as the initial values.
You cannot change parameters with only one possible value.
Parameters with more than one possible value provide a list of valid values.
The following table lists values for each device type.
Key: float and double (not listed) always equal 32 and 64, respectively Round to = Signed integer division rounds to Shift right = Shift right on a signed integer as arithmetic shift Long long = Support long long Device vendor / Device type Number of bits Largest atomic size Byte ordering Round to Shift right Long long char short int long long long native pointer size_t ptrdiff_t int float AMD
Athlon 64
8 16 32 64 64 64 64 64 64 Char None Little Endian Zero ✓ □ K5/K6/Athlon
8 16 32 32 64 32 32 32 32 Char None Little Endian Zero ✓ □ x86–32 (Windows32)
8 16 32 32 64 32 32 32 32 Char Float Little Endian Zero ✓ □ x86–64 (Linux 64)
8 16 32 64 64 64 64 64 64 Char Float Little Endian Zero ✓ □ x86–64 (macOS)
8 16 32 64 64 64 64 64 64 Char Float Little Endian Zero ✓ □ x86–64 (Windows64)
8 16 32 32 64 64 64 64 64 Char Float Little Endian Zero ✓ □ ARM Compatible
ARM 7/8/9/10
8 16 32 32 64 32 32 32 32 Long Float Little Endian Zero ✓ □ ARM 11
8 16 32 32 64 32 32 32 32 Long Double Little Endian Zero ✓ □ ARM Cortex
8 16 32 32 64 32 32 32 32 Long Double Little Endian Zero ✓ □ ARM 64-bit (LP64)
8 16 32 64 64 64 64 64 64 Long Double Little Endian Zero ✓ ✓ ARM 64-bit (LLP64)
8 16 32 32 64 64 64 64 64 Long Double Little Endian Zero ✓ ✓ Altera
SoC (ARM Cortex A)
8 16 32 32 64 32 32 32 32 Char None Little Endian Zero ✓ □ Analog Devices
ADSP-CM40x(ARM Cortex-M)
8 16 32 32 64 32 32 32 32 Long Double Little Endian Zero ✓ □ Blackfin
8 16 32 32 64 32 32 32 32 Long Double Little Endian Zero ✓ □ SHARC
32 32 32 32 64 32 32 32 32 Long Double Big Endian Zero ✓ □ TigerSHARC
32 32 32 32 64 32 32 32 32 Long Double Little Endian Zero ✓ □ Apple
ARM64
8 16 32 64 64 64 64 64 64 Char Float Little Endian Zero ✓ □ Atmel
AVR
8 16 16 32 64 8 16 16 16 Char None Little Endian Zero ✓ □ AVR (32-bit)
8 16 32 32 64 32 32 32 32 Char None Little Endian Zero ✓ □ AVR (8-bit)
8 16 16 32 64 16 16 16 16 Char None Little Endian Zero ✓ □ Freescale
32-bit PowerPC
8 16 32 32 64 32 32 32 32 Long Double Big Endian Zero ✓ □ 68332
8 16 32 32 64 32 32 32 32 Char None Big Endian Zero ✓ □ 68HC08
8 16 16 32 64 8 8 16 8 Char None Big Endian Zero ✓ □ 68HC11
8 16 16 32 64 8 8 16 16 Char None Big Endian Zero ✓ □ ColdFire
8 16 32 32 64 32 32 32 32 Char None Big Endian Zero ✓ □ DSP563xx (16-bit mode)
8 16 16 32 64 16 16 16 16 Char None Little Endian Zero ✓ □ DSP5685x
8 16 16 32 64 16 16 16 16 Char Float Little Endian Zero ✓ □ HC(S)12
8 16 16 32 64 16 16 16 16 Char None Big Endian Zero ✓ □ MPC52xx, MPC5500, MPC55xx, MPC5xx, PC5xx, MPC7xxx, MPC82xx, MPC83xx, MPC86xx, MPC8xx
8 16 32 32 64 32 32 32 32 Long None Big Endian Zero ✓ □ MPC85xx
8 16 32 32 64 32 32 32 32 Long Double Big Endian Zero ✓ □ S08
8 16 16 32 64 16 16 16 16 Char None Big Endian Zero ✓ □ S12x
8 16 16 32 64 16 16 16 16 Char None Big Endian Zero ✓ □ StarCore
8 16 32 32 64 32 32 32 32 Char None Little Endian Zero ✓ □ Infineon
C16x, XC16x
8 16 16 32 64 16 16 16 16 Char None Little Endian Zero ✓ □ TriCore
8 16 32 32 64 32 32 32 32 Char None Little Endian Zero ✓ □ Intel
x86–32 (Windows32)
8 16 32 32 64 32 32 32 32 Char Float Little Endian Zero ✓ □ x86–64 (Linux 64)
8 16 32 64 64 64 64 64 64 Char Float Little Endian Zero ✓ □ x86–64 (macOS)
8 16 32 64 64 64 64 64 64 Char Float Little Endian Zero ✓ □ x86–64 (Windows64)
8 16 32 32 64 64 64 64 64 Char Float Little Endian Zero ✓ □ Microchip
PIC18
8 16 16 32 64 8 8 24 24 Char None Little Endian Zero ✓ □ dsPIC
8 16 16 32 64 16 16 16 16 Char None Little Endian Zero ✓ □ NXP
Cortex—M0/M0+
8 16 32 32 64 32 32 32 32 Long Double Little Endian Zero ✓ □ Cortex—M3
8 16 32 32 64 32 32 32 32 Long Double Little Endian Zero ✓ □ Cortex—M4
8 16 32 32 64 32 32 32 32 Long Double Little Endian Zero ✓ □ Renesas
M16C
8 16 16 32 64 16 16 16 16 Char None Little Endian Zero ✓ □ M32C
8 16 16 32 64 16 16 16 16 Char None Little Endian Zero ✓ □ R8C/Tiny
8 16 16 32 64 16 16 16 16 Char None Little Endian Zero ✓ □ RH850
8 16 32 32 64 32 32 32 32 Char None Little Endian Zero ✓ □ RL78
8 16 16 32 64 16 16 16 16 Char None Little Endian Zero ✓ □ RX
8 16 32 32 64 32 32 32 32 Char None Little Endian Zero ✓ □ RZ
8 16 32 32 64 32 32 32 32 Long Double Little Endian Zero ✓ □ SH-2/3/4
8 16 32 32 64 32 32 32 32 Char None Big Endian Zero ✓ □ V850
8 16 32 32 64 32 32 32 32 Char None Little Endian Zero ✓ □ STMicroelectronics
ST10/Super10
8 16 16 32 64 16 16 16 16 Char None Little Endian Zero ✓ □ Texas Instruments
C2000
16 16 16 32 64 16 32 16 16 Int None Little Endian Zero ✓ □ C5000
16 16 16 32 64 16 16 16 16 Int None Big Endian Zero ✓ □ C6000
8 16 32 40 64 32 32 32 32 Int None Little Endian Zero ✓ □ MSP430
8 16 16 32 64 16 16 16 16 Char None Little Endian Zero ✓ □ Stellaris Cortex—M3
8 16 32 32 6 32 32 32 32 Long Double Little Endian Zero ✓ □ TMS470
8 16 32 32 64 32 32 32 32 Long Double Little Endian Zero ✓ □ TMS570 Cortex—R4
8 16 32 32 64 32 32 32 32 Long Double Big Endian Zero ✓ □ ASIC/FPGA
ASIC/FPGA
NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA If your hardware does not match one of the listed types, select
Custom
.The Device vendor and Device type fields share the command-line parameter
TargetHWDeviceType
. When specifying this parameter at the command line, separate the device vendor and device type values by using the characters->
. For example:'Intel->x86-64 (Linux 64)'
.If you have a Simulink® Coder™ license and you want to add Device vendor and Device type values to the default set, see Register New Hardware Devices (Simulink Coder).
Dependencies
The Device vendor and Device type parameter values reflect available device support for the selected hardware board.
Menu options that are available depend on the Device vendor parameter setting.
With the exception of device vendor ASIC/FPGA
, selecting a
device type sets the following parameters:
Number of bits: char
Number of bits: short
Number of bits: int
Number of bits: long
Number of bits: long long
Number of bits: float
Number of bits: double
Number of bits: native
Number of bits: pointer
Number of bits: size_t
Number of bits: ptrdiff_t
Largest atomic size: integer
Largest atomic size: floating-point
Byte ordering
Signed integer division rounds to
Shift right on a signed integer as arithmetic shift
Support long long
Whether you can modify the value of a device-specific parameter varies according to device type.
Command-Line Information
Parameter:
TargetHWDeviceType |
Type: character vector |
Value: any valid value (see tips) |
Default:'Intel->x86–64
(Windows64)'
|
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact when Test hardware is the same as production hardware is selected. If it is not selected, no recommendation. |
Related Topics
- Hardware board
- Specifying Test Hardware Characteristics (Simulink Coder)
- Hardware Implementation Options (Simulink Coder)
- Hardware Implementation Pane