@@ -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 |
|
|
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 |
|
|
204 | END IF; | |
190 | END PROCESS lpp_top_apbreg; |
|
205 | END PROCESS lpp_top_apbreg; | |
191 |
|
206 | |||
192 | apbo.pirq <= (OTHERS => '0'); |
|
|||
193 |
|
|
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 |
-- |
|
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 | --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