Test device vendor and type
Option to specify test hardware manufacturer and type
Model Configuration Pane: Hardware Implementation
Description
The Device vendor and Device type parameters specify the manufacturer and type of the hardware used to test the code generated from the model.
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 these 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.
Settings
Intel
, x86–64
(Windows64)
| ...Select one of these device vendors:
AMD
ARM Compatible
Altera
Analog Devices
Apple
Atmel
Freescale
Infineon
Intel
Microchip
NXP
Renesas
STMicroelectronics
Texas Instruments
ASIC/FPGA
Custom Processor
Then, select the device type. The available device types change depending on the
device vendor selected. If your hardware does not match one of the listed types, select
Custom
.
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 64-bit (LLP64)
ARM 64-bit (LP64)
ARM 7
ARM 8
ARM 9
ARM Cortex-A (32-bit)
ARM Cortex-A (64-bit)
ARM Cortex-M
ARM Cortex-R
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
Selecting a device type specifies the hardware device to define system constraints:
Hardware properties have default initial values.
You cannot change parameters that have only one possible value.
Parameters that have more than one possible value provide a list of valid values.
The 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 | integer | floating-point | |||||
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 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 | ✓ | ✓ |
ARM Cortex-A (32-bit) | 8 | 16 | 32 | 32 | 64 | 32 | 32 | 32 | 32 | Long | Double | Little Endian | Zero | ✓ | □ |
ARM Cortex-A (64-bit) | 8 | 16 | 32 | 64 | 64 | 32 | 64 | 64 | 64 | LongLong | Double | Little Endian | Zero | ✓ | ✓ |
ARM Cortex-M | 8 | 16 | 32 | 32 | 64 | 32 | 32 | 32 | 32 | Long | Double | Little Endian | Zero | ✓ | □ |
ARM Cortex-R | 8 | 16 | 32 | 32 | 64 | 32 | 32 | 32 | 32 | 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 |
Tips
Use the parameter
TargetHWDeviceType
to set both the Device vendor and Device type fields programmatically. Specify the parameter value as a character vector that defines both the device vendor and the device type, separated by the characters->
. For example, this command specifies the device vendor asIntel
and the device type asx86-64 (Linux 64)
.set_param(mdl,"TargetHWDeviceType","Intel->x86->64 (Linux 64)")
If you have a Simulink® Coder™ license, you can add to the set of values available for the Device vendor and Device type parameters. For more information, see Register New Hardware Devices (Simulink Coder).
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. |
Programmatic Use
Parameter:
TargetHWDeviceType |
Type: string | character vector |
Default:'Intel->x86–64
(Windows64)'
|
Version History
Introduced in R2006b
See Also
Topics
- Hardware board
- Specifying Test Hardware Characteristics (Simulink Coder)
- Hardware Implementation Options (Simulink Coder)
- Hardware Implementation Pane