| Contents | Index |
| On this page… |
|---|
Automatically Generated Memory Map with Single Address Automatically Generated Memory Map with Individual Addresses |
The no memory map option generates a TLM component with only one read and one write register without any address. The Simulink model inputs are represented by the write register and the outputs are represented by the read register.


Without a memory map, the generated TLM component has the following characteristics:
Has a single input register and a single output register.
Does not need—and ignores—an address in the read and write requests during SystemC simulation to select specific registers on the device.
Receives all input data in a single write request, and a read request receives all output data in the return value
Has input and output registers either sized to hold an entire data set required or created by the TLM component when it executes the behavior (algorithm step function) in your virtual platform environment
When input registers are full, this condition triggers (schedules) execution of the behavior in the SystemC simulator. Output registers are handled the same way.
All defaults for commands and status are applied.
When you generate the TLM component with this option, you can use it in a virtual platform (VP) as:
A standalone component in a verification test bench
A direct bound co-processing unit
A device attached to a communication channel using a protocol adapter
The automatically generated memory map with single address option generates a TLM component with only one read data register and one write data register with one address each.


The Simulink model inputs are represented by the write register, and the outputs are represented by the read register. HDL Verifier software automatically assigns the addresses required to access those specific registers during code generation. Those addresses give the specific offsets required to address each individual register via read and write operations. Definition of the base address for the entire generated TLM component should be defined by the virtual platform that the TLM component resides in. The offset address definitions appear in a definition file that is generated along with the TLM component.
With a single address memory map, the generated TLM component has the following characteristics:
Has a single input register and a single output register, and optional command and status register and test and set register.
Must have an address in the read and write requests during SystemC simulation to select specific registers on the device.
Receives all input data in a single write request, and a read request receives all output data in the return value
Has input and output registers either sized to hold an entire data set required or created by the TLM component when it executes the behavior (algorithm step function) in your virtual platform environment
If a command and status register is not used or if the command and status register is used and the default values apply, when input register is full, content is pushed into buffer, which then triggers (schedules) execution of the behavior in the SystemC simulator. If the command and status register is used and the Push Input Command is set to 1, the initiator module moves the input data set from the input register to the input buffer. Output registers are handled the same way.
If a command and status register is not used, all defaults for commands and status are applied.
When you generate the TLM component with this option, you can use it in a virtual platform (VP) as a standalone component in a test bench, or you can attach it to a communication channel.
The automatically generated memory map with individual address option generates a TLM component with one read data register per model output and write data register per model input with individual addresses.


Each Simulink model input is represented by its corresponding write register, and each output is represented by its corresponding read register. HDL Verifier software automatically assigns the addresses required to access those specific registers during code generation. Those addresses give the specific offsets required to address each individual register via read and write operations. Definition of the base address for the entire generated TLM component should be defined by the virtual platform that the TLM component resides in. The offset address definitions appear in a definition file that is generated along with the TLM component.
With an individual address memory map, the generated TLM component has the following characteristics:
Each input register and each output register has its own address as well as an optional command and status register and test and set register.
Must have an address in the read and write requests during SystemC simulation to select specific registers on the device.
Each input and output register must be accessed individually.
Initiator module can write or read each input and output register in multiple and/or partial transactions.
The size of each input and output register is the size of the data.
Execution is triggered when all input has been written or when command and set register bits are set to Automatic. If set to manual, the initiator module moves the input data set from the input register to the input buffer.
Output registers are refreshed when all output registers have been read or when command and set registers bits are set to Automatic. If set to manual, the initiator module moves the output data set from the output buffer to the output register.
When you generate the TLM component with this option, you can use it in a virtual platform (VP) as a standalone component in a test bench, or you can attach it to a communication channel.
![]() | Overview of Component Features | Command and Status Register | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |