Skip to content
Snippets Groups Projects
Commit 52f5b5f6 authored by Pieter Donker's avatar Pieter Donker
Browse files

L2SDP-184, processed review comment.

parent 34962202
No related branches found
No related tags found
2 merge requests!100Removed text for XSub that is now written in Confluence Subband correlator...,!62Resolve L2SDP-184
...@@ -103,6 +103,8 @@ BEGIN ...@@ -103,6 +103,8 @@ BEGIN
-- STIMULI -- STIMULI
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
start_address_dly <= start_address WHEN rising_edge(clk); -- dp_block_to_mm is 1 clock behind so set address also 1 clock later.
p_init_ram : PROCESS p_init_ram : PROCESS
BEGIN BEGIN
ram_wr_en <= '0'; ram_wr_en <= '0';
...@@ -124,13 +126,12 @@ BEGIN ...@@ -124,13 +126,12 @@ BEGIN
BEGIN BEGIN
start_pulse <= '0'; start_pulse <= '0';
start_address <= 0; start_address <= 0;
start_address_dly <= 0;
proc_common_wait_until_high(clk, init_done); proc_common_wait_until_high(clk, init_done);
FOR i IN 0 TO c_nof_blocks-1 LOOP FOR i IN 0 TO c_nof_blocks-1 LOOP
start_address <= i * g_data_size; start_address <= i * g_data_size;
start_pulse <= '1'; start_pulse <= '1';
proc_common_wait_some_cycles(clk, 1); proc_common_wait_some_cycles(clk, 1);
start_address_dly <= i * g_data_size; -- dp_block_to_mm is 1 clock behind so set address also 1 clock later.
start_pulse <= '0'; start_pulse <= '0';
proc_common_wait_until_high(clk, block_done); proc_common_wait_until_high(clk, block_done);
END LOOP; END LOOP;
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
-- . Test bench running multiple tb_dp_block_from_mm.vhd with different settings -- . Test bench running multiple tb_dp_block_from_mm.vhd with different settings
-- --
-- Description: -- Description:
--
-- -------------------------------------------------------------------------- -- --------------------------------------------------------------------------
-- > as 10 -- > as 10
...@@ -40,7 +41,7 @@ END tb_tb_dp_block_from_mm; ...@@ -40,7 +41,7 @@ END tb_tb_dp_block_from_mm;
ARCHITECTURE tb OF tb_tb_dp_block_from_mm IS ARCHITECTURE tb OF tb_tb_dp_block_from_mm IS
SIGNAL tb_end : STD_LOGIC := '0'; -- declare tb_end to avoid 'No objects found' error on 'when -label tb_end' SIGNAL tb_end : STD_LOGIC := '0'; -- declare tb_end to avoid 'No objects found' error on 'when -label tb_end'
BEGIN BEGIN
-- used generics for tb_dp_block_from_mm (g_data_size, g_step_size, g_nof_data)
u0_tst_1_1_1 : ENTITY work.tb_dp_block_from_mm GENERIC MAP (1, 1, 1); u0_tst_1_1_1 : ENTITY work.tb_dp_block_from_mm GENERIC MAP (1, 1, 1);
u1_tst_2_2_17 : ENTITY work.tb_dp_block_from_mm GENERIC MAP (2, 2, 17); u1_tst_2_2_17 : ENTITY work.tb_dp_block_from_mm GENERIC MAP (2, 2, 17);
u2_tst_2_2_256 : ENTITY work.tb_dp_block_from_mm GENERIC MAP (2, 2, 256); u2_tst_2_2_256 : ENTITY work.tb_dp_block_from_mm GENERIC MAP (2, 2, 256);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment