From 2ffb9cb9df92c8aef00ad2a6aba5c45d7f978de5 Mon Sep 17 00:00:00 2001
From: Erik Kooistra <kooistra@astron.nl>
Date: Tue, 25 Oct 2016 11:55:03 +0000
Subject: [PATCH] Changed g_nof_blk_per_sync to positive so that it has to be
 >= 1

---
 libraries/base/dp/tb/vhdl/tb_tb_dp_block_gen.vhd | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libraries/base/dp/tb/vhdl/tb_tb_dp_block_gen.vhd b/libraries/base/dp/tb/vhdl/tb_tb_dp_block_gen.vhd
index 0b7f1b26dc..031f7fc6b4 100644
--- a/libraries/base/dp/tb/vhdl/tb_tb_dp_block_gen.vhd
+++ b/libraries/base/dp/tb/vhdl/tb_tb_dp_block_gen.vhd
@@ -36,16 +36,16 @@ BEGIN
   -- > run -all                 --> OK
 
   -- g_use_src_in         : BOOLEAN := TRUE;
-  -- g_nof_data_per_block : NATURAL := 11;
+  -- g_nof_data_per_block : NATRUAL := 11;
   -- g_nof_blk_per_sync   : NATURAL := 8;
   -- g_enable             : t_dp_flow_control_enum := e_active;  -- always e_active or e_pulse block generator enable
   -- g_out_ready          : t_dp_flow_control_enum := e_random;  -- always e_active, e_random or e_pulse flow control
   -- g_nof_repeat         : NATURAL := 100
     
-  u_src_in_ready_0 : ENTITY work.tb_dp_block_gen GENERIC MAP (TRUE,  11, 0, e_active, e_active, 100);
+  u_src_in_ready_1 : ENTITY work.tb_dp_block_gen GENERIC MAP (TRUE,  11, 1, e_active, e_active, 100);
   u_src_in_ready_8 : ENTITY work.tb_dp_block_gen GENERIC MAP (TRUE,  11, 8, e_active, e_random, 100);
   u_src_in_ready_9 : ENTITY work.tb_dp_block_gen GENERIC MAP (TRUE,  11, 9, e_pulse,  e_random, 100);
-  u_snk_in_valid_0 : ENTITY work.tb_dp_block_gen GENERIC MAP (FALSE, 11, 0, e_active, e_active, 100);
+  u_snk_in_valid_1 : ENTITY work.tb_dp_block_gen GENERIC MAP (FALSE, 11, 1, e_active, e_active, 100);
   u_snk_in_valid_8 : ENTITY work.tb_dp_block_gen GENERIC MAP (FALSE, 11, 8, e_active, e_random, 100);
   u_snk_in_valid_9 : ENTITY work.tb_dp_block_gen GENERIC MAP (FALSE, 11, 9, e_pulse,  e_random, 100);
   
-- 
GitLab