interfacetrace

Abstract

In a cosimulation, sets a trace on the specified interface. Interface traces consist of statements indicating Kernel Procedures and selected Simulation Kernel actions applied to the specified interface.

Syntax

interfacetrace <objref>

Argument Type Description
<objref> integer or string numeric object ID or hierarchical name of the interface-of-interest
An object ID for this argument can be obtained by using the ODB commands objmap or objid.

Details

An event associated with traced KPs and actions is indicated by an event banner that precedes the trace messages. Multiple interface traces can be active at the same time. An interface trace is active from the time it is set until it is suspended or deleted. Traces can be suspended by susptrace, reactivated by acttrace, or deleted by deltrace.

Example

ODB> interfacetrace top.adder.adder.addend0
Added trace #1: trace on top.adder.adder.addend0

ODB> evstop +20
Added breakpoint #1: stop at nth event (38)

ODB> c
  .
  .
  .
____________________________ (ODB 18.6.0: Event) ____________________________

    * Time   : 0.002 sec, [2ms]
    * Event  : execution ID (24), schedule ID (#28), type (stream intrpt)
    * Source : execution ID (20), top.adder.adder_rx0 (pt-pt receiver)
    * Data   : instrm (0), packet ID (1)
    > Module : top.adder.adder (esys module)

        *- op_esys_interface_value_set (interface, schedule_time, value [, index])
        |  interface ID     30 (top.adder.adder.addend0)
        |  schedule time    (0.002)
        |  value            (62464)
        |  index            (-1)
        |  event handle     (36)
        +------
  .
  .
  .

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com