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

- merged generics into g_reorder_seq

- removed unused constants 
parent fd75040d
No related branches found
No related tags found
No related merge requests found
......@@ -34,18 +34,12 @@ USE reorder_lib.reorder_pkg.ALL;
ENTITY node_unb1_reorder IS
GENERIC (
g_sim : BOOLEAN := TRUE;
g_nof_MB : NATURAL := c_unb1_board_nof_ddr3; -- Fixed control infrastructure for 2 modules per FPGA
g_use_MB_I : NATURAL := 1; -- 1: use MB_I 0: do not use
g_tech_ddr : t_c_tech_ddr := c_tech_ddr3_4g_800m_master;
g_wr_chunksize : POSITIVE := 256;
g_rd_chunksize : POSITIVE := 16;
g_rd_nof_chunks : POSITIVE := 16;
g_rd_interval : POSITIVE := 16;
g_gapsize : NATURAL := 0;
g_nof_blocks : POSITIVE := 32;
g_nof_streams : POSITIVE := 4;
g_in_dat_w : POSITIVE := 8;
g_ena_pre_transp : BOOLEAN := TRUE
g_ena_pre_transp : BOOLEAN := TRUE;
g_reorder_seq : t_reorder_seq := c_reorder_seq
);
PORT (
-- System
......@@ -99,18 +93,6 @@ ARCHITECTURE str OF node_unb1_reorder IS
CONSTANT c_rd_fifo_depth : NATURAL := 256; -- >=16 AND >g_tech_ddr.maxburstsize, defined at DDR side of the FIFO.
CONSTANT c_rd_data_w : NATURAL := c_data_w;
CONSTANT c_wr_flush_mode : STRING := "VAL"; -- "VAL", "SOP", "SYN"
CONSTANT c_wr_flush_use_channel : BOOLEAN := FALSE;
CONSTANT c_wr_flush_start_channel : NATURAL := 0;
CONSTANT c_wr_flush_nof_channels : POSITIVE := 1;
CONSTANT c_reorder_seq_conf : t_reorder_seq := (g_wr_chunksize,
g_rd_chunksize,
g_rd_nof_chunks,
g_rd_interval,
g_gapsize,
g_nof_blocks);
-- Signals to interface with the DDR conroller and memory model.
SIGNAL ctlr_dvr_miso : t_mem_ctlr_miso;
SIGNAL ctlr_dvr_mosi : t_mem_ctlr_mosi;
......@@ -138,11 +120,11 @@ BEGIN
g_sim => g_sim,
g_nof_streams => g_nof_streams,
g_in_dat_w => g_in_dat_w,
g_frame_size_in => g_wr_chunksize,
g_frame_size_out => g_wr_chunksize,
g_frame_size_in => g_reorder_seq.wr_chunksize,
g_frame_size_out => g_reorder_seq.wr_chunksize,
g_use_complex => c_use_complex,
g_ena_pre_transp => g_ena_pre_transp,
g_reorder_seq => c_reorder_seq_conf
g_reorder_seq => g_reorder_seq
)
PORT MAP (
mm_rst => mm_rst,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment