44test:inSTD_LOGIC_VECTOR(1downto0); -- memory test
45test_block_sent:outSTD_LOGIC:='0'; -- indicating test writing progress. Pulse once every 32 32-bit words
46test_pause:instd_logic;
47-- each TCP segment sent will have dest IP address (32-bit), TCP port(2x16-bit), SEQ number(32-bit), length(16bit), time stamp(16bit), control bits(6)
48-- and memory starting address of the segment payload data(24-bit)
49-- for alignment purposes, each entry occupies 32 bytes of memory space (256 bits)
50TCP_din:inSTD_LOGIC_VECTOR(31downto0);
51TCP_channel:inSTD_LOGIC_VECTOR(1downto0);
52TCP_we:instd_logic;
53TCP_wcount:outSTD_LOGIC_VECTOR(2downto0);
54-- ipbus signals
55ipb_clk:inSTD_LOGIC;
56ipb_write:inSTD_LOGIC;
57ipb_strobe:inSTD_LOGIC;
58ipb_addr:inSTD_LOGIC_VECTOR(31downto0);
59ipb_wdata:inSTD_LOGIC_VECTOR(31downto0);
60ipb_ack:outSTD_LOGIC;
61run:inSTD_LOGIC; -- ipbus write is allowed only when run = '0'
62-- ddr3 user interface
63app_rqst:outSTD_LOGIC; -- request to output data
64app_ack:inSTD_LOGIC; -- permission to output data
65app_rdy:inSTD_LOGIC;
66app_en:outSTD_LOGIC;
67app_wdf_rdy:inSTD_LOGIC;
68app_wdf_wren:outSTD_LOGIC;
69app_wdf_mask:outSTD_LOGIC_VECTOR(7downto0);
70app_addr:outSTD_LOGIC_VECTOR(23downto0):=(others=>'0'); -- starting address of write burst(1Kbytes oruntilendof event)