OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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
#ifndef TAP_RESET_ACTION__H
32
#define TAP_RESET_ACTION__H
33
 
34
#include "TapAction.h"
35
#include "TapStateMachine.h"
36
 
37
//! Class to represent a TAP reset action.
38
 
39
//! This can be very simple, since it reuses the parent class method to do the
40
//! reset.
41
 
42 462 julius
class TapActionReset:public TapAction {
43 63 julius
public:
44
 
45 462 julius
        // Constructor
46
        TapActionReset(sc_core::sc_event * _doneEvent);
47 63 julius
 
48
protected:
49
 
50 462 julius
        // Process the action for reset
51
        bool process(TapStateMachine * tapStateMachine,
52
                     bool & tdi, bool tdo, bool & tms);
53 63 julius
 
54
private:
55
 
56 462 julius
        //!< Flag to mark first call to process method
57
        bool firstTime;
58 63 julius
 
59 462 julius
};                              // TapActionReset
60 63 julius
 
61 462 julius
#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.