@@ -0,0 +1,10 | |||||
|
1 | SUBDIRS := $(shell find ./ -maxdepth 1 -mindepth 1 -type d) | |||
|
2 | ||||
|
3 | all : | |||
|
4 | ||||
|
5 | .PHONY: force | |||
|
6 | ||||
|
7 | ||||
|
8 | %: | |||
|
9 | -for d in $(SUBDIRS); do (cd $$d; $(MAKE) $@ ); done | |||
|
10 |
@@ -30,4 +30,5 test: | |||||
30 |
|
30 | |||
31 | distclean: |
|
31 | distclean: | |
32 | $(MAKE) -C tests distclean |
|
32 | $(MAKE) -C tests distclean | |
|
33 | $(MAKE) -C designs distclean | |||
33 |
|
34 |
@@ -78,7 +78,7 set_io {led[0]} -pinname K17 -fixed yes | |||||
78 | set_io {led[1]} -pinname L18 -fixed yes -DIRECTION Inout |
|
78 | set_io {led[1]} -pinname L18 -fixed yes -DIRECTION Inout | |
79 | set_io {led[2]} -pinname M17 -fixed yes -DIRECTION Inout |
|
79 | set_io {led[2]} -pinname M17 -fixed yes -DIRECTION Inout | |
80 |
|
80 | |||
81 | set_io TAG1 -pinname J12 -fixed yes -DIRECTION Inout |
|
81 | #set_io TAG1 -pinname J12 -fixed yes -DIRECTION Inout | |
82 | set_io TAG2 -pinname K13 -fixed yes -DIRECTION Inout |
|
82 | set_io TAG2 -pinname K13 -fixed yes -DIRECTION Inout | |
83 | set_io TAG3 -pinname L16 -fixed yes -DIRECTION Inout |
|
83 | set_io TAG3 -pinname L16 -fixed yes -DIRECTION Inout | |
84 | set_io TAG4 -pinname L15 -fixed yes -DIRECTION Inout |
|
84 | set_io TAG4 -pinname L15 -fixed yes -DIRECTION Inout |
@@ -256,6 +256,7 BEGIN -- beh | |||||
256 | NB_APB_SLAVE => NB_APB_SLAVE, |
|
256 | NB_APB_SLAVE => NB_APB_SLAVE, | |
257 | ADDRESS_SIZE => 19, |
|
257 | ADDRESS_SIZE => 19, | |
258 | USES_IAP_MEMCTRLR => 1, |
|
258 | USES_IAP_MEMCTRLR => 1, | |
|
259 | USES_MBE_PIN => 1, | |||
259 | BYPASS_EDAC_MEMCTRLR => '0', |
|
260 | BYPASS_EDAC_MEMCTRLR => '0', | |
260 | SRBANKSZ => 8) |
|
261 | SRBANKSZ => 8) | |
261 | PORT MAP ( |
|
262 | PORT MAP ( |
@@ -260,6 +260,7 BEGIN -- beh | |||||
260 | NB_APB_SLAVE => NB_APB_SLAVE, |
|
260 | NB_APB_SLAVE => NB_APB_SLAVE, | |
261 | ADDRESS_SIZE => 19, |
|
261 | ADDRESS_SIZE => 19, | |
262 | USES_IAP_MEMCTRLR => 1, |
|
262 | USES_IAP_MEMCTRLR => 1, | |
|
263 | USES_MBE_PIN => 1, | |||
263 | BYPASS_EDAC_MEMCTRLR => '0', |
|
264 | BYPASS_EDAC_MEMCTRLR => '0', | |
264 | SRBANKSZ => 8) |
|
265 | SRBANKSZ => 8) | |
265 | PORT MAP ( |
|
266 | PORT MAP ( | |
@@ -602,4 +603,4 BEGIN -- beh | |||||
602 | --TAG(8) <= nSRAM_BUSY; |
|
603 | --TAG(8) <= nSRAM_BUSY; | |
603 | END GENERATE USE_DEBUG_VECTOR_IF2; |
|
604 | END GENERATE USE_DEBUG_VECTOR_IF2; | |
604 |
|
605 | |||
605 | END beh; No newline at end of file |
|
606 | END beh; |
@@ -164,6 +164,7 ARCHITECTURE beh OF LFR_em IS | |||||
164 | ---------------------------------------------------------------------------- |
|
164 | ---------------------------------------------------------------------------- | |
165 | SIGNAL nSRAM_CE_s : STD_LOGIC_VECTOR(1 DOWNTO 0); |
|
165 | SIGNAL nSRAM_CE_s : STD_LOGIC_VECTOR(1 DOWNTO 0); | |
166 | SIGNAL nSRAM_READY : STD_LOGIC; |
|
166 | SIGNAL nSRAM_READY : STD_LOGIC; | |
|
167 | SIGNAL SRAM_MBE : STD_LOGIC; | |||
167 |
|
168 | |||
168 | BEGIN -- beh |
|
169 | BEGIN -- beh | |
169 |
|
170 | |||
@@ -234,6 +235,7 BEGIN -- beh | |||||
234 | NB_APB_SLAVE => NB_APB_SLAVE, |
|
235 | NB_APB_SLAVE => NB_APB_SLAVE, | |
235 | ADDRESS_SIZE => 20, |
|
236 | ADDRESS_SIZE => 20, | |
236 | USES_IAP_MEMCTRLR => USE_IAP_MEMCTRL, |
|
237 | USES_IAP_MEMCTRLR => USE_IAP_MEMCTRL, | |
|
238 | USES_MBE_PIN => 0, | |||
237 | BYPASS_EDAC_MEMCTRLR => '0', |
|
239 | BYPASS_EDAC_MEMCTRLR => '0', | |
238 | SRBANKSZ => 9) |
|
240 | SRBANKSZ => 9) | |
239 | PORT MAP ( |
|
241 | PORT MAP ( | |
@@ -256,7 +258,7 BEGIN -- beh | |||||
256 | nSRAM_CE => nSRAM_CE_s, |
|
258 | nSRAM_CE => nSRAM_CE_s, | |
257 | nSRAM_OE => nSRAM_OE, |
|
259 | nSRAM_OE => nSRAM_OE, | |
258 | nSRAM_READY => nSRAM_READY, |
|
260 | nSRAM_READY => nSRAM_READY, | |
259 |
SRAM_MBE => |
|
261 | SRAM_MBE => SRAM_MBE, | |
260 |
|
262 | |||
261 | apbi_ext => apbi_ext, |
|
263 | apbi_ext => apbi_ext, | |
262 | apbo_ext => apbo_ext, |
|
264 | apbo_ext => apbo_ext, |
@@ -1,4 +1,3 | |||||
1 | #GRLIB=../.. |
|
|||
2 |
|
|
1 | VHDLIB=../.. | |
3 | SCRIPTSDIR=$(VHDLIB)/scripts/ |
|
2 | SCRIPTSDIR=$(VHDLIB)/scripts/ | |
4 | GRLIB := $(shell sh $(VHDLIB)/scripts/lpp_relpath.sh) |
|
3 | GRLIB := $(shell sh $(VHDLIB)/scripts/lpp_relpath.sh) | |
@@ -11,13 +10,9 QSF=$(GRLIB)/boards/$(BOARD)/$(TOP).qsf | |||||
11 | EFFORT=high |
|
10 | EFFORT=high | |
12 | XSTOPT= |
|
11 | XSTOPT= | |
13 | SYNPOPT="set_option -pipe 0; set_option -retiming 0; set_option -write_apr_constraint 0" |
|
12 | SYNPOPT="set_option -pipe 0; set_option -retiming 0; set_option -write_apr_constraint 0" | |
14 | #VHDLSYNFILES=config.vhd ahbrom.vhd leon3mp.vhd |
|
|||
15 | #VHDLSYNFILES=config.vhd leon3mp.vhd |
|
|||
16 |
|
|
13 | VHDLSYNFILES=LFR-em.vhd | |
17 | VHDLSIMFILES=testbench.vhd |
|
14 | VHDLSIMFILES=testbench.vhd | |
18 | #SIMTOP=testbench |
|
15 | ||
19 | #SDCFILE=$(GRLIB)/boards/$(BOARD)/synplify.sdc |
|
|||
20 | #SDC=$(GRLIB)/boards/$(BOARD)/leon3mp.sdc |
|
|||
21 |
|
|
16 | PDC=$(VHDLIB)/boards/$(BOARD)/em-LeonLPP-A3PE3kL_withHK-DAC.pdc | |
22 |
|
17 | |||
23 | SDCFILE=$(VHDLIB)/boards/$(BOARD)/LFR_EM_synthesis.sdc |
|
18 | SDCFILE=$(VHDLIB)/boards/$(BOARD)/LFR_EM_synthesis.sdc | |
@@ -29,7 +24,7 CLEAN=soft-clean | |||||
29 | TECHLIBS = proasic3e |
|
24 | TECHLIBS = proasic3e | |
30 |
|
25 | |||
31 | LIBSKIP = core1553bbc core1553brm core1553brt gr1553 corePCIF \ |
|
26 | LIBSKIP = core1553bbc core1553brm core1553brt gr1553 corePCIF \ | |
32 | tmtc openchip hynix ihp gleichmann micron usbhc |
|
27 | tmtc openchip hynix ihp gleichmann micron usbhc opencores can greth | |
33 |
|
28 | |||
34 | DIRSKIP = b1553 pcif leon2 leon2ft crypto satcan ddr usb ata i2c \ |
|
29 | DIRSKIP = b1553 pcif leon2 leon2ft crypto satcan ddr usb ata i2c \ | |
35 | pci grusbhc haps slink ascs pwm coremp7 spi ac97 \ |
|
30 | pci grusbhc haps slink ascs pwm coremp7 spi ac97 \ |
@@ -73,6 +73,7 ENTITY leon3_soc IS | |||||
73 | -- |
|
73 | -- | |
74 | ADDRESS_SIZE : INTEGER := 19; |
|
74 | ADDRESS_SIZE : INTEGER := 19; | |
75 | USES_IAP_MEMCTRLR : INTEGER := 1; |
|
75 | USES_IAP_MEMCTRLR : INTEGER := 1; | |
|
76 | USES_MBE_PIN : INTEGER := 1; | |||
76 | BYPASS_EDAC_MEMCTRLR : STD_LOGIC := '0'; |
|
77 | BYPASS_EDAC_MEMCTRLR : STD_LOGIC := '0'; | |
77 | SRBANKSZ : INTEGER := 8; |
|
78 | SRBANKSZ : INTEGER := 8; | |
78 | SLOW_TIMING_EMULATION : integer := 0 |
|
79 | SLOW_TIMING_EMULATION : integer := 0 | |
@@ -447,6 +448,7 BEGIN | |||||
447 |
|
448 | |||
448 | memi.brdyn <= nSRAM_READY; |
|
449 | memi.brdyn <= nSRAM_READY; | |
449 |
|
450 | |||
|
451 | drv_mbe: IF USES_MBE_PIN = 1 GENERATE | |||
450 | mbe_pad : iopad |
|
452 | mbe_pad : iopad | |
451 | GENERIC MAP(tech => padtech, oepol => USES_IAP_MEMCTRLR) |
|
453 | GENERIC MAP(tech => padtech, oepol => USES_IAP_MEMCTRLR) | |
452 | PORT MAP(pad => SRAM_MBE, |
|
454 | PORT MAP(pad => SRAM_MBE, | |
@@ -456,6 +458,12 BEGIN | |||||
456 |
|
458 | |||
457 | nSRAM_CE_s <= (memo.ramsn(1 DOWNTO 0)); |
|
459 | nSRAM_CE_s <= (memo.ramsn(1 DOWNTO 0)); | |
458 | nSRAM_OE_s <= memo.oen; |
|
460 | nSRAM_OE_s <= memo.oen; | |
|
461 | END GENERATE; | |||
|
462 | ||||
|
463 | no_drv_mbe: IF USES_MBE_PIN /= 1 GENERATE | |||
|
464 | memi.bexcn <= '1'; | |||
|
465 | END GENERATE; | |||
|
466 | ||||
459 |
|
|
467 | ||
460 | END GENERATE; |
|
468 | END GENERATE; | |
461 |
|
469 |
@@ -55,6 +55,7 PACKAGE lpp_leon3_soc_pkg IS | |||||
55 | NB_APB_SLAVE : INTEGER; |
|
55 | NB_APB_SLAVE : INTEGER; | |
56 | ADDRESS_SIZE : INTEGER; |
|
56 | ADDRESS_SIZE : INTEGER; | |
57 | USES_IAP_MEMCTRLR : INTEGER; |
|
57 | USES_IAP_MEMCTRLR : INTEGER; | |
|
58 | USES_MBE_PIN : INTEGER:=1; | |||
58 | BYPASS_EDAC_MEMCTRLR : STD_LOGIC; |
|
59 | BYPASS_EDAC_MEMCTRLR : STD_LOGIC; | |
59 | SRBANKSZ : INTEGER := 8; |
|
60 | SRBANKSZ : INTEGER := 8; | |
60 | SLOW_TIMING_EMULATION : integer := 0 |
|
61 | SLOW_TIMING_EMULATION : integer := 0 |
General Comments 0
You need to be logged in to leave comments.
Login now