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

Merge branch 'master' into L2SDP-360

parents 7dfab299 ea1fdd0d
No related branches found
No related tags found
1 merge request!109Resolve L2SDP-360
...@@ -77,7 +77,7 @@ ARCHITECTURE tb OF tb_lofar2_unb2b_sdp_station_fsub_sst_offload IS ...@@ -77,7 +77,7 @@ ARCHITECTURE tb OF tb_lofar2_unb2b_sdp_station_fsub_sst_offload IS
-- MM -- MM
CONSTANT c_mm_file_reg_bsn_source_v2 : STRING := mmf_unb_file_prefix(c_unb_nr, c_node_nr) & "REG_BSN_SOURCE_V2"; CONSTANT c_mm_file_reg_bsn_source_v2 : STRING := mmf_unb_file_prefix(c_unb_nr, c_node_nr) & "REG_BSN_SOURCE_V2";
CONSTANT c_mm_file_reg_stat_enable : STRING := mmf_unb_file_prefix(c_unb_nr, c_node_nr) & "REG_STAT_ENABLE"; CONSTANT c_mm_file_reg_stat_enable : STRING := mmf_unb_file_prefix(c_unb_nr, c_node_nr) & "REG_STAT_ENABLE_SST";
-- Tb -- Tb
SIGNAL tb_end : STD_LOGIC := '0'; SIGNAL tb_end : STD_LOGIC := '0';
......
...@@ -3,6 +3,6 @@ Image name | Date | Author ...@@ -3,6 +3,6 @@ Image name | Date | Author
unb2b_minimal-r03350b9b9 | 2021-03-19 | | unb2b_minimal-r03350b9b9 | 2021-03-19 | |
lofar2_unb2b_filterbank_full-r8a75c955b | 2021-03-01 | R vd Walle | Deprecated, better use lofar2_unb2b_sdp_station_fsub-rc125dfd6d lofar2_unb2b_filterbank_full-r8a75c955b | 2021-03-01 | R vd Walle | Deprecated, better use lofar2_unb2b_sdp_station_fsub-rc125dfd6d
lofar2_unb2b_sdp_station_adc-rc125dfd6d | 2021-04-21 | J. Hargreaves | - lofar2_unb2b_sdp_station_adc-rc125dfd6d | 2021-04-21 | J. Hargreaves | -
lofar2_unb2b_sdp_station_fsub-rc125dfd6d | 2021-04-21 | R vd Walle | See $UPE_GEAR/peripherals/tc_lofar2_unb2b_filterbank.py lofar2_unb2b_sdp_station_fsub-ra75155e53 | 2021-06-09 | R vd Walle | See $UPE_GEAR/peripherals/tc_lofar2_unb2b_filterbank.py
lofar2_unb2b_sdp_station_bf-rc125dfd6d | 2021-04-21 | R vd Walle | See $UPE_GEAR/peripherals/tc_lofar2_unb2b_beamformer.py lofar2_unb2b_sdp_station_bf-rc125dfd6d | 2021-04-21 | R vd Walle | See $UPE_GEAR/peripherals/tc_lofar2_unb2b_beamformer.py
...@@ -17,19 +17,19 @@ peripherals: ...@@ -17,19 +17,19 @@ peripherals:
The other info fields apply per antenna band (low band or high band). An FPGA node only The other info fields apply per antenna band (low band or high band). An FPGA node only
participates in one band." participates in one band."
fields: fields:
- - { field_name: station_id, mm_width: 16, access_mode: RW, address_offset: 0x0 } - - { field_name: station_id, mm_width: 16, access_mode: RW, address_offset: 0x30 }
- - { field_name: antenna_band_index, mm_width: 1, access_mode: RO, address_offset: 0x4 } - - { field_name: antenna_band_index, mm_width: 1, access_mode: RO, address_offset: 0x2C }
- - { field_name: observation_id, mm_width: 32, access_mode: RW, address_offset: 0x8 } - - { field_name: observation_id, mm_width: 32, access_mode: RW, address_offset: 0x28 }
- - { field_name: nyquist_zone_index, mm_width: 2, access_mode: RW, address_offset: 0xC } - - { field_name: nyquist_zone_index, mm_width: 2, access_mode: RW, address_offset: 0x24 }
- - { field_name: f_adc, mm_width: 1, access_mode: RO, address_offset: 0x10 } - - { field_name: f_adc, mm_width: 1, access_mode: RO, address_offset: 0x20 }
- - { field_name: fsub_type, mm_width: 1, access_mode: RO, address_offset: 0x14 } - - { field_name: fsub_type, mm_width: 1, access_mode: RO, address_offset: 0x1C }
- - { field_name: beam_repositioning_flag, mm_width: 1, access_mode: RW, address_offset: 0x18 } - - { field_name: beam_repositioning_flag, mm_width: 1, access_mode: RW, address_offset: 0x18 }
- - { field_name: O_si, mm_width: 8, access_mode: RW, address_offset: 0x1C } - - { field_name: O_si, mm_width: 8, access_mode: RW, address_offset: 0x14 }
- - { field_name: N_si, mm_width: 8, access_mode: RW, address_offset: 0x20 } - - { field_name: N_si, mm_width: 8, access_mode: RW, address_offset: 0x10 }
- - { field_name: O_rn, mm_width: 8, access_mode: RW, address_offset: 0x24 } - - { field_name: O_rn, mm_width: 8, access_mode: RW, address_offset: 0xC }
- - { field_name: N_rn, mm_width: 8, access_mode: RW, address_offset: 0x28 } - - { field_name: N_rn, mm_width: 8, access_mode: RW, address_offset: 0x8 }
- - { field_name: block_period, mm_width: 16, access_mode: RO, address_offset: 0x2C } - - { field_name: block_period, mm_width: 16, access_mode: RO, address_offset: 0x4 }
- - { field_name: beamlet_scale, mm_width: 16, access_mode: RW, address_offset: 0x30 } - - { field_name: beamlet_scale, mm_width: 16, access_mode: RW, address_offset: 0x0 }
- peripheral_name: sdp_subband_equalizer # pi_sdp_subband_equalizer.py - peripheral_name: sdp_subband_equalizer # pi_sdp_subband_equalizer.py
peripheral_description: "SDP Subband equalizer coefficients." peripheral_description: "SDP Subband equalizer coefficients."
......
...@@ -150,7 +150,7 @@ BEGIN ...@@ -150,7 +150,7 @@ BEGIN
sum; sum;
-- Accumulate the last carry -- Accumulate the last carry
last_dat <= sum(c_halfword_w-1 DOWNTO 0) + sum_cin; last_dat <= sum(c_halfword_w-1 DOWNTO 0) + sum_cin + word_sum_cin; -- Also add word_sum_cin in the case that the last word has a carry.
-- Checksum is 1-complement of the sum -- Checksum is 1-complement of the sum
nxt_checksum <= NOT(STD_LOGIC_VECTOR(last_dat)) WHEN prev_in_eop_dly='1' ELSE i_checksum; nxt_checksum <= NOT(STD_LOGIC_VECTOR(last_dat)) WHEN prev_in_eop_dly='1' ELSE i_checksum;
......
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