メインコンテンツ

Model Configuration Parameters

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

  5. To apply the changes, click Apply.

Hardware board settings

ParameterDescriptionDefault Value
Device SeriesDevice series for the selected hardware board.

TC49x

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 TC499 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 communication interface for simulation.

Serial (ASCLIN0)
Serial port in MATLAB preferences

Select the serial communication interface module.

empty
Baud rateSelect the baud rate of the serial communication port.921600
Tx PinSelect the pin number for data transmission using serial communication portP14_0
Rx PinSelect the pin number for data reception using serial communication port.P14_1

External mode

ParameterDescriptionDefault Value
Communication interface

Select the transport layer External mode uses to exchange data between the host computer and the target hardware

Serial
Verbose

Select Verbose to view the External mode execution progress and updates.

off

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