ODB Sub-Package

The ODB sub-package contains the following KPs.

  • op_prg_odb_bkpt() Defines a labeled breakpoint which will occur if the simulation is running under ODB control, and if the labeled breakpoint is enabled.
  • op_prg_odb_command_register() Allows the user to add custom commands to ODB that result in the invocation of custom callback functions.
  • op_prg_odb_ltrace_active() Determines if the specified labeled trace has been activated by an ODB command.
  • op_prg_odb_pktrace_active() Determines if the specified packet is affected by tracing commands issued under ODB, the Simulation Debugger.
  • op_prg_odb_print_major() Prints a sequence of strings to the standard output device, in the format of ODB trace statements starting at the major indentation level.
  • op_prg_odb_print_minor() Prints a sequence of strings to the standard output device, in the format of ODB trace statements at the minor indentation level.
  • op_prg_odb_trace_active() Determines if a full trace, or a module trace associated with the surrounding module, has been activated by an ODB command.
  • op_prg_odb_prodiag_args() Returns a list of string arguments passed to ODB with the “proldiag“ command.
  • op_prg_text_output() Prints a sequence of user-defined strings to the standard output device.

See ODB Sub-Package for an overview of this sub-package.