cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
udp_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 _USIF_TOP_H_
31 #define _USIF_TOP_H_
32 
33 #include <hls_stream.h>
34 
35 #include "udp_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 
40 
45 void udp_shell_if_top(
46 
47  //------------------------------------------------------
48  //-- SHELL / Mmio Interface
49  //------------------------------------------------------
50  CmdBit *piSHL_Mmio_En,
51 
52  //------------------------------------------------------
53  //-- SHELL / Control Port Interfaces
54  //------------------------------------------------------
55  stream<UdpAppLsnReq> &soSHL_LsnReq,
56  stream<UdpAppLsnRep> &siSHL_LsnRep,
57  stream<UdpAppClsReq> &soSHL_ClsReq,
58  stream<UdpAppClsRep> &siSHL_ClsRep,
59 
60  //------------------------------------------------------
61  //-- SHELL / Rx Data Interfaces
62  //------------------------------------------------------
63  stream<UdpAppData> &siSHL_Data,
64  stream<UdpAppMeta> &siSHL_Meta,
65  stream<UdpAppDLen> &siSHL_DLen,
66 
67  //------------------------------------------------------
68  //-- SHELL / Tx Data Interfaces
69  //------------------------------------------------------
70  stream<UdpAppData> &soSHL_Data,
71  stream<UdpAppMeta> &soSHL_Meta,
72  stream<UdpAppDLen> &soSHL_DLen,
73 
74  //------------------------------------------------------
75  //-- UAF / Tx Data Interfaces
76  //------------------------------------------------------
77  stream<UdpAppData> &siUAF_Data,
78  stream<UdpAppMeta> &siUAF_Meta,
79  stream<UdpAppDLen> &siUAF_DLen,
80 
81  //------------------------------------------------------
82  //-- UAF / Rx Data Interfaces
83  //------------------------------------------------------
84  stream<UdpAppData> &soUAF_Data,
85  stream<UdpAppMeta> &soUAF_Meta,
86  stream<UdpAppDLen> &soUAF_DLen
87 );
88 
89 #endif
90 
ap_uint< 1 > CmdBit
Definition: nts_types.hpp:108
void udp_shell_if_top(CmdBit *piSHL_Mmio_En, stream< UdpPort > &soSHL_LsnReq, stream< StsBool > &siSHL_LsnRep, stream< UdpPort > &soSHL_ClsReq, stream< StsBool > &siSHL_ClsRep, stream< UdpAppData > &siSHL_Data, stream< UdpAppMeta > &siSHL_Meta, stream< UdpAppDLen > &siSHL_DLen, stream< UdpAppData > &soSHL_Data, stream< UdpAppMeta > &soSHL_Meta, stream< UdpAppDLen > &soSHL_DLen, stream< UdpAppData > &siUAF_Data, stream< UdpAppMeta > &siUAF_Meta, stream< UdpAppDLen > &siUAF_DLen, stream< UdpAppData > &soUAF_Data, stream< UdpAppMeta > &soUAF_Meta, stream< UdpAppDLen > &soUAF_DLen)
Top of UDP Shell Interface (USIF)
: UDP Shell Interface (USIF).