Device type
Select the type of hardware to use to implement the system that this model represents.
Settings
Default:
x86–64 (Windows64)
If you have installed target support packages, the list of settings includes additional types of hardware.
AMD® options:
Athlon 64K5/K6/Athlonx86–32 (Windows 32)x86–64 (Linux 64)x86–64 (macOS)x86–64 (Windows64)
ARM® options:
ARM 10ARM 11ARM 64-bit (LLP64)ARM 64-bit (LP64)ARM 7ARM 8ARM 9ARM Cortex-A (32-bit)ARM Cortex-A (64-bit)ARM Cortex-MARM Cortex-R
Altera® options:
SoC (ARM CortexA)
Analog Devices® options:
ADSP–CM40x (ARM Cortex-M)BlackfinSHARCTigerSHARC
Apple options:
ARM64
Atmel® options:
AVRAVR (32-bit)AVR (8-bit)
Freescale® options:
32-bit PowerPC6833268HC0868HC11ColdFireDSP563xx (16-bit mode)HC(S)12MPC52xxMPC5500MPC55xxMPC5xxMPC7xxxMPC82xxMPC83xxMPC85xxMPC86xxMPC8xxS08S12xStarCore
Infineon® options:
C16x, XC16xTriCore
Intel® options:
x86–32 (Windows32)x86–64 (Linux 64)x86–64 (macOS)x86–64 (Windows64)
Microchip options:
PIC18dsPIC
NXP options:
Cortex—M0/M0+Cortex—M3Cortex—M4
Renesas® options:
M16CM32CR8C/TinyRH850RL78RXRZSH-2/3/4V850
STMicroelectronics®:
ST10/Super10
Texas Instruments® options:
C2000C5000C6000MSP430Stellaris Cortex—M3TMS470TMS570 Cortex—R4
ASIC/FPGA options:
ASIC/FPGA
Tips
Before you specify the device type, select the device vendor.
To view parameters for a device type, click the arrow button to the left of Device details.
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 integer floating-point AMDAthlon 648 16 32 64 64 64 64 64 64 CharNoneLittle EndianZero✓ □ K5/K6/Athlon8 16 32 32 64 32 32 32 32 CharNoneLittle EndianZero✓ □ x86–32 (Windows32)8 16 32 32 64 32 32 32 32 CharFloatLittle EndianZero✓ □ x86–64 (Linux 64)8 16 32 64 64 64 64 64 64 CharFloatLittle EndianZero✓ □ x86–64 (macOS)8 16 32 64 64 64 64 64 64 CharFloatLittle EndianZero✓ □ x86–64 (Windows64)8 16 32 32 64 64 64 64 64 CharFloatLittle EndianZero✓ □ ARM CompatibleARM 7/8/9/108 16 32 32 64 32 32 32 32 LongFloatLittle EndianZero✓ □ ARM 118 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ ARM 64-bit (LP64)8 16 32 64 64 64 64 64 64 LongDoubleLittle EndianZero✓ ✓ ARM 64-bit (LLP64)8 16 32 32 64 64 64 64 64 LongDoubleLittle EndianZero✓ ✓ ARM Cortex-A (32-bit)8 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ ARM Cortex-A (64-bit)8 16 32 64 64 32 64 64 64 LongLongDoubleLittle EndianZero✓ ✓ ARM Cortex-M8 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ ARM Cortex-R8 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ AlteraSoC (ARM Cortex A)8 16 32 32 64 32 32 32 32 CharNoneLittle EndianZero✓ □ Analog DevicesADSP-CM40x(ARM Cortex-M)8 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ Blackfin8 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ SHARC32 32 32 32 64 32 32 32 32 LongDoubleBig EndianZero✓ □ TigerSHARC32 32 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ AppleARM648 16 32 64 64 64 64 64 64 CharFloatLittle EndianZero✓ □ AtmelAVR8 16 16 32 64 8 16 16 16 CharNoneLittle EndianZero✓ □ AVR (32-bit)8 16 32 32 64 32 32 32 32 CharNoneLittle EndianZero✓ □ AVR (8-bit)8 16 16 32 64 16 16 16 16 CharNoneLittle EndianZero✓ □ Freescale32-bit PowerPC8 16 32 32 64 32 32 32 32 LongDoubleBig EndianZero✓ □ 683328 16 32 32 64 32 32 32 32 CharNoneBig EndianZero✓ □ 68HC088 16 16 32 64 8 8 16 8 CharNoneBig EndianZero✓ □ 68HC118 16 16 32 64 8 8 16 16 CharNoneBig EndianZero✓ □ ColdFire8 16 32 32 64 32 32 32 32 CharNoneBig EndianZero✓ □ DSP563xx (16-bit mode)8 16 16 32 64 16 16 16 16 CharNoneLittle EndianZero✓ □ DSP5685x8 16 16 32 64 16 16 16 16 CharFloatLittle EndianZero✓ □ HC(S)128 16 16 32 64 16 16 16 16 CharNoneBig EndianZero✓ □ MPC52xx, MPC5500, MPC55xx, MPC5xx, PC5xx, MPC7xxx, MPC82xx, MPC83xx, MPC86xx, MPC8xx8 16 32 32 64 32 32 32 32 LongNoneBig EndianZero✓ □ MPC85xx8 16 32 32 64 32 32 32 32 LongDoubleBig EndianZero✓ □ S088 16 16 32 64 16 16 16 16 CharNoneBig EndianZero✓ □ S12x8 16 16 32 64 16 16 16 16 CharNoneBig EndianZero✓ □ StarCore8 16 32 32 64 32 32 32 32 CharNoneLittle EndianZero✓ □ InfineonC16x, XC16x8 16 16 32 64 16 16 16 16 CharNoneLittle EndianZero✓ □ TriCore8 16 32 32 64 32 32 32 32 CharNoneLittle EndianZero✓ □ Intelx86–32 (Windows32)8 16 32 32 64 32 32 32 32 CharFloatLittle EndianZero✓ □ x86–64 (Linux 64)8 16 32 64 64 64 64 64 64 CharFloatLittle EndianZero✓ □ x86–64 (macOS)8 16 32 64 64 64 64 64 64 CharFloatLittle EndianZero✓ □ x86–64 (Windows64)8 16 32 32 64 64 64 64 64 CharFloatLittle EndianZero✓ □ MicrochipPIC188 16 16 32 64 8 8 24 24 CharNoneLittle EndianZero✓ □ dsPIC8 16 16 32 64 16 16 16 16 CharNoneLittle EndianZero✓ □ NXPCortex—M0/M0+8 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ Cortex—M38 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ Cortex—M48 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ RenesasM16C8 16 16 32 64 16 16 16 16 CharNoneLittle EndianZero✓ □ M32C8 16 16 32 64 16 16 16 16 CharNoneLittle EndianZero✓ □ R8C/Tiny8 16 16 32 64 16 16 16 16 CharNoneLittle EndianZero✓ □ RH8508 16 32 32 64 32 32 32 32 CharNoneLittle EndianZero✓ □ RL788 16 16 32 64 16 16 16 16 CharNoneLittle EndianZero✓ □ RX8 16 32 32 64 32 32 32 32 CharNoneLittle EndianZero✓ □ RZ8 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ SH-2/3/48 16 32 32 64 32 32 32 32 CharNoneBig EndianZero✓ □ V8508 16 32 32 64 32 32 32 32 CharNoneLittle EndianZero✓ □ STMicroelectronicsST10/Super108 16 16 32 64 16 16 16 16 CharNoneLittle EndianZero✓ □ Texas InstrumentsC200016 16 16 32 64 16 32 16 16 IntNoneLittle EndianZero✓ □ C500016 16 16 32 64 16 16 16 16 IntNoneBig EndianZero✓ □ C60008 16 32 40 64 32 32 32 32 IntNoneLittle EndianZero✓ □ MSP4308 16 16 32 64 16 16 16 16 CharNoneLittle EndianZero✓ □ Stellaris Cortex—M38 16 32 32 6 32 32 32 32 LongDoubleLittle EndianZero✓ □ TMS4708 16 32 32 64 32 32 32 32 LongDoubleLittle EndianZero✓ □ TMS570 Cortex—R48 16 32 32 64 32 32 32 32 LongDoubleBig EndianZero✓ □ ASIC/FPGAASIC/FPGANA NA NA NA NA NA NA NA NA NA NA NA NA NA NA The Device vendor and Device type fields share the command-line parameter
ProdHWDeviceType. 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 in the menu 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
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 setting of a device-specific parameter varies according to device type.
Command-Line Information
Parameter:
ProdHWDeviceType |
| Type: string |
| 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
recommendation for simulation
without code generation. |
See Also
Hardware Implementation Options (Simulink Coder)
Specifying Production Hardware Characteristics (Simulink Coder)