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

Subversion Repositories w11

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

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

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

powered by: WebSVN 2.1.0

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