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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librw11/] [Rw11CpuW11a.cpp] - Blame information for rev 19

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

Line No. Rev Author Line
1 19 wfjm
// $Id: Rw11CpuW11a.cpp 504 2013-04-13 15:37:24Z mueller $
2
//
3
// Copyright 2013- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
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-01-27   478   0.1    First draft
18
// ---------------------------------------------------------------------------
19
 
20
/*!
21
  \file
22
  \version $Id: Rw11CpuW11a.cpp 504 2013-04-13 15:37:24Z mueller $
23
  \brief   Implemenation of Rw11CpuW11a.
24
*/
25
 
26
#include "librtools/RosFill.hpp"
27
 
28
#include "Rw11CpuW11a.hpp"
29
 
30
using namespace std;
31
 
32
/*!
33
  \class Retro::Rw11CpuW11a
34
  \brief FIXME_docs
35
*/
36
 
37
// all method definitions in namespace Retro
38
namespace Retro {
39
 
40
//------------------------------------------+-----------------------------------
41
//! Default constructor
42
 
43
Rw11CpuW11a::Rw11CpuW11a()
44
  : Rw11Cpu("w11a")
45
{}
46
 
47
//------------------------------------------+-----------------------------------
48
//! Destructor
49
 
50
Rw11CpuW11a::~Rw11CpuW11a()
51
{}
52
 
53
//------------------------------------------+-----------------------------------
54
//! FIXME_docs
55
 
56
void Rw11CpuW11a::Setup(size_t ind, uint16_t base)
57
{
58
  fIndex = ind;
59
  fBase  = base;
60
  return;
61
}
62
 
63
//------------------------------------------+-----------------------------------
64
//! FIXME_docs
65
 
66
void Rw11CpuW11a::Dump(std::ostream& os, int ind, const char* text) const
67
{
68
  RosFill bl(ind);
69
  os << bl << (text?text:"--") << "Rw11CpuW11a @ " << this << endl;
70
  Rw11Cpu::Dump(os, ind, " ^");
71
  return;
72
}
73
 
74
} // end namespace Retro

powered by: WebSVN 2.1.0

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