From bccdb9575b3284a7d712fa5b39756a07e534596a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Sat, 25 Feb 2023 22:49:32 +0100 Subject: [PATCH] fix: make char alignment work for part characters correctly --- src/data_link/char_alignment.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data_link/char_alignment.vhd b/src/data_link/char_alignment.vhd index ff51896..6ea67e9 100644 --- a/src/data_link/char_alignment.vhd +++ b/src/data_link/char_alignment.vhd @@ -93,5 +93,5 @@ begin -- architecture a1 next_co_aligned <= (reg_found_sync_char or reg_co_aligned) and not (reg_last_synced and not ci_synced); next_do_10b(9 downto 0) <= reg_cache_10b(reg_alignment_index+9 downto reg_alignment_index); - next_cache_10b(19 downto 0) <= di_10b(9 downto 0) & reg_cache_10b(19 downto 10); + next_cache_10b(19 downto 0) <= reg_cache_10b(9 downto 0) & di_10b(9 downto 0); end architecture a1; -- 2.48.1