##// END OF EJS Templates
Add DMA Matrix IRQ GEn
pellion -
r158:6e4fef3f3bb0 JC
parent child
Show More
@@ -136,6 +136,9 BEGIN -- beh
136 136 reg.addr_matrix_f1 <= (OTHERS => '0');
137 137 reg.addr_matrix_f2 <= (OTHERS => '0');
138 138 prdata <= (OTHERS => '0');
139
140 apbo.pirq <= (OTHERS => '0');
141
139 142 ELSIF HCLK'EVENT AND HCLK = '1' THEN -- rising clock edge
140 143
141 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 189 END CASE;
187 190 END IF;
188 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 204 END IF;
190 205 END PROCESS lpp_top_apbreg;
191
192 apbo.pirq <= (OTHERS => '0');
206
193 207 apbo.pindex <= pindex;
194 208 apbo.pconfig <= pconfig;
195 209 apbo.prdata <= prdata;
@@ -401,8 +401,11 BEGIN
401 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 406 --TODO : add 5 bit register into APB to control the DATA SHIPING
407 --TODO : data shiping
408
406 409 --TODO : add Spectral Matrix (FFT + SP)
407 410 --TODO : add DMA for WaveForms Picker
408 411 --TODO : add APB Reg to control WaveForms Picker
General Comments 0
You need to be logged in to leave comments. Login now