Skip to content
Snippets Groups Projects
Commit a9cc795a authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Use same port order as on sdp_statistics_offload entity. Added g_crosslets_direction => 1.

parent 3f264a2d
No related branches found
No related tags found
1 merge request!175Added t_sdp_sim. Add func_sdp_get_stat_*() functions to determine the header...
......@@ -274,7 +274,8 @@ BEGIN
GENERIC MAP (
g_statistics_type => "XST",
g_offload_time => sel_a_b(g_sim, g_sim_sdp.offload_time, c_sdp_offload_time),
g_P_sq => g_P_sq
g_P_sq => g_P_sq,
g_crosslets_direction => 1 -- = lane direction
)
PORT MAP (
mm_clk => mm_clk,
......@@ -292,9 +293,6 @@ BEGIN
reg_hdr_dat_mosi => reg_stat_hdr_dat_mosi,
reg_hdr_dat_miso => reg_stat_hdr_dat_miso,
sdp_info => sdp_info,
gn_index => TO_UINT(gn_id),
in_sosi => crosslets_sosi_arr(0),
out_sosi => xst_udp_sosi,
out_siso => xst_udp_siso,
......@@ -302,6 +300,9 @@ BEGIN
eth_src_mac => stat_eth_src_mac,
udp_src_port => stat_udp_src_port,
ip_src_addr => stat_ip_src_addr,
gn_index => TO_UINT(gn_id),
sdp_info => sdp_info,
nof_crosslets => nof_crosslets,
crosslets_info => crosslets_info
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment