cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
ack_delay.hpp
Go to the documentation of this file.
1 
17 
43 
56 #ifndef _TOE_AKD_H_
57 #define _TOE_AKD_H_
58 
59 #include "../../../../../NTS/nts_utils.hpp"
60 #include "../../../../../NTS/toe/src/toe.hpp"
61 
62 using namespace hls;
63 
64 
73 class AckEntry {
74  public:
75  ap_uint<12> delay; // Keeps track of the elapsed time
76  ap_uint<4> count; // Counts the number of received ACKs
77 
79  delay(0), count(0) {}
80  AckEntry(ap_uint<12> delay, ap_uint<4> count) :
81  delay(delay), count(count) {}
82 
83 };
84 
85 
90 void ack_delay(
91  //-- Event Engine Interfaces
92  stream<ExtendedEvent> &siEVe_Event,
93  stream<SigBit> &soEVe_RxEventSig,
94  stream<SigBit> &soEVe_TxEventSig,
95  //-- Tx Engine Interface
96  stream<ExtendedEvent> &soTXe_Event
97 );
98 
99 #endif
100 
ap_uint< 4 > count
Definition: ack_delay.hpp:76
ap_uint< 12 > delay
Definition: ack_delay.hpp:75
AckEntry(ap_uint< 12 > delay, ap_uint< 4 > count)
Definition: ack_delay.hpp:80
void delay(unsigned int mseconds)
Definition: common.hpp:85
void ack_delay(stream< ExtendedEvent > &siEVe_Event, stream< SigBit > &soEVe_RxEventSig, stream< SigBit > &soEVe_TxEventSig, stream< ExtendedEvent > &soTXe_Event)
ACK Delayer (AKd)
Definition: ack_delay.cpp:95