~ruther/jesd204b-vhdl

bbc18ca0ee014d950d817449d4497934b6a878dc — František Boháček 2 years ago bccdb95
fix: calculate octets in multiframe from input in ilas parser
1 files changed, 2 insertions(+), 3 deletions(-)

M src/data_link/ilas_parser.vhd
M src/data_link/ilas_parser.vhd => src/data_link/ilas_parser.vhd +2 -3
@@ 90,8 90,7 @@ architecture a1 of ilas_parser is
    return data(up_index - 7 + bit_index);
  end function getBitByIndex;
begin  -- architecture a1
  --octets_in_multiframe <= ci_F * CI_K;
  octets_in_multiframe <= 17;
  octets_in_multiframe <= ci_F * CI_K;
  -- ILAS
    -- one multiframe is sent
    -- 4 frames in a multiframe


@@ 181,7 180,7 @@ begin  -- architecture a1
            err <= '1';
          end if;
        end if;
      elsif reg_multiframe_index > multiframes_count - 1 then
      elsif reg_multiframe_index > ci_K - 1 then
        err <= '1';
      end if;
    end if;

Do not follow this link