cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
simulation_utils.hpp
Go to the documentation of this file.
1 
17 // *
18 // * cloudFPGA
19 // * =============================================
20 // * Created: Aug 2019
21 // * Authors: FAB, WEI, NGL
22 // *
23 // * Description:
24 // * This file contains utiliy functions for HLS simulations.
25 // *
26 // *
27 
28 #ifndef _CF_SIMULATION_UTILS_
29 #define _CF_SIMULATION_UTILS_
30 
31 #include <stdio.h>
32 #include <iostream>
33 #include <fstream>
34 #include <string>
35 #include <math.h>
36 #include <hls_stream.h>
37 #include <stdint.h>
38 #include <vector>
39 
40 #include "ap_int.h"
41 
42 #include "network_utils.hpp"
43 #include "NTS/nts_utils.hpp"
44 #include "NTS/SimNtsUtils.hpp"
45 #include "../../../hls/network.hpp"
46 
47 
48 
54 void printAxiWord(const char *callerName, AxisRaw chunk);
55 void printAxiWord(const char *callerName, NetworkWord chunk);
56 
57 #endif
: Utilities for the simulation of the Network-Transport-Stack (NTS) components.
: Utilities and helpers for the Network-Transport-Stack (NTS) components.
void printAxiWord(const char *callerName, AxisRaw chunk)
Prints one chunk of a data stream (used for debugging).