Main Content

Model Configuration Parameters

R2026b

Model configuration parameters control model behaviour, simulation, code optimizations, interfaces, code style, build options, and other aspects of the generated code. When you create a new model, it contains the default configuration set that specifies the default values for the model configuration parameters. You can view and update the configuration parameters by following these steps.

  1. In the Simulink® Editor, press Ctrl+E or click Modeling > Model Settings to open Configuration Parameters dialog box.

    Hardware Settings

  2. In the Configuration Parameter dialog box, click Hardware Implementationto view the corresponding parameters.

  3. Set the Hardware board parameter to Infineon AURIX TC4x.

  4. Simulink automatically populates the parameter values under Hardware board settings to their default values. You can optionally adjust these parameters for your particular use case.

    Configuration Parameters window of TC4x

  5. To apply the changes, click Apply.

Hardware board settings

ParameterDescriptionDefault Value
Device SeriesDevice series for the selected hardware board.

TC49xN

Processing UnitProcessing unit to build and deploy the application model.TriCore0

Simulation settings

ParameterDescriptionDefault Value
Set random number generator seed

Set the random number generator seed.

off

Seed value

Specify the seed value for random number generator.

default
Cache input data at task start

Cache the input data at the start of a task.

off

Project folder

Select project folder to store generated code and executables

soc_prj

Task profiling on processor

ParameterDescriptionDefault Value
Show in SDI

Show the task execution data collected on hardware in the Simulation Data Inspector application.

off
Save to file

Save task execution data to a file

off
Overwrite fileOverwrite last task execution data fileoff

Target hardware resources

Device

ParameterDescriptionDefault Value
BoardHardware board of the selected device seriesInfineon AURIX TC4X9 Triboard
StepDisplays the device step for the selected hardware board.

A

Pinout

Displays the pinout type for the selected hardware board. You can set the package class to STD or COM.

STD

Package typeDisplays the device packaging type for the selected hardware.

BGA

Package class

Displays the number of programmable pins for the selected hardware board/microcontrollers.

436

Pre-load TriCore0 with custom executable which enables current processing unitSelect to pre-load TriCore 0 with custom executable file to enable current processing unit.off
Executable file for TriCore0The path to the custom executable file for TriCore 0 processing unit$(AURIX_TC4XX_SHARED_ROOT_DIR)\TriCore0Executables\TC49x\TriCore0ExecutableToEnableTriCore#.hex

Build Options

ParameterDescriptionDefault Value
Build action

Define how Embedded Coder® responds when you build your model.

Build, load, and run

Disable parallel build

Select to compile the generated code and driver source codes in parallel order for faster build and deployment speed.

off
Enable force rebuild of static library

Select to force rebuild of the static driver library.

off

Use custom TCF fileSelect this option to provide custom target configuration file (TCF) file for the parallel processing unit (PPU).off
TCF file

The path to the memory description file required during linking.

$(MW_SYNOPSYSMWDT_ROOT_PATH)\config\set\TC49A_PPU\arc.tcf
Use custom linker file

Indicates that the custom linker command file must be used during the build action.

off

Linker file

The path to the memory description file required during linking.

$(AURIX_TC4XPPU_SHARED_ROOT_DIR)\src\TC49x\Lcf_Metaware_ArcEV_Ppu.lsl

Startup options

ParameterDescriptionDefault Value
Use custom startupSelect to execute custom initialization code when the microcontroller boots up

off

Startup code locationThe file path for the initialization code when the microcontroller boots up

iLLD_TC4xx_Package_\TC49A\Src\Libraries\Infra\Ssw\TC49x\Tricore

Use custom linker file

Indicates that the custom linker command file must be used during the build action.

off

Linker file

The path to the memory description file required during linking.

$(AURIX_TC4XX_SHARED_ROOT_DIR)\lib\tasking\tc49x\Lcf_Tasking_Tricore_Tc0.lsl
Boot FromOption to specify if the application has to load to the RAM or ROM.

ROM

Enable program cacheSelect the program cache.

on

Enable data cacheSelect the data cache.

off

Enable TriCore#Select the TriCore #.

off

Enable PPUSelect the parallel processing unit (PPU)

off

Clocking

ParameterDescriptionDefault Value
External oscillator (MHz)

Oscillator frequency used in the processor.

20

CPU clock (MHz)

CPU clock frequency of the microcontrollers on the target hardware

400

PPU clock (MHz)

PPU clock frequency of the microcontrollers on the target hardware

400

Connectivity

ParameterDescriptionDefault Value
Connectivity interface

Select the type of connectivity interface for PIL or external mode simulation.

Serial (ASCLIN0)
NodeSpecify controller area network (CAN) node for universal measurement and calibration protocol (XCP)-based external mode simulation over CAN.0
Serial port in MATLAB preferences

Select the serial communication interface module.

empty
Baud rate

Select the baud rate for the processor-in-loop (PIL) or external mode simulation.

921600
Tx Pin

Select the transmission pin number for serial or CAN communication.

P14_0
Rx Pin

Select the reception pin number for serial or CAN communication.

P14_1
CAN Vendor

Specify CAN vendor for XCP over CAN through which the host computer communicates with the target hardware for external mode simulation.

<empty>
CAN Device

Specify CAN device for XCP-based external mode simulation over CAN.

<empty>
CAN Channel

Specify the vendor-specific CAN channel used for XCP-based external mode simulation over CAN.

<empty>
Extended CAN ID

Select to enable extend CAN ID for XCP-based external mode simulation over complex CAN networks.

off
CAN ID command

Specify the CAN identifier used by the host computer to transmit command or request messages to a CAN node.

2
CAN ID response

Specify the CAN identifier used by the CAN node to send response or status messages to the host computer.

3

External mode

ParameterDescriptionDefault Value
Communication interfaceSelect the transport layer that external mode simulation uses to exchange data between the host computer and the target hardware.Serial
Port

Specify the port number for XCP-based external mode simulation over transmission control protocol/internet protocol (TCP/IP).

17725
Host interface

Select the host computer through which the host computer communicates to Infineon AURIX microcontroller for signal monitoring and parameter tuning.

Simulink
Verbose

Select to view the external mode simulation progress and updates.

off
Set logging buffer size automatically

Select to automatically set the number of bytes to preallocate for the buffer in the hardware during simulation.

on
Logging buffer size (in bytes)

Specify the memory buffer size for XCP-based external mode simulation.

2000

For more information on selecting a hardware board and general configuration settings, see Hardware Implementation Pane.