Skip to content
Snippets Groups Projects
Commit 1351a6d0 authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

Added tb_beamlet_lookup_pkg.vhd which is generated by gen_beamlet_lookup.py.

Now all test benches are passing again.
parent 1e8629ff
No related branches found
No related tags found
No related merge requests found
...@@ -335,7 +335,7 @@ USE diag_lib.diag_pkg.ALL; ...@@ -335,7 +335,7 @@ USE diag_lib.diag_pkg.ALL;
USE fft_lib.fft_pkg.ALL; USE fft_lib.fft_pkg.ALL;
USE wpfb_lib.wpfb_pkg.ALL; USE wpfb_lib.wpfb_pkg.ALL;
USE work.apertif_unb1_correlator_pkg.ALL; USE work.apertif_unb1_correlator_pkg.ALL;
USE work.tb_beamlet_lookup_pkg.ALL;
ENTITY tb_node_apertif_unb1_correlator_processing_output IS ENTITY tb_node_apertif_unb1_correlator_processing_output IS
GENERIC ( GENERIC (
...@@ -1079,9 +1079,9 @@ BEGIN ...@@ -1079,9 +1079,9 @@ BEGIN
proc_mem_mm_bus_rd(v_addr + 12, mm_clk, ram_diag_data_buffer_output_miso, ram_diag_data_buffer_output_mosi); proc_mem_mm_bus_rd(v_addr + 12, mm_clk, ram_diag_data_buffer_output_miso, ram_diag_data_buffer_output_mosi);
proc_mem_mm_bus_rd_latency(c_mem_reg_rd_latency, mm_clk); proc_mem_mm_bus_rd_latency(c_mem_reg_rd_latency, mm_clk);
v_rd_channel := TO_UINT(ram_diag_data_buffer_output_miso.rddata(31 DOWNTO 16)); v_rd_channel := TO_UINT(ram_diag_data_buffer_output_miso.rddata(31 DOWNTO 16));
ASSERT v_rd_beamlet = v_exp_beamlet AND v_rd_channel = v_exp_channel REPORT "Wrong beamlet, channel index in packet header: " & ASSERT beamlet_lookup_inverse(v_rd_beamlet) = v_exp_beamlet AND v_rd_channel = v_exp_channel REPORT "Wrong beamlet, channel index in packet header: " &
"(" & int_to_str(v_exp_beamlet) & ", " & int_to_str(v_exp_channel) & ") /= " & "(" & int_to_str(v_exp_beamlet) & ", " & int_to_str(v_exp_channel) & ") /= " &
"(" & int_to_str(v_rd_beamlet) & ", " & int_to_str(v_rd_channel) & ")" SEVERITY ERROR; "(" & int_to_str(beamlet_lookup_inverse(v_rd_beamlet)) & ", " & int_to_str(v_rd_channel) & ")" SEVERITY ERROR;
-- . timestamp (= bsn) -- . timestamp (= bsn)
proc_mem_mm_bus_rd(v_addr + 13, mm_clk, ram_diag_data_buffer_output_miso, ram_diag_data_buffer_output_mosi); proc_mem_mm_bus_rd(v_addr + 13, mm_clk, ram_diag_data_buffer_output_miso, ram_diag_data_buffer_output_mosi);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment