From 5abb1ed5d743f012786be3e4834cf6f94da61bd3 Mon Sep 17 00:00:00 2001
From: Pepping <pepping>
Date: Wed, 28 Jan 2015 09:16:02 +0000
Subject: [PATCH] - Removed g_wr_nof_chunks

---
 .../reorder/tb/vhdl/tb_reorder_transpose.vhd  | 22 +++++++++----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/libraries/base/reorder/tb/vhdl/tb_reorder_transpose.vhd b/libraries/base/reorder/tb/vhdl/tb_reorder_transpose.vhd
index 08d7e2f78e..92cc727653 100644
--- a/libraries/base/reorder/tb/vhdl/tb_reorder_transpose.vhd
+++ b/libraries/base/reorder/tb/vhdl/tb_reorder_transpose.vhd
@@ -50,13 +50,13 @@ USE work.reorder_pkg.ALL;
 
 ENTITY tb_reorder_transpose IS 
   GENERIC (
-    g_wr_chunksize     : POSITIVE := 64;
-    g_wr_nof_chunks    : POSITIVE := 1;
-    g_rd_chunksize     : POSITIVE := 16;
-    g_rd_nof_chunks    : POSITIVE := 4;
+    g_wr_chunksize     : POSITIVE := 16;
+    g_rd_chunksize     : POSITIVE := 4;
+    g_rd_nof_chunks    : POSITIVE := 4;  
+    g_rd_interval      : POSITIVE := 4;
     g_gapsize          : NATURAL  := 0;
-    g_nof_blocks       : POSITIVE := 4;
-    g_nof_blk_per_sync : POSITIVE := 64;
+    g_nof_blocks       : POSITIVE := 32;
+    g_nof_blk_per_sync : POSITIVE := 32;
     g_nof_streams      : POSITIVE := 4;
     g_in_dat_w         : POSITIVE := 8;
     g_ena_pre_transp   : BOOLEAN  := TRUE
@@ -128,16 +128,16 @@ ARCHITECTURE tb OF tb_reorder_transpose IS
   
   -- Compose the Constants for the DUT   
   CONSTANT c_reorder_seq_conf       : t_reorder_seq := (g_wr_chunksize, 
-                                                        g_wr_nof_chunks,
                                                         g_rd_chunksize, 
-                                                        g_rd_nof_chunks,
+                                                        g_rd_nof_chunks,  
+                                                        g_rd_interval,
                                                         g_gapsize,      
                                                         g_nof_blocks);   
   
   CONSTANT c_tech_ddr               : t_c_tech_ddr := c_tech_ddr3_4g_800m_master;
 
   CONSTANT c_min_fifo_size          : POSITIVE := 256;
-  CONSTANT c_blocksize              : POSITIVE := c_reorder_seq.wr_nof_chunks * (c_reorder_seq.wr_chunksize + c_reorder_seq.gapsize);
+  CONSTANT c_blocksize              : POSITIVE := c_reorder_seq.wr_chunksize + c_reorder_seq.gapsize;
   CONSTANT c_pagesize               : POSITIVE := c_reorder_seq.nof_blocks * c_blocksize;  
   CONSTANT c_mem_size               : POSITIVE := 2*c_pagesize;
   CONSTANT c_mem_size_w             : POSITIVE := ceil_log2(c_mem_size);
@@ -155,8 +155,8 @@ ARCHITECTURE tb OF tb_reorder_transpose IS
   CONSTANT c_ctrl_ref_clk_period    : TIME  := 5000 ps; 
 
   -- Custom definitions of constants
-  CONSTANT c_bg_block_len           : NATURAL  := c_blocksize * g_rd_chunksize;
-  CONSTANT c_db_block_len           : NATURAL  := c_blocksize * g_rd_chunksize;
+  CONSTANT c_bg_block_len           : NATURAL  := c_blocksize * g_nof_blocks;
+  CONSTANT c_db_block_len           : NATURAL  := c_blocksize * g_nof_blocks;
  
   -- Configuration of the block generator:
   CONSTANT c_bg_nof_output_streams  : POSITIVE := g_nof_streams;    
-- 
GitLab