cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
udp_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 _UAF_TOP_H_
36 #define _UAF_TOP_H_
37 
38 #include "./udp_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 udp_app_flash_top (
49  //------------------------------------------------------
50  //-- SHELL / Mmio Interfaces
51  //------------------------------------------------------
52  CmdBit *piSHL_Mmio_Enabe,
53  //[NOT_USED] ap_uint<2> piSHL_Mmio_EchoCtrl,
54  //[NOT_USED] CmdBit piSHL_Mmio_PostPktEn,
55  //[NOT_USED] CmdBit piSHL_Mmio_CaptPktEn,
56  //------------------------------------------------------
57  //-- USIF / Rx Data Interfaces
58  //------------------------------------------------------
59  stream<UdpAppData> &siUSIF_Data,
60  stream<UdpAppMeta> &siUSIF_Meta,
61  stream<UdpAppDLen> &siUSIF_DLen,
62  //------------------------------------------------------
63  //-- USIF / Tx Data Interfaces
64  //------------------------------------------------------
65  stream<UdpAppData> &soUSIF_Data,
66  stream<UdpAppMeta> &soUSIF_Meta,
67  stream<UdpAppDLen> &soUSIF_DLen
68 
69 );
70 
71 #endif
72 
ap_uint< 1 > CmdBit
Definition: nts_types.hpp:108
void udp_app_flash_top(CmdBit *piSHL_Mmio_En, stream< UdpAppData > &siUSIF_Data, stream< UdpAppMeta > &siUSIF_Meta, stream< UdpAppDLen > &siUSIF_DLen, stream< UdpAppData > &soUSIF_Data, stream< UdpAppMeta > &soUSIF_Meta, stream< UdpAppDLen > &soUSIF_DLen)
Top of UDP Application Flash (UAF)
: UDP Application Flash (UAF)