osdtestlib.soc_interface

Trace generators and other tools to stimulate the SoC as DUT

copyright:Copyright 2017 by the Open SoC Debug team
license:MIT, see LICENSE for details.
class osdtestlib.soc_interface.StmTraceGenerator

Mimics CPU signals to generate stimuli for connected debug modules

trigger_event

Set the trace* signals of the STM so that it generates a debug event packet

Parameters:
  • dut – device under test.
  • trace_id – ID of the trace event.
  • trace_value – value of the trace event.