30 #ifndef _TEST_TOECAM_H_
31 #define _TEST_TOECAM_H_
33 #include <hls_stream.h>
38 #include "../src/toecam.hpp"
39 #include "../../../NTS/nts_types.hpp"
40 #include "../../../NTS/nts_utils.hpp"
41 #include "../../../NTS/SimNtsUtils.hpp"
42 #include "../../../NTS/SimArpPacket.hpp"
43 #include "../../../NTS/SimEthFrame.hpp"
44 #include "../../../NTS/SimIp4Packet.hpp"
51 #define TB_MAX_SIM_CYCLES 250
52 #define TB_STARTUP_DELAY 0
53 #define TB_GRACE_TIME 500
55 #define CAM_LOOKUP_LATENCY 2
56 #define CAM_UPDATE_LATENCY 10
76 #define DEFAULT_FPGA_IP4_ADDR 0x0A0CC813
77 #define DEFAULT_FPGA_TCP_PORT 0x2263
78 #define DEFAULT_HOST_IP4_ADDR 0x0A0CC832
79 #define DEFAULT_HOST_TCP_PORT 0xa263
81 #define DEFAULT_SESSION_ID 42
const Ip4Addr RESERVED_SENDER_PROTOCOL_ADDRESS
unsigned int gMaxSimCycles