cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
#include "triangle_app.hpp"
Go to the source code of this file.
Functions | |
void | pPortAndDestionation (ap_uint< 32 > *pi_rank, ap_uint< 32 > *pi_size, stream< NodeId > &sDstNode_sig, ap_uint< 32 > *po_rx_ports) |
void | pEnq (stream< NetworkMetaStream > &siNrc_meta, stream< NetworkWord > &siNrc_data, stream< NetworkMetaStream > &sRxtoTx_Meta, stream< NetworkWord > &sRxpToTxp_Data) |
void | pDeq (stream< NodeId > &sDstNode_sig, stream< NetworkMetaStream > &sRxtoTx_Meta, stream< NetworkWord > &sRxpToTxp_Data, stream< NetworkMetaStream > &soNrc_meta, stream< NetworkWord > &soNrc_data) |
void | triangle_app (ap_uint< 32 > *pi_rank, ap_uint< 32 > *pi_size, stream< NetworkWord > &siNrc_data, stream< NetworkWord > &soNrc_data, stream< NetworkMetaStream > &siNrc_meta, stream< NetworkMetaStream > &soNrc_meta, ap_uint< 32 > *po_rx_ports) |
Main process of the UDP/TCP Triangle Application. This HLS IP receives a packet and forwards it to the next node in the cluster. The last forwards it to 0. More... | |
void pDeq | ( | stream< NodeId > & | sDstNode_sig, |
stream< NetworkMetaStream > & | sRxtoTx_Meta, | ||
stream< NetworkWord > & | sRxpToTxp_Data, | ||
stream< NetworkMetaStream > & | soNrc_meta, | ||
stream< NetworkWord > & | soNrc_data | ||
) |
sRxpToTxp_Data.empty() &&
Definition at line 111 of file triangle_app.cpp.
void pEnq | ( | stream< NetworkMetaStream > & | siNrc_meta, |
stream< NetworkWord > & | siNrc_data, | ||
stream< NetworkMetaStream > & | sRxtoTx_Meta, | ||
stream< NetworkWord > & | sRxpToTxp_Data | ||
) |
Definition at line 66 of file triangle_app.cpp.
void pPortAndDestionation | ( | ap_uint< 32 > * | pi_rank, |
ap_uint< 32 > * | pi_size, | ||
stream< NodeId > & | sDstNode_sig, | ||
ap_uint< 32 > * | po_rx_ports | ||
) |
Copyright 2016 – 2022 IBM Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition at line 31 of file triangle_app.cpp.
void triangle_app | ( | ap_uint< 32 > * | pi_rank, |
ap_uint< 32 > * | pi_size, | ||
stream< NetworkWord > & | siNrc_data, | ||
stream< NetworkWord > & | soNrc_data, | ||
stream< NetworkMetaStream > & | siNrc_meta, | ||
stream< NetworkMetaStream > & | soNrc_meta, | ||
ap_uint< 32 > * | po_rx_ports | ||
) |
Main process of the UDP/TCP Triangle Application. This HLS IP receives a packet and forwards it to the next node in the cluster. The last forwards it to 0.
Definition at line 211 of file triangle_app.cpp.