Main Content

Hardware Mapping

Map memory, tasks, and peripherals in a model to hardware board configurations

Since R2022b

Description

The Hardware Mapping tool allows you to configure memory, software tasks, and peripherals on the selected hardware board.

In this tool, you can map the tasks in your software model to the available event sources and interrupts:

  • Manually select the task in Mapping Browser > Tasks > task name. Select the desired event or interrupt. source. Click the Apply Changes button in the toolstrip.

  • Automatically by clicking the Auto Map button on the toolstrip.

The sources of events or interrupts depend on the choice of hardware board and peripherals available in the model.

In this tool, you can configure peripherals by setting hardware specific parameters. To set the peripheral, select the peripheral in Mapping Browser > Peripherals > Peripheral group name > Peripheral block name. In the Peripheral block name pane, choose the appropriate settings to apply to the hardware peripheral when deployed to the hardware board. The available parameters depend on the selected hardware board for the model and the peripheral.

You can also configure the memory map of your application. To edit or reset the memory map, select an entry from the Mapping Browser pane. Then:

  • Click Auto Map to automatically map the memory locations.

  • Edit the offset of memory-mapped items and click Apply Changes.

  • To reset the memory map, click Reset Map.

For a complete set of parameters for available hardware boards, see:

Open the Hardware Mapping

  • Simulink® Toolstrip: On the System On Chip tab, in the Prepare section, click Hardware Mapping.

  • A screen within the SoC Builder app

Version History

Introduced in R2022b