Commit bf932501 authored by Tristan Gingold's avatar Tristan Gingold Committed by Dimitris Lampridis

mt_rmq_rx_path: simplify.

parent 84040ec9
......@@ -44,11 +44,8 @@ end entity mt_rmq_rx_path;
architecture arch of mt_rmq_rx_path is
type t_mt_stream_source_out_array is array(integer range<>) of t_mt_stream_source_out;
type t_mt_stream_source_in_array is array(integer range<>) of t_mt_stream_source_in;
signal fwd_pipe : t_mt_stream_source_out_array(0 to 2);
signal rev_pipe : t_mt_stream_source_in_array(0 to 2);
signal fwd_pipe : t_mt_stream_source_out;
signal rev_pipe : t_mt_stream_source_in;
begin
......@@ -58,8 +55,8 @@ begin
rst_n_i => rst_n_i,
snk_i => snk_i,
snk_o => snk_o,
src_i => rev_pipe(0),
src_o => fwd_pipe(0),
src_i => rev_pipe,
src_o => fwd_pipe,
p_header_valid_o => p_header_valid_o,
p_is_udp_o => p_header_o.is_udp,
p_is_raw_o => p_header_o.is_raw,
......@@ -76,8 +73,8 @@ begin
port map (
clk_i => clk_i,
rst_n_i => rst_n_i,
snk_i => fwd_pipe(0),
snk_o => rev_pipe(0),
snk_i => fwd_pipe,
snk_o => rev_pipe,
src_i => src_i,
src_o => src_o);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment