@@ -45,12 +45,12 USE lpp.general_purpose.ALL; | |||||
45 | USE lpp.lpp_lfr_management.ALL; |
|
45 | USE lpp.lpp_lfr_management.ALL; | |
46 | USE lpp.lpp_leon3_soc_pkg.ALL; |
|
46 | USE lpp.lpp_leon3_soc_pkg.ALL; | |
47 |
|
47 | |||
48 | library proasic3l; |
|
48 | --library proasic3l; | |
49 | use proasic3l.all; |
|
49 | --use proasic3l.all; | |
50 |
|
50 | |||
51 | ENTITY LFR_EQM IS |
|
51 | ENTITY LFR_EQM IS | |
52 | GENERIC ( |
|
52 | --GENERIC ( | |
53 | Mem_use : INTEGER := use_RAM); |
|
53 | -- Mem_use : INTEGER := use_RAM); | |
54 |
|
54 | |||
55 | PORT ( |
|
55 | PORT ( | |
56 | clk50MHz : IN STD_ULOGIC; |
|
56 | clk50MHz : IN STD_ULOGIC; | |
@@ -197,8 +197,8 BEGIN -- beh | |||||
197 | -- |
|
197 | -- | |
198 | leon3_soc_1 : leon3_soc |
|
198 | leon3_soc_1 : leon3_soc | |
199 | GENERIC MAP ( |
|
199 | GENERIC MAP ( | |
200 |
fabtech => apa3 |
|
200 | fabtech => apa3l, | |
201 |
memtech => apa3 |
|
201 | memtech => apa3l, | |
202 | padtech => inferred, |
|
202 | padtech => inferred, | |
203 | clktech => inferred, |
|
203 | clktech => inferred, | |
204 | disas => 0, |
|
204 | disas => 0, | |
@@ -219,7 +219,8 BEGIN -- beh | |||||
219 | NB_APB_SLAVE => NB_APB_SLAVE, |
|
219 | NB_APB_SLAVE => NB_APB_SLAVE, | |
220 | ADDRESS_SIZE => 19, |
|
220 | ADDRESS_SIZE => 19, | |
221 | USES_IAP_MEMCTRLR => 1, |
|
221 | USES_IAP_MEMCTRLR => 1, | |
222 |
BYPASS_EDAC_MEMCTRLR => ' |
|
222 | BYPASS_EDAC_MEMCTRLR => '0', | |
|
223 | SRBANKSZ => 8) | |||
223 | PORT MAP ( |
|
224 | PORT MAP ( | |
224 | clk => clk_25, |
|
225 | clk => clk_25, | |
225 | reset => rstn_25, |
|
226 | reset => rstn_25, | |
@@ -258,7 +259,7 BEGIN -- beh | |||||
258 | ------------------------------------------------------------------------------- |
|
259 | ------------------------------------------------------------------------------- | |
259 | apb_lfr_management_1 : apb_lfr_management |
|
260 | apb_lfr_management_1 : apb_lfr_management | |
260 | GENERIC MAP ( |
|
261 | GENERIC MAP ( | |
261 |
tech => apa3 |
|
262 | tech => apa3l, | |
262 | pindex => 6, |
|
263 | pindex => 6, | |
263 | paddr => 6, |
|
264 | paddr => 6, | |
264 | pmask => 16#fff#, |
|
265 | pmask => 16#fff#, | |
@@ -329,7 +330,7 BEGIN -- beh | |||||
329 | spw_inputloop : FOR j IN 0 TO 1 GENERATE |
|
330 | spw_inputloop : FOR j IN 0 TO 1 GENERATE | |
330 | spw_phy0 : grspw_phy |
|
331 | spw_phy0 : grspw_phy | |
331 | GENERIC MAP( |
|
332 | GENERIC MAP( | |
332 |
tech => apa3 |
|
333 | tech => apa3l, | |
333 | rxclkbuftype => 1, |
|
334 | rxclkbuftype => 1, | |
334 | scantest => 0) |
|
335 | scantest => 0) | |
335 | PORT MAP( |
|
336 | PORT MAP( | |
@@ -344,7 +345,7 BEGIN -- beh | |||||
344 |
|
345 | |||
345 | -- SPW core |
|
346 | -- SPW core | |
346 | sw0 : grspwm GENERIC MAP( |
|
347 | sw0 : grspwm GENERIC MAP( | |
347 |
tech => apa3 |
|
348 | tech => apa3l, | |
348 | hindex => 1, |
|
349 | hindex => 1, | |
349 | pindex => 5, |
|
350 | pindex => 5, | |
350 | paddr => 5, |
|
351 | paddr => 5, | |
@@ -361,7 +362,7 BEGIN -- beh | |||||
361 | netlist => 0, |
|
362 | netlist => 0, | |
362 | ports => 2, |
|
363 | ports => 2, | |
363 | --dmachan => CFG_SPW_DMACHAN, -- not used byt the spw core 1 |
|
364 | --dmachan => CFG_SPW_DMACHAN, -- not used byt the spw core 1 | |
364 |
memtech => apa3 |
|
365 | memtech => apa3l, | |
365 | destkey => 2, |
|
366 | destkey => 2, | |
366 | spwcore => 1 |
|
367 | spwcore => 1 | |
367 | --input_type => CFG_SPW_INPUT, -- not used byt the spw core 1 |
|
368 | --input_type => CFG_SPW_INPUT, -- not used byt the spw core 1 | |
@@ -391,7 +392,7 BEGIN -- beh | |||||
391 |
|
392 | |||
392 | lpp_lfr_1 : lpp_lfr |
|
393 | lpp_lfr_1 : lpp_lfr | |
393 | GENERIC MAP ( |
|
394 | GENERIC MAP ( | |
394 |
Mem_use => |
|
395 | Mem_use => use_RAM, | |
395 | nb_data_by_buffer_size => 32, |
|
396 | nb_data_by_buffer_size => 32, | |
396 | --nb_word_by_buffer_size => 30, |
|
397 | --nb_word_by_buffer_size => 30, | |
397 | nb_snapshot_param_size => 32, |
|
398 | nb_snapshot_param_size => 32, | |
@@ -403,7 +404,7 BEGIN -- beh | |||||
403 | pirq_ms => 6, |
|
404 | pirq_ms => 6, | |
404 | pirq_wfp => 14, |
|
405 | pirq_wfp => 14, | |
405 | hindex => 2, |
|
406 | hindex => 2, | |
406 |
top_lfr_version => X"02014 |
|
407 | top_lfr_version => X"020145") -- aa.bb.cc version | |
407 | -- AA : BOARD NUMBER |
|
408 | -- AA : BOARD NUMBER | |
408 | -- 0 => MINI_LFR |
|
409 | -- 0 => MINI_LFR | |
409 | -- 1 => EM |
|
410 | -- 1 => EM |
@@ -368,6 +368,7 BEGIN -- beh | |||||
368 | NB_APB_SLAVE => NB_APB_SLAVE, |
|
368 | NB_APB_SLAVE => NB_APB_SLAVE, | |
369 | ADDRESS_SIZE => 20, |
|
369 | ADDRESS_SIZE => 20, | |
370 | USES_IAP_MEMCTRLR => USE_IAP_MEMCTRL, |
|
370 | USES_IAP_MEMCTRLR => USE_IAP_MEMCTRL, | |
|
371 | BYPASS_EDAC_MEMCTRLR => '1', | |||
371 | SRBANKSZ => 9) |
|
372 | SRBANKSZ => 9) | |
372 | PORT MAP ( |
|
373 | PORT MAP ( | |
373 | clk => clk_25, |
|
374 | clk => clk_25, |
General Comments 0
You need to be logged in to leave comments.
Login now