From 85ea5acce9903c66ab4330fdf24239d3589a30bb Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Fri, 28 Oct 2022 12:34:32 +0200 Subject: [PATCH] Correct v.blk_on in r.state s_block when gapsize = 0. --- libraries/base/diag/src/vhdl/diag_block_gen.vhd | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libraries/base/diag/src/vhdl/diag_block_gen.vhd b/libraries/base/diag/src/vhdl/diag_block_gen.vhd index 5275ee4ef7..19ce240734 100644 --- a/libraries/base/diag/src/vhdl/diag_block_gen.vhd +++ b/libraries/base/diag/src/vhdl/diag_block_gen.vhd @@ -216,11 +216,10 @@ begin if v.eop = '1' and r.blk_en = '0' then v.state := s_idle; -- accept disable after eop, not during block end if; - if v.eop = '1' then - v.blk_xon := xon_reg; -- accept XOFF after eop, not during block - end if; - end if; -- out_siso.ready='1' + if r.eop = '1' then + v.blk_xon := xon_reg; -- accept XOFF after eop, not during block + end if; when s_gap => if r.samples_cnt >= v_gapsize-1 and r.blocks_cnt >= v_blocks_per_sync-1 then -- GitLab