##// END OF EJS Templates
Add DMA Matrix IRQ GEn
pellion -
r158:6e4fef3f3bb0 JC
parent child
Show More
@@ -136,6 +136,9 BEGIN -- beh
136 reg.addr_matrix_f1 <= (OTHERS => '0');
136 reg.addr_matrix_f1 <= (OTHERS => '0');
137 reg.addr_matrix_f2 <= (OTHERS => '0');
137 reg.addr_matrix_f2 <= (OTHERS => '0');
138 prdata <= (OTHERS => '0');
138 prdata <= (OTHERS => '0');
139
140 apbo.pirq <= (OTHERS => '0');
141
139 ELSIF HCLK'EVENT AND HCLK = '1' THEN -- rising clock edge
142 ELSIF HCLK'EVENT AND HCLK = '1' THEN -- rising clock edge
140
143
141 reg.status_ready_matrix_f0_0 <= reg.status_ready_matrix_f0_0 OR ready_matrix_f0_0;
144 reg.status_ready_matrix_f0_0 <= reg.status_ready_matrix_f0_0 OR ready_matrix_f0_0;
@@ -186,10 +189,21 BEGIN -- beh
186 END CASE;
189 END CASE;
187 END IF;
190 END IF;
188 END IF;
191 END IF;
192
193 apbo.pirq(pirq) <= ( reg.config_active_interruption_onNewMatrix AND ( ready_matrix_f0_0 OR
194 ready_matrix_f0_1 OR
195 ready_matrix_f1 OR
196 ready_matrix_f2)
197 )
198 OR
199 ( reg.config_active_interruption_onError AND ( error_anticipating_empty_fifo OR
200 error_bad_component_error)
201 );
202
203
189 END IF;
204 END IF;
190 END PROCESS lpp_top_apbreg;
205 END PROCESS lpp_top_apbreg;
191
206
192 apbo.pirq <= (OTHERS => '0');
193 apbo.pindex <= pindex;
207 apbo.pindex <= pindex;
194 apbo.pconfig <= pconfig;
208 apbo.pconfig <= pconfig;
195 apbo.prdata <= prdata;
209 apbo.prdata <= prdata;
@@ -401,8 +401,11 BEGIN
401 addr_matrix_f2 => addr_matrix_f2);
401 addr_matrix_f2 => addr_matrix_f2);
402
402
403
403
404 --TODO : add the irq alert for DMA matrix transfert ending
404 --DONE : add the irq alert for DMA matrix transfert ending
405
405 --TODO : add 5 bit register into APB to control the DATA SHIPING
406 --TODO : add 5 bit register into APB to control the DATA SHIPING
407 --TODO : data shiping
408
406 --TODO : add Spectral Matrix (FFT + SP)
409 --TODO : add Spectral Matrix (FFT + SP)
407 --TODO : add DMA for WaveForms Picker
410 --TODO : add DMA for WaveForms Picker
408 --TODO : add APB Reg to control WaveForms Picker
411 --TODO : add APB Reg to control WaveForms Picker
General Comments 0
You need to be logged in to leave comments. Login now