5.4.50. MemoryMappedCounterModule component

The MemoryMappedCounterModule component implements a memory-mapped counter module, and is required for models containing multiple clusters of processors with Generic Timers. It must also be used to run a single processor system where the Generic Timer runs at a different rate to the input clock to the processor. See Figure 5.72:

Figure 5.72. MemoryMappedCounterModule in System Canvas

MemoryMappedCounterModule in System Canvas

This component is written in LISA+.

Ports

Table 5.139 provides a brief description of the MemoryMappedCounterModule component ports. For more information, see the hardware documentation.

Table 5.139. MemoryMappedCounterModule ports

NamePort ProtocolTypeDescription
clk_inClock signalslaveThis clock input is used to determine the frequency of the Physical Count provided to the clusters connected to the cntvalueb port.
cntvaluebCompoundPortLISAmasterThis implements a private protocol between the cluster and the MemoryMappedCounterModule. This must be connected to the cntvalueb port on each cluster in the system and to the MemoryMappedCounterModule component.
pvbus_control_sPVBus[a]slaveThis slave port is used to provide memory-mapped read write access to the control registers of the module.
pvbus_read_sPVBus[a]slaveThis slave port is used to provide memory-mapped read access to additional registers. It is currently not implemented.

[a] Two bus slave ports are provided because the architecture specification permits each set of registers to be mapped at different base addresses that do not have to be contiguous.


Additional protocols

The MemoryMappedCounterModule component has no additional protocols.

Parameters

Table 5.140 provides a description of the configuration parameters for the MemoryMappedCounterModule component.

Table 5.140. MemoryMappedCounterModule configuration parameters

Parameter nameDescriptionTypeAllowed valueDefault value
non_arch_start_at_defaultA model-specific way of enabling the counter module out of reset.Booleantrue or falsefalse

Registers

The MemoryMappedCounterModule component has no registers.

Debug Features

The MemoryMappedCounterModule component has no debug features.

Verification and testing

The MemoryMappedCounterModule component has been tested as part of a system with network functionalities.

Performance

The MemoryMappedCounterModule component is not expected to significantly affect the performance of a PV system.

Library dependencies

The MemoryMappedCounterModule component has no dependencies on external libraries.

Copyright © 2008-2013 ARM. All rights reserved.ARM DUI 0423O
Non-ConfidentialID060613