From ac9e2628cca0983f471e3b78ad00703d24e15c39 Mon Sep 17 00:00:00 2001 From: Frans Schreuder <f.schreuder@nikhef.nl> Date: Fri, 26 Nov 2021 09:03:05 +0100 Subject: [PATCH] Check for 3 bytes 0x00 and SOP to better detect random data --- sources/decoding/FullToAxis.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/decoding/FullToAxis.vhd b/sources/decoding/FullToAxis.vhd index 168fcc126..cae26a510 100644 --- a/sources/decoding/FullToAxis.vhd +++ b/sources/decoding/FullToAxis.vhd @@ -145,7 +145,7 @@ begin sop_found <= '0'; elsif LinkAligned_240 = '1' then if FMdin(32) = '1' then - if FMdin(7 downto 0) = Kchar_sop and s_axis_tready = '1' then + if FMdin(31 downto 0) = (x"000000"&Kchar_sop) and s_axis_tready = '1' then sop_found <= '1'; end if; end if; -- GitLab