cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
tcp_shell_if_top.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2016 -- 2021 IBM Corporation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 
30 #ifndef _TSIF_TOP_H_
31 #define _TSIF_TOP_H_
32 
33 #include <hls_stream.h>
34 
35 #include "./tcp_shell_if.hpp"
36 #include "../../../../cFDK/SRA/LIB/SHELL/LIB/hls/NTS/nts.hpp"
37 #include "../../../../cFDK/SRA/LIB/SHELL/LIB/hls/NTS/nts_utils.hpp"
38 
39 
44 void tcp_shell_if_top(
45 
46  //------------------------------------------------------
47  //-- SHELL / Mmio Interface
48  //------------------------------------------------------
49  CmdBit *piSHL_Mmio_En,
50 
51  //------------------------------------------------------
52  //-- TAF / Rx Data Interface
53  //------------------------------------------------------
54  stream<TcpAppData> &siTAF_Data,
55  stream<TcpSessId> &siTAF_SessId,
56  stream<TcpDatLen> &siTAF_DatLen,
57 
58  //------------------------------------------------------
59  //-- TAF / Tx Data Interface
60  //------------------------------------------------------
61  stream<TcpAppData> &soTAF_Data,
62  stream<TcpSessId> &soTAF_SessId,
63  stream<TcpDatLen> &soTAF_DatLen,
64 
65  //------------------------------------------------------
66  //-- SHELL / Rx Data Interfaces
67  //------------------------------------------------------
68  stream<TcpAppNotif> &siSHL_Notif,
69  stream<TcpAppRdReq> &soSHL_DReq,
70  stream<TcpAppData> &siSHL_Data,
71  stream<TcpAppMeta> &siSHL_Meta,
72 
73  //------------------------------------------------------
74  //-- SHELL / Listen Interfaces
75  //------------------------------------------------------
76  stream<TcpAppLsnReq> &soSHL_LsnReq,
77  stream<TcpAppLsnRep> &siSHL_LsnRep,
78 
79  //------------------------------------------------------
80  //-- SHELL / Tx Data Interfaces
81  //------------------------------------------------------
82  stream<TcpAppData> &soSHL_Data,
83  stream<TcpAppSndReq> &soSHL_SndReq,
84  stream<TcpAppSndRep> &siSHL_SndRep,
85 
86  //------------------------------------------------------
87  //-- SHELL / Open Interfaces
88  //------------------------------------------------------
89  stream<TcpAppOpnReq> &soSHL_OpnReq,
90  stream<TcpAppOpnRep> &siSHL_OpnRep,
91 
92  //------------------------------------------------------
93  //-- SHELL / Close Interfaces
94  //------------------------------------------------------
95  stream<TcpAppClsReq> &soSHL_ClsReq,
96  //-- Not Used &siSHL_ClsSts,
97 
98  //------------------------------------------------------
99  //-- DEBUG Probes
100  //------------------------------------------------------
101  stream<ap_uint<32> > &soDBG_SinkCnt,
102  stream<ap_uint<16> > &soDBG_InpBufSpace
103 );
104 
105 #endif
106 
ap_uint< 1 > CmdBit
Definition: nts_types.hpp:108
void tcp_shell_if_top(CmdBit *piSHL_Mmio_En, stream< TcpAppData > &siTAF_Data, stream< TcpSessId > &siTAF_SessId, stream< TcpDatLen > &siTAF_DatLen, stream< TcpAppData > &soTAF_Data, stream< TcpSessId > &soTAF_SessId, stream< TcpDatLen > &soTAF_DatLen, stream< TcpAppNotif > &siSHL_Notif, stream< TcpAppRdReq > &soSHL_DReq, stream< TcpAppData > &siSHL_Data, stream< TcpAppMeta > &siSHL_Meta, stream< TcpAppLsnReq > &soSHL_LsnReq, stream< TcpAppLsnRep > &siSHL_LsnRep, stream< TcpAppData > &soSHL_Data, stream< TcpAppSndReq > &soSHL_SndReq, stream< TcpAppSndRep > &siSHL_SndRep, stream< TcpAppOpnReq > &soSHL_OpnReq, stream< TcpAppOpnRep > &siSHL_OpnRep, stream< TcpAppClsReq > &soSHL_ClsReq, stream< ap_uint< 32 > > &soDBG_SinkCnt, stream< ap_uint< 16 > > &soDBG_InpBufSpace)
Top of TCP Shell Interface (TSIF)
: TCP Shell Interface (TSIF)