URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.