@@ -374,7 +374,7 BEGIN -- beh | |||||
374 | pirq_ms => 6, |
|
374 | pirq_ms => 6, | |
375 | pirq_wfp => 14, |
|
375 | pirq_wfp => 14, | |
376 | hindex => 2, |
|
376 | hindex => 2, | |
377 |
top_lfr_version => X"01012 |
|
377 | top_lfr_version => X"01012F") -- aa.bb.cc version | |
378 | -- AA : BOARD NUMBER |
|
378 | -- AA : BOARD NUMBER | |
379 | -- 0 => MINI_LFR |
|
379 | -- 0 => MINI_LFR | |
380 | -- 1 => EM |
|
380 | -- 1 => EM |
@@ -196,6 +196,10 ARCHITECTURE beh OF MINI_LFR_top IS | |||||
196 | -- |
|
196 | -- | |
197 | SIGNAL SRAM_CE_s : STD_LOGIC_VECTOR(1 DOWNTO 0); |
|
197 | SIGNAL SRAM_CE_s : STD_LOGIC_VECTOR(1 DOWNTO 0); | |
198 |
|
198 | |||
|
199 | -- | |||
|
200 | SIGNAL sample_hk : STD_LOGIC_VECTOR(15 DOWNTO 0); | |||
|
201 | SIGNAL HK_SEL : STD_LOGIC_VECTOR( 1 DOWNTO 0); | |||
|
202 | ||||
199 | BEGIN -- beh |
|
203 | BEGIN -- beh | |
200 |
|
204 | |||
201 | ----------------------------------------------------------------------------- |
|
205 | ----------------------------------------------------------------------------- | |
@@ -511,7 +515,7 BEGIN -- beh | |||||
511 | pirq_ms => 6, |
|
515 | pirq_ms => 6, | |
512 | pirq_wfp => 14, |
|
516 | pirq_wfp => 14, | |
513 | hindex => 2, |
|
517 | hindex => 2, | |
514 |
top_lfr_version => X"00012 |
|
518 | top_lfr_version => X"00012E") -- aa.bb.cc version | |
515 | PORT MAP ( |
|
519 | PORT MAP ( | |
516 | clk => clk_25, |
|
520 | clk => clk_25, | |
517 | rstn => LFR_rstn, |
|
521 | rstn => LFR_rstn, | |
@@ -574,6 +578,28 BEGIN -- beh | |||||
574 | ADC_CLK <= ADC_CLK_sig; |
|
578 | ADC_CLK <= ADC_CLK_sig; | |
575 | ADC_SDO_sig <= ADC_SDO; |
|
579 | ADC_SDO_sig <= ADC_SDO; | |
576 |
|
580 | |||
|
581 | lpp_lfr_hk_1: lpp_lfr_hk | |||
|
582 | GENERIC MAP ( | |||
|
583 | pindex => 7, | |||
|
584 | paddr => 7, | |||
|
585 | pmask => 16#fff#) | |||
|
586 | PORT MAP ( | |||
|
587 | clk => clk_25, | |||
|
588 | rstn => rstn_25, | |||
|
589 | ||||
|
590 | apbi => apbi_ext, | |||
|
591 | apbo => apbo_ext(7), | |||
|
592 | ||||
|
593 | sample_val => sample_val, | |||
|
594 | sample => sample_hk, | |||
|
595 | HK_SEL => HK_SEL); | |||
|
596 | ||||
|
597 | sample_hk <= "0001000100010001" WHEN HK_SEL = "00" ELSE | |||
|
598 | "0010001000100010" WHEN HK_SEL = "10" ELSE | |||
|
599 | "0100010001000100" WHEN HK_SEL = "10" ELSE | |||
|
600 | (OTHERS => '0'); | |||
|
601 | ||||
|
602 | ||||
577 | ---------------------------------------------------------------------- |
|
603 | ---------------------------------------------------------------------- | |
578 | --- GPIO ----------------------------------------------------------- |
|
604 | --- GPIO ----------------------------------------------------------- | |
579 | ---------------------------------------------------------------------- |
|
605 | ---------------------------------------------------------------------- | |
@@ -701,7 +727,7 BEGIN -- beh | |||||
701 | -- |
|
727 | -- | |
702 | ----------------------------------------------------------------------------- |
|
728 | ----------------------------------------------------------------------------- | |
703 | all_apbo_ext : FOR I IN NB_APB_SLAVE-1+5 DOWNTO 5 GENERATE |
|
729 | all_apbo_ext : FOR I IN NB_APB_SLAVE-1+5 DOWNTO 5 GENERATE | |
704 | apbo_ext_not_used : IF I /= 5 AND I /= 6 AND I /= 11 AND I /= 15 GENERATE |
|
730 | apbo_ext_not_used : IF I /= 5 AND I /= 6 AND I /= 7 AND I /= 11 AND I /= 15 GENERATE | |
705 | apbo_ext(I) <= apb_none; |
|
731 | apbo_ext(I) <= apb_none; | |
706 | END GENERATE apbo_ext_not_used; |
|
732 | END GENERATE apbo_ext_not_used; | |
707 | END GENERATE all_apbo_ext; |
|
733 | END GENERATE all_apbo_ext; |
General Comments 0
You need to be logged in to leave comments.
Login now