OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [bench/] [sysc/] [include/] [TraceSC.h] - Diff between revs 49 and 462

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 49 Rev 462
Line 31... Line 31...
#ifndef TRACE_SC__H
#ifndef TRACE_SC__H
#define TRACE_SC__H
#define TRACE_SC__H
 
 
#include "Vorpsoc_top.h"
#include "Vorpsoc_top.h"
 
 
 
 
#if VM_TRACE
#if VM_TRACE
#include <SpTraceVcdC.h>
#include <SpTraceVcdC.h>
#endif
#endif
 
 
 
 
//! Class to drive the Verilator VCD trace interface.
//! Class to drive the Verilator VCD trace interface.
 
 
//! Substantive code is only implemented if trace is enabled.
//! Substantive code is only implemented if trace is enabled.
 
 
class TraceSC
class TraceSC:public sc_core::sc_module {
  : public sc_core::sc_module
 
{
 
public:
public:
 
 
  // Constructor and destructor
  // Constructor and destructor
  TraceSC (sc_core::sc_module_name  name,
  TraceSC (sc_core::sc_module_name  name,
           Vorpsoc_top        *_traceTarget,
                Vorpsoc_top * _traceTarget, int argc, char *argv[]);
           int argc,
 
           char * argv[]);
 
  ~TraceSC ();
  ~TraceSC ();
 
 
    // Method to drive the trace
    // Method to drive the trace
  void  driveTrace();
  void  driveTrace();
 
 
Line 69... Line 63...
private:
private:
 
 
  //! The ORPSoC module we are tracing
  //! The ORPSoC module we are tracing
  Vorpsoc_top *traceTarget;
  Vorpsoc_top *traceTarget;
 
 
 
 
#if VM_TRACE
#if VM_TRACE
  //! The System Perl Trace file
  //! The System Perl Trace file
  SpTraceVcdCFile *spTraceFile;
  SpTraceVcdCFile *spTraceFile;
#endif
#endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.