From 1b3835ebfe56d92ba85c1c432c9e5d21b95456a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Wed, 15 Mar 2023 17:19:49 +0100 Subject: [PATCH] feat(toplevel): order all arrays correctly using "to" instead of "downto" --- src/jesd204b_rx.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jesd204b_rx.vhd b/src/jesd204b_rx.vhd index 14065a7..701ca43 100644 --- a/src/jesd204b_rx.vhd +++ b/src/jesd204b_rx.vhd @@ -43,8 +43,8 @@ entity jesd204b_rx is co_nsynced : out std_logic; -- Whether receiver is synced (active low) co_error : out std_logic; - di_transceiver_data : in lane_input_array(L-1 downto 0); -- Data from transceivers - do_samples : out samples_array(M - 1 downto 0, S - 1 downto 0); + di_transceiver_data : in lane_input_array(0 to L-1); -- Data from transceivers + do_samples : out samples_array(0 to M - 1, 0 to S - 1); co_frame_state : out frame_state; -- Output samples co_correct_data : out std_logic); -- Whether samples are correct user -- 2.48.1