ARM Technical Support Knowledge Articles

Can I monitor/trace PVBus connections?

Applies to: Fast Models

Answer

For Fast Models 8.0 onwards

The PVBusLogger component lets you trace PVBus transactions between a PVBus master and a slave and exposes this information via MTI.

What you need to do to trace the transactions:

Instantiate PVBusLogger from the list of components in sgcanvas (the component is located in ${PVLIB_HOME}\LISA\PVBusLogger.lisa).

pvbuslogger : PVBusLogger();

master0.pvbus_m0_ => pvbuslogger.pvbus_s;
pvbuslogger0.pvbus_m => slave0.pvbus;

The GenericTraceExample plugin provided with the MTIPDK will let you display these events:

isim_system --plugin $PVLIB_HOME/examples/MTI/GenericTrace/source/GenericTrace.so -C TRACE.GenericTrace.trace-sources=<component_path>.pvbuslogger.*

To find out the name of the sources and their description, you can use the ListTraceSources plugin.
You can then select the trace source that are interesting for you. The less trace sources you register, the faster your simulation will run.

By default, the Cortex-A models includes an internal PVBusLogger on the PVBus master port called ext_bus. This will let you trace cortex-A core reads and writes on the bus without rebuilding the model.

For Fast Models 7.1 and before

One method of tracing/monitoring a PVBus connection is to use a monitor component.

An example monitor component is provided with the Fast Model Portfolio.  This can be found here:

${PVLIB_HOME}\LISA\PVBusMonitor.lisa

Please note that this monitor does not propagate ACE traffic and therefore should not be used on ACE connections

Note on performance

PVBusLogger (when tracing) and PVBusMonitor breaks the DMI accesses, this will heavily impact simulation performance, so you should consider only doing so for debug purposes.

Attachments: PVBusLogger.png

Article last edited on: 2013-08-27 13:46:07

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential