cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
timers.hpp
Go to the documentation of this file.
1 
17 
43 
56 #ifndef _TOE_TIM_H_
57 #define _TOE_TIM_H_
58 
59 #include "../toe.hpp"
60 #include "../toe_utils.hpp"
61 //#include "../event_engine/event_engine.hpp"
62 #include "../../../../NTS/nts_utils.hpp"
63 
64 using namespace hls;
65 
66 enum StateEntry {DISABLED_ENTRY = false,
67  ACTIVE_ENTRY = true};
68 
69 
73 {
74  public:
75  ap_uint<32> time;
76  bool active;
78 };
79 
80 
84 {
85  public:
86  ap_uint<32> time;
87  bool active;
89 };
90 
91 
95 {
96  public:
97  ap_uint<32> time;
98  ap_uint<3> retries;
99  bool active;
102 };
103 
104 
109 void timers(
110  //-- Rx Engine Interfaces
111  stream<RXeReTransTimerCmd> &siRXe_ReTxTimerCmd,
112  stream<ap_uint<16> > &siRXe_ClrProbeTimer,
113  stream<ap_uint<16> > &siRXe_CloseTimer,
114  //-- Tx Engine Interfaces
115  stream<TXeReTransTimerCmd> &siTXe_ReTxTimerCmd,
116  stream<ap_uint<16> > &siTXe_SetProbeTimer,
117  //-- State Table Interface
118  stream<SessionId> &soSTt_SessCloseCmd,
119  //-- Event Engine Interface
120  stream<Event> &soEVe_Event,
121  //-- Tx Application Interface
122  stream<SessState> &soTAi_Notif,
123  //-- Rx Application Interface
124  stream<TcpAppNotif> &soRAi_Notif
125 );
126 
127 #endif
128 
ap_uint< 32 > time
Definition: timers.hpp:75
ap_uint< 32 > time
Definition: timers.hpp:86
ap_uint< 32 > time
Definition: timers.hpp:97
ap_uint< 3 > retries
Definition: timers.hpp:98
EventType type
Definition: timers.hpp:100
StateEntry
Definition: timers.hpp:66
EventType
Definition: toe.hpp:273
void timers(stream< RXeReTransTimerCmd > &siRXe_ReTxTimerCmd, stream< SessionId > &siRXe_ClrProbeTimer, stream< SessionId > &siRXe_CloseTimer, stream< TXeReTransTimerCmd > &siTXe_ReTxTimerCmd, stream< SessionId > &siTXe_SetProbeTimer, stream< SessionId > &soSTt_SessCloseCmd, stream< Event > &soEVe_Event, stream< SessState > &soTAi_Notif, stream< TcpAppNotif > &soRAi_Notif)
The Timers (TIm)
Definition: timers.cpp:505
@ ACTIVE_ENTRY
Definition: timers.hpp:67
@ DISABLED_ENTRY
Definition: timers.hpp:66