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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [src/] [librw11/] [Rw11UnitTermBase.ipp] - Blame information for rev 26

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
// $Id: Rw11UnitTermBase.ipp 504 2013-04-13 15:37:24Z mueller $
2
//
3
// Copyright 2013- by Walter F.J. Mueller 
4
//
5
// This program is free software; you may redistribute and/or modify it under
6
// the terms of the GNU General Public License as published by the Free
7
// Software Foundation, either version 2, or at your option any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but
10
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
// for complete details.
13
//
14
// Revision History:
15
// Date         Rev Version  Comment
16
// 2013-03-03   494   1.0    Initial version
17
// 2013-02-22   490   0.1    First draft
18
// ---------------------------------------------------------------------------
19
 
20
/*!
21
  \file
22
  \version $Id: Rw11UnitTermBase.ipp 504 2013-04-13 15:37:24Z mueller $
23
  \brief   Implemenation (inline) of Rw11UnitTermBase.
24
*/
25
 
26
#include "Rw11UnitTermBase.hpp"
27
 
28
/*!
29
  \class Retro::Rw11UnitTermBase
30
  \brief FIXME_docs
31
*/
32
 
33
// all method definitions in namespace Retro
34
namespace Retro {
35
 
36
//------------------------------------------+-----------------------------------
37
//! Default constructor
38
 
39
template 
40
Rw11UnitTermBase::Rw11UnitTermBase(TC* pcntl, size_t index)
41
  : Rw11UnitTerm(pcntl, index),
42
    fpCntl(pcntl)
43
{}
44
 
45
//------------------------------------------+-----------------------------------
46
//! Destructor
47
 
48
template 
49
Rw11UnitTermBase::~Rw11UnitTermBase()
50
{}
51
 
52
//------------------------------------------+-----------------------------------
53
//! FIXME_docs
54
 
55
template 
56
inline TC& Rw11UnitTermBase::Cntl() const
57
{
58
  return *fpCntl;
59
}
60
 
61
//------------------------------------------+-----------------------------------
62
//! FIXME_docs
63
 
64
template 
65
inline void Rw11UnitTermBase::WakeupCntl()
66
{
67
  fpCntl->Wakeup();
68
  return;
69
}
70
 
71
//------------------------------------------+-----------------------------------
72
//! FIXME_docs
73
 
74
template 
75
void Rw11UnitTermBase::Dump(std::ostream& os, int ind,
76
                                const char* text) const
77
{
78
  RosFill bl(ind);
79
  os << bl << (text?text:"--") << "Rw11UnitTermBase  @ " << this << std::endl;
80
  os << bl << "  fpCntl:          " << fpCntl   << std::endl;
81
  Rw11UnitTerm::Dump(os, ind, " ^");
82
  return;
83
}
84
 
85
} // end namespace Retro

powered by: WebSVN 2.1.0

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