cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
tcp_app_flash_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 
35 #ifndef _TAF_TOP_H_
36 #define _TAF_TOP_H_
37 
38 #include "./tcp_app_flash.hpp"
39 #include "../../../../cFDK/SRA/LIB/SHELL/LIB/hls/NTS/nts.hpp"
40 #include "../../../../cFDK/SRA/LIB/SHELL/LIB/hls/NTS/nts_utils.hpp"
41 
42 
43 
48 void tcp_app_flash_top (
49  //------------------------------------------------------
50  //-- SHELL / MMIO / Configuration Interfaces
51  //------------------------------------------------------
52  #if defined TAF_USE_NON_FIFO_IO
53  ap_uint<2> piSHL_MmioEchoCtrl,
54  #endif
55  //------------------------------------------------------
56  //-- TSIF / Rx Data Interfaces
57  //------------------------------------------------------
58  stream<TcpAppData> &siTSIF_Data,
59  stream<TcpSessId> &siTSIF_SessId,
60  stream<TcpDatLen> &siTSIF_DatLen,
61  //------------------------------------------------------
62  //-- TSIF / Tx Data Interfaces
63  //------------------------------------------------------
64  stream<TcpAppData> &soTSIF_Data,
65  stream<TcpSessId> &soTSIF_SessId,
66  stream<TcpDatLen> &soTSIF_DatLen
67 );
68 
69 #endif
70 
void tcp_app_flash_top(stream< TcpAppData > &siTSIF_Data, stream< TcpSessId > &siTSIF_SessId, stream< TcpDatLen > &siTSIF_DatLen, stream< TcpAppData > &soTSIF_Data, stream< TcpSessId > &soTSIF_SessId, stream< TcpDatLen > &soTSIF_DatLen)
Top of TCP Application Flash (TAF)
: TCP Application Flash (TAF)