MatchLib
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
FIFO< DataType, 1, 1 > Class Template Reference

Specialization for single entry and single bank for QoR optimization. More...

#include <fifo.h>

Public Member Functions

typedef NVUINTW (1) T
 
void push (DataType wr_data, T bidx=0)
 
DataType pop (T bidx=0)
 
void incrHead (T bidx=0)
 
DataType peek (T bidx=0)
 
bool isEmpty (T bidx=0)
 
bool isFull (T bidx=0)
 
NumFilled (T bidx=0)
 
NumAvailable (T bidx=0)
 
void reset ()
 
template<unsigned int Size>
void Marshall (Marshaller< Size > &m)
 

Static Public Attributes

static const int width = Wrapped<DataType>::width + 1
 

Detailed Description

template<typename DataType>
class FIFO< DataType, 1, 1 >

Specialization for single entry and single bank for QoR optimization.

Template Parameters
DataTypeDataType of entry in FIFO

Definition at line 239 of file fifo.h.

Constructor & Destructor Documentation

◆ FIFO()

template<typename DataType >
FIFO< DataType, 1, 1 >::FIFO ( )
inline

Definition at line 247 of file fifo.h.

Member Function Documentation

◆ push()

template<typename DataType >
void FIFO< DataType, 1, 1 >::push ( DataType  wr_data,
bidx = 0 
)
inline

Definition at line 249 of file fifo.h.

◆ pop()

template<typename DataType >
DataType FIFO< DataType, 1, 1 >::pop ( bidx = 0)
inline

Definition at line 256 of file fifo.h.

◆ incrHead()

template<typename DataType >
void FIFO< DataType, 1, 1 >::incrHead ( bidx = 0)
inline

Definition at line 262 of file fifo.h.

◆ peek()

template<typename DataType >
DataType FIFO< DataType, 1, 1 >::peek ( bidx = 0)
inline

Definition at line 268 of file fifo.h.

◆ isEmpty()

template<typename DataType >
bool FIFO< DataType, 1, 1 >::isEmpty ( bidx = 0)
inline

Definition at line 274 of file fifo.h.

◆ isFull()

template<typename DataType >
bool FIFO< DataType, 1, 1 >::isFull ( bidx = 0)
inline

Definition at line 279 of file fifo.h.

◆ NumFilled()

template<typename DataType >
T FIFO< DataType, 1, 1 >::NumFilled ( bidx = 0)
inline

Definition at line 284 of file fifo.h.

◆ NumAvailable()

template<typename DataType >
T FIFO< DataType, 1, 1 >::NumAvailable ( bidx = 0)
inline

Definition at line 288 of file fifo.h.

◆ reset()

template<typename DataType >
void FIFO< DataType, 1, 1 >::reset ( )
inline

Definition at line 292 of file fifo.h.

◆ Marshall()

template<typename DataType >
template<unsigned int Size>
void FIFO< DataType, 1, 1 >::Marshall ( Marshaller< Size > &  m)
inline

Definition at line 297 of file fifo.h.

Member Data Documentation

◆ width

template<typename DataType >
const int FIFO< DataType, 1, 1 >::width = Wrapped<DataType>::width + 1
static

Definition at line 244 of file fifo.h.


The documentation for this class was generated from the following file: