implemented fifo depth configurable from client

This commit is contained in:
Dhanya Maliakal
2015-11-17 10:31:09 +01:00
parent 003d0255c3
commit 777f04331d
8 changed files with 184 additions and 38 deletions

View File

@@ -235,6 +235,12 @@ class UDPInterface {
*/
virtual bool getTenGigaEnable() const = 0;
/**
* Get Fifo Depth
* @return fifo depth
*/
virtual uint32_t getFifoDepth() const = 0;
//***receiver status***
/**
* Get Listening Status of Receiver
@@ -378,6 +384,13 @@ class UDPInterface {
*/
virtual int setTenGigaEnable(const bool b) = 0;
/**
* Set Fifo Depth
* @param i fifo depth value
* @return OK or FAIL
*/
virtual int setFifoDepth(const uint32_t i) = 0;
/*************************************************************************
* Behavioral functions***************************************************