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

Subversion Repositories openrisc_me

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

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

Rev 63 Rev 462
Line 26... Line 26...
 
 
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
 
 
// $Id$
// $Id$
 
 
 
 
#ifndef TAP_RESET_ACTION__H
#ifndef TAP_RESET_ACTION__H
#define TAP_RESET_ACTION__H
#define TAP_RESET_ACTION__H
 
 
#include "TapAction.h"
#include "TapAction.h"
#include "TapStateMachine.h"
#include "TapStateMachine.h"
 
 
 
 
//! Class to represent a TAP reset action.
//! Class to represent a TAP reset action.
 
 
//! This can be very simple, since it reuses the parent class method to do the
//! This can be very simple, since it reuses the parent class method to do the
//! reset.
//! reset.
 
 
class TapActionReset
class TapActionReset:public TapAction {
  : public TapAction
 
{
 
public:
public:
 
 
  // Constructor
  // Constructor
  TapActionReset (sc_core::sc_event *_doneEvent);
  TapActionReset (sc_core::sc_event *_doneEvent);
 
 
 
 
protected:
protected:
 
 
  // Process the action for reset
  // Process the action for reset
  bool  process (TapStateMachine *tapStateMachine,
  bool  process (TapStateMachine *tapStateMachine,
                 bool            &tdi,
                     bool & tdi, bool tdo, bool & tms);
                 bool             tdo,
 
                 bool            &tms);
 
 
 
 
 
private:
private:
 
 
  //!< Flag to mark first call to process method
  //!< Flag to mark first call to process method
  bool  firstTime;
  bool  firstTime;

powered by: WebSVN 2.1.0

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