cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
#include "upper_lower_app.hpp"
Go to the source code of this file.
Functions | |
uint8_t | upper (uint8_t a) |
uint8_t | lower (uint8_t a) |
uint8_t | invert_case (uint8_t a) |
uint64_t | invert_word (uint64_t input) |
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 | upper_lower_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, invert the case of ASCII characters, and forwards it to the next node in the cluster. The last forwards it to 0. More... | |
uint8_t invert_case | ( | uint8_t | a | ) |
uint64_t invert_word | ( | uint64_t | input | ) |
Definition at line 71 of file upper_lower_app.cpp.
uint8_t lower | ( | uint8_t | a | ) |
Definition at line 43 of file upper_lower_app.cpp.
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 167 of file upper_lower_app.cpp.
void pEnq | ( | stream< NetworkMetaStream > & | siNrc_meta, |
stream< NetworkWord > & | siNrc_data, | ||
stream< NetworkMetaStream > & | sRxtoTx_Meta, | ||
stream< NetworkWord > & | sRxpToTxp_Data | ||
) |
Definition at line 119 of file upper_lower_app.cpp.
void pPortAndDestionation | ( | ap_uint< 32 > * | pi_rank, |
ap_uint< 32 > * | pi_size, | ||
stream< NodeId > & | sDstNode_sig, | ||
ap_uint< 32 > * | po_rx_ports | ||
) |
uint8_t upper | ( | uint8_t | a | ) |
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 upper_lower_app.cpp.
void upper_lower_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, invert the case of ASCII characters, and forwards it to the next node in the cluster. The last forwards it to 0.
Definition at line 269 of file upper_lower_app.cpp.