fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 basefifo.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_BASEFIFO_H_INCLUDED 00011 #define _HW4_BASEFIFO_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 BaseFIFO : public BaseRegister { 00033 public: 00049 BaseFIFO(const char * name, int slotID, unsigned int regID, int r, int w, 00050 int len = 1, int addrShift = 0, int blockLen = 1, bool useCache = false); 00051 00053 virtual void readBlock(unsigned long * data); 00054 00056 virtual void readBlock(unsigned long * data, unsigned long blockLen); 00057 00058 }; 00059 00060 } // namespace hw4 00061 00062 #endif // _HW4_BASEFIFO_H_INCLUDED 00063