Skip to content
Snippets Groups Projects

Resolve L2SDP-497

1 file
+ 10
7
Compare changes
  • Side-by-side
  • Inline
@@ -204,13 +204,16 @@ BEGIN
@@ -204,13 +204,16 @@ BEGIN
-- . the input valid is always '1', even when there is no data
-- . the input valid is always '1', even when there is no data
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
gen_force_valid : FOR I IN 0 TO c_sdp_S_pn-1 GENERATE
p_dp_shiftram_snk_in_arr : PROCESS(rx_sosi_arr)
p_sosi : PROCESS(rx_sosi_arr)
BEGIN
BEGIN
dp_shiftram_snk_in_arr <= rx_sosi_arr;
dp_shiftram_snk_in_arr(I) <= rx_sosi_arr(I);
FOR I IN 0 TO c_sdp_S_pn-1 LOOP
dp_shiftram_snk_in_arr(I).valid <= '1';
-- ADC data is stored in the upper 14 bits of the jesd rx_sosi.
END PROCESS;
dp_shiftram_snk_in_arr(I).data <= RESIZE_DP_SDATA(rx_sosi_arr(I).data(c_sdp_W_adc_jesd-1 DOWNTO (c_sdp_W_adc_jesd - c_sdp_W_adc) ));
END GENERATE;
-- Force valid.
 
dp_shiftram_snk_in_arr(I).valid <= '1';
 
END LOOP;
 
END PROCESS;
u_dp_shiftram : ENTITY dp_lib.dp_shiftram
u_dp_shiftram : ENTITY dp_lib.dp_shiftram
Loading