30 #ifndef _TEST_RX_ENGINE_H_
31 #define _TEST_RX_ENGINE_H_
33 #include <ap_shift_reg.h>
42 #include "../../../../../NTS/nts_config.hpp"
43 #include "../../../../../NTS/nts_utils.hpp"
44 #include "../../../../../NTS/SimNtsUtils.hpp"
45 #include "../../../../../NTS/SimAppData.hpp"
46 #include "../../../../../NTS/SimIp4Packet.hpp"
47 #include "../../../../../NTS/toe/src/toe.hpp"
48 #include "../../../../../NTS/toe/src/toe_utils.hpp"
49 #include "../../../../../NTS/toe/test/dummy_memory/dummy_memory.hpp"
52 #include "../../../../toe/src/toe.hpp"
53 #include "../../../../toe/src/session_lookup_controller/session_lookup_controller.hpp"
54 #include "../../../../toe/src/state_table/state_table.hpp"
55 #include "../../../../toe/src/rx_sar_table/rx_sar_table.hpp"
56 #include "../../../../toe/src/tx_sar_table/tx_sar_table.hpp"
57 #include "../../../../toe/src/timers/timers.hpp"
58 #include "../../../../toe/src/event_engine/event_engine.hpp"
59 #include "../../../../toe/src/ack_delay/src/ack_delay.hpp"
60 #include "../../../../toe/src/port_table/port_table.hpp"
61 #include "../../../../toe/src/tx_engine/src/tx_engine.hpp"
62 #include "../../../../toe/src/tx_app_interface/tx_app_interface.hpp"
68 #define TB_STARTUP_DELAY (TOE_SIZEOF_LISTEN_PORT_TABLE)
69 #define TB_GRACE_TIME 2500
73 #define TB_STARTUP_TIME 25
81 #define DEFAULT_FPGA_IP4_ADDR 0x0A0CC801
82 #define DEFAULT_FPGA_LSN_PORT 0x0057
83 #define DEFAULT_FPGA_SND_PORT TOE_FIRST_EPHEMERAL_PORT_NUM
85 #define DEFAULT_HOST_IP4_ADDR 0x0A0CC832
86 #define DEFAULT_HOST_LSN_PORT 0x0058
87 #define DEFAULT_HOST_SND_PORT 0x8058
98 #define APP_RSP_LATENCY 10
100 #define MEM_RD_CMD_LATENCY 10
101 #define MEM_RD_DAT_LATENCY 10
102 #define MEM_RD_STS_LATENCY 10
104 #define MEM_WR_CMD_LATENCY 10
105 #define MEM_WR_DAT_LATENCY 10
106 #define MEM_WR_STS_LATENCY 10
108 #define CAM_LOOKUP_LATENCY 1
109 #define CAM_UPDATE_LATENCY 10
113 #define FPGA_CLIENT_CONNECT_TIMEOUT 250
#define DEFAULT_FPGA_LSN_PORT
#define DEFAULT_HOST_LSN_PORT
bool gTest_SentIp4HdrCsum
unsigned int gMaxSimCycles
#define DEFAULT_HOST_IP4_ADDR
bool gTest_RcvdIp4HdrCsum
#define DEFAULT_FPGA_IP4_ADDR
#define TOE_FIRST_EPHEMERAL_PORT_NUM