fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/hw4/basememory.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     basememory.h  -  description
00003 
00004     begin                : Thu Jun 29 2000
00005     copyright            : (C) 2000 by Andreas Kopmann
00006     email                : kopmann@hpe.fzk.de
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef _HW4_BASEMEMORY_H_INCLUDED
00011 #define _HW4_BASEMEMORY_H_INCLUDED
00012 
00013 
00014 #include <Pbus/Pbus.h>
00015 #include <hw4/sltdef.h>
00016 #include <hw4/baseregister.h>
00017 
00018 
00019 namespace hw4 {
00020 
00032 class BaseMemory : public BaseRegister {
00033 public:
00045   BaseMemory(const char * name, int slotID, unsigned int regID, int r, int w, 
00046               int len = 1, int addrShift = 0, int blockLen = 1, bool useCache = false);
00047 
00050   void readBlockAutoIncr(int elem, unsigned long * data, unsigned long start, unsigned long blockLen);
00051 };
00052 
00053 } // namespace hw4
00054 
00055 #endif // _HW4_BASEMEMORY_H_INCLUDED
00056