Main Content

Select TLM Mapping Options

Select socket and memory map configuration for your TLM component on theTLM Mappingtab. You can select a single socket, or three sockets, generated from your Simulink®model, or choose to import a custom socket map using an IP-XACT file. If you select one of the fixed socket configurations, you can specify additional memory map options.

Socket Mapping

You can choose to have a single, combined TLM socket for input data, output data, and control or you can choose three separate TLM socket for input data, output data, and control so that you can connect the sockets to different buses. Alternatively, you can customize the socket mapping using an IP-XACT file.

  • One combined TLM socket for input data, output data, and control— Selecting this option displays theCombined TLM Socketparameters to configure the generated memory map. SeeMemory Map Configuration.

  • Three separate TLM sockets for input data, output data, and control— Selecting this option displays separate memory map parameters for the three sockets. SeeMemory Map Configuration.

  • Defined by imported IP-XACT file— When prompted, provide the path and file name of the IP-XACT file.

    SeePrepare IP-XACT File for Importfor IP-XACT file requirements.

    By default, only those registers and signal ports mapped to Simulink signals are implemented in the generated TLM component. SelectGenerate code for unmapped IP_XACT registers/bitfieldsto include all registers from the IP-XACT file in the generated TLM component. SelectGenerate code for unmapped IP_XACT signal portsto include all signal ports from the IP-XACT file in the generated TLM component.

    When you import an IP-XACT file, you can optionally generate an interface compatible with the System C Modeling Library (SCML). SelectImplement memory map with SCML. SeeImplement Memory Map with SCML. To use this feature, you must install SCML from Synopsys®.

Memory Map Configuration

For each socket, choose the socket mapping type. For a description of the options available underMemory Map Type, seeMemory Mapping.

If you choose自动生成的内存图, the options expand to include theAuto-Generated Memory Map Typesection, as shown in the following figures:

Single TLM Socket Separate TLM Sockets

相关话题