Skip to content
Snippets Groups Projects
Commit 5abb1ed5 authored by Pepping's avatar Pepping
Browse files

- Removed g_wr_nof_chunks

parent 0d0ad613
Branches
No related tags found
No related merge requests found
...@@ -50,13 +50,13 @@ USE work.reorder_pkg.ALL; ...@@ -50,13 +50,13 @@ USE work.reorder_pkg.ALL;
ENTITY tb_reorder_transpose IS ENTITY tb_reorder_transpose IS
GENERIC ( GENERIC (
g_wr_chunksize : POSITIVE := 64; g_wr_chunksize : POSITIVE := 16;
g_wr_nof_chunks : POSITIVE := 1; g_rd_chunksize : POSITIVE := 4;
g_rd_chunksize : POSITIVE := 16; g_rd_nof_chunks : POSITIVE := 4;
g_rd_nof_chunks : POSITIVE := 4; g_rd_interval : POSITIVE := 4;
g_gapsize : NATURAL := 0; g_gapsize : NATURAL := 0;
g_nof_blocks : POSITIVE := 4; g_nof_blocks : POSITIVE := 32;
g_nof_blk_per_sync : POSITIVE := 64; g_nof_blk_per_sync : POSITIVE := 32;
g_nof_streams : POSITIVE := 4; g_nof_streams : POSITIVE := 4;
g_in_dat_w : POSITIVE := 8; g_in_dat_w : POSITIVE := 8;
g_ena_pre_transp : BOOLEAN := TRUE g_ena_pre_transp : BOOLEAN := TRUE
...@@ -128,16 +128,16 @@ ARCHITECTURE tb OF tb_reorder_transpose IS ...@@ -128,16 +128,16 @@ ARCHITECTURE tb OF tb_reorder_transpose IS
-- Compose the Constants for the DUT -- Compose the Constants for the DUT
CONSTANT c_reorder_seq_conf : t_reorder_seq := (g_wr_chunksize, CONSTANT c_reorder_seq_conf : t_reorder_seq := (g_wr_chunksize,
g_wr_nof_chunks,
g_rd_chunksize, g_rd_chunksize,
g_rd_nof_chunks, g_rd_nof_chunks,
g_rd_interval,
g_gapsize, g_gapsize,
g_nof_blocks); g_nof_blocks);
CONSTANT c_tech_ddr : t_c_tech_ddr := c_tech_ddr3_4g_800m_master; CONSTANT c_tech_ddr : t_c_tech_ddr := c_tech_ddr3_4g_800m_master;
CONSTANT c_min_fifo_size : POSITIVE := 256; 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_pagesize : POSITIVE := c_reorder_seq.nof_blocks * c_blocksize;
CONSTANT c_mem_size : POSITIVE := 2*c_pagesize; CONSTANT c_mem_size : POSITIVE := 2*c_pagesize;
CONSTANT c_mem_size_w : POSITIVE := ceil_log2(c_mem_size); CONSTANT c_mem_size_w : POSITIVE := ceil_log2(c_mem_size);
...@@ -155,8 +155,8 @@ ARCHITECTURE tb OF tb_reorder_transpose IS ...@@ -155,8 +155,8 @@ ARCHITECTURE tb OF tb_reorder_transpose IS
CONSTANT c_ctrl_ref_clk_period : TIME := 5000 ps; CONSTANT c_ctrl_ref_clk_period : TIME := 5000 ps;
-- Custom definitions of constants -- Custom definitions of constants
CONSTANT c_bg_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_rd_chunksize; CONSTANT c_db_block_len : NATURAL := c_blocksize * g_nof_blocks;
-- Configuration of the block generator: -- Configuration of the block generator:
CONSTANT c_bg_nof_output_streams : POSITIVE := g_nof_streams; CONSTANT c_bg_nof_output_streams : POSITIVE := g_nof_streams;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment