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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [bench/] [sysc/] [include/] [TapActionReset.h] - Blame information for rev 74

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 63 julius
// ----------------------------------------------------------------------------
2
 
3
// TAP reset action : definition
4
 
5
// Copyright (C) 2009  Embecosm Limited <info@embecosm.com>
6
 
7
// Contributor Jeremy Bennett <jeremy.bennett@embecosm.com>
8
 
9
// This file is part of the Embecosm cycle accurate SystemC JTAG library.
10
 
11
// This program is free software: you can redistribute it and/or modify it
12
// under the terms of the GNU Lesser General Public License as published by
13
// the Free Software Foundation, either version 3 of the License, or (at your
14
// option) any later version.
15
 
16
// This program is distributed in the hope that it will be useful, but WITHOUT
17
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
19
// License for more details.
20
 
21
// You should have received a copy of the GNU Lesser General Public License
22
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
23
 
24
// The C/C++ parts of this program are commented throughout in a fashion
25
// suitable for processing with Doxygen.
26
 
27
// ----------------------------------------------------------------------------
28
 
29
// $Id$
30
 
31
 
32
#ifndef TAP_RESET_ACTION__H
33
#define TAP_RESET_ACTION__H
34
 
35
#include "TapAction.h"
36
#include "TapStateMachine.h"
37
 
38
 
39
//! Class to represent a TAP reset action.
40
 
41
//! This can be very simple, since it reuses the parent class method to do the
42
//! reset.
43
 
44
class TapActionReset
45
  : public TapAction
46
{
47
public:
48
 
49
  // Constructor
50
  TapActionReset (sc_core::sc_event *_doneEvent);
51
 
52
 
53
protected:
54
 
55
  // Process the action for reset
56
  bool  process (TapStateMachine *tapStateMachine,
57
                 bool            &tdi,
58
                 bool             tdo,
59
                 bool            &tms);
60
 
61
 
62
private:
63
 
64
  //!< Flag to mark first call to process method
65
  bool  firstTime;
66
 
67
};      // TapActionReset
68
 
69
#endif  // TAP_RESET_ACTION__H

powered by: WebSVN 2.1.0

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