From e615ecf2e25cc27a2f6ca5df0ce9d66cbd23c0c3 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:18:33 +0100 Subject: [PATCH] fix(ilas): do not check chksum --- src/data_link/ilas_parser.vhd | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/data_link/ilas_parser.vhd b/src/data_link/ilas_parser.vhd index 12f8572..33b3e03 100644 --- a/src/data_link/ilas_parser.vhd +++ b/src/data_link/ilas_parser.vhd @@ -174,11 +174,12 @@ begin -- architecture a1 end if; if reg_octet_index = 15 then -- This is a checksum - -- TODO: calculate checksum - if di_char.d8b = "00000000" then - co_wrong_chksum <= '1'; - err <= '1'; - end if; + -- TODO: calculate checksum. Probably not necessary checksum will be + -- precalculated and has to be matched, we do not need to calculate it + -- if di_char.d8b = "00000000" then + -- co_wrong_chksum <= '1'; + -- err <= '1'; + -- end if; end if; elsif reg_multiframe_index > ci_K - 1 then err <= '1'; -- 2.48.1