25 #ifndef __TLM_FIFO_IFS_H__ 26 #define __TLM_FIFO_IFS_H__ 38 template<
typename T >
42 virtual int used()
const = 0;
43 virtual int size()
const = 0;
44 virtual void debug()
const = 0;
54 virtual bool nb_peek( T & ,
int n )
const = 0;
55 virtual bool nb_poke(
const T & ,
int n = 0 ) = 0;
61 template <
typename T >
66 template <
typename T >
74 virtual void nb_expand(
unsigned int n = 1 ) = 0;
75 virtual void nb_unbound(
unsigned int n = 16 ) = 0;
77 virtual bool nb_reduce(
unsigned int n = 1 ) = 0;
78 virtual bool nb_bound(
unsigned int n ) = 0;
virtual bool nb_peek(T &, int n) const =0
virtual int used() const =0
virtual int size() const =0
virtual void debug() const =0
virtual bool nb_poke(const T &, int n=0)=0