|
cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
#include <hls_stream.h>#include <map>#include <stdio.h>#include <string>#include "../src/toecam.hpp"#include "../../../NTS/nts_types.hpp"#include "../../../NTS/nts_utils.hpp"#include "../../../NTS/SimNtsUtils.hpp"#include "../../../NTS/SimArpPacket.hpp"#include "../../../NTS/SimEthFrame.hpp"#include "../../../NTS/SimIp4Packet.hpp"Go to the source code of this file.
Macros | |
| #define | TB_MAX_SIM_CYCLES 250 |
| #define | TB_STARTUP_DELAY 0 |
| #define | TB_GRACE_TIME 500 |
| #define | CAM_LOOKUP_LATENCY 2 |
| #define | CAM_UPDATE_LATENCY 10 |
| #define | DEFAULT_FPGA_IP4_ADDR 0x0A0CC813 |
| #define | DEFAULT_FPGA_TCP_PORT 0x2263 |
| #define | DEFAULT_HOST_IP4_ADDR 0x0A0CC832 |
| #define | DEFAULT_HOST_TCP_PORT 0xa263 |
| #define | DEFAULT_SESSION_ID 42 |
| #define | CAM_SIZE 2 |
Variables | |
| const Ip4Addr | RESERVED_SENDER_PROTOCOL_ADDRESS = 0xCAFEFADE |
| bool | gTraceEvent |
| bool | gFatalError |
| unsigned int | gSimCycCnt |
| unsigned int | gMaxSimCycles |