##// END OF EJS Templates
Updated LFR EM design....
Alexis Jeandet -
r651:bc7dd8a54a19 default draft
parent child
Show More
@@ -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 31 distclean:
32 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 78 set_io {led[1]} -pinname L18 -fixed yes -DIRECTION Inout
79 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 82 set_io TAG2 -pinname K13 -fixed yes -DIRECTION Inout
83 83 set_io TAG3 -pinname L16 -fixed yes -DIRECTION Inout
84 84 set_io TAG4 -pinname L15 -fixed yes -DIRECTION Inout
@@ -256,6 +256,7 BEGIN -- beh
256 256 NB_APB_SLAVE => NB_APB_SLAVE,
257 257 ADDRESS_SIZE => 19,
258 258 USES_IAP_MEMCTRLR => 1,
259 USES_MBE_PIN => 1,
259 260 BYPASS_EDAC_MEMCTRLR => '0',
260 261 SRBANKSZ => 8)
261 262 PORT MAP (
@@ -260,6 +260,7 BEGIN -- beh
260 260 NB_APB_SLAVE => NB_APB_SLAVE,
261 261 ADDRESS_SIZE => 19,
262 262 USES_IAP_MEMCTRLR => 1,
263 USES_MBE_PIN => 1,
263 264 BYPASS_EDAC_MEMCTRLR => '0',
264 265 SRBANKSZ => 8)
265 266 PORT MAP (
@@ -602,4 +603,4 BEGIN -- beh
602 603 --TAG(8) <= nSRAM_BUSY;
603 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 165 SIGNAL nSRAM_CE_s : STD_LOGIC_VECTOR(1 DOWNTO 0);
166 166 SIGNAL nSRAM_READY : STD_LOGIC;
167 SIGNAL SRAM_MBE : STD_LOGIC;
167 168
168 169 BEGIN -- beh
169 170
@@ -234,6 +235,7 BEGIN -- beh
234 235 NB_APB_SLAVE => NB_APB_SLAVE,
235 236 ADDRESS_SIZE => 20,
236 237 USES_IAP_MEMCTRLR => USE_IAP_MEMCTRL,
238 USES_MBE_PIN => 0,
237 239 BYPASS_EDAC_MEMCTRLR => '0',
238 240 SRBANKSZ => 9)
239 241 PORT MAP (
@@ -256,7 +258,7 BEGIN -- beh
256 258 nSRAM_CE => nSRAM_CE_s,
257 259 nSRAM_OE => nSRAM_OE,
258 260 nSRAM_READY => nSRAM_READY,
259 SRAM_MBE => '0',
261 SRAM_MBE => SRAM_MBE,
260 262
261 263 apbi_ext => apbi_ext,
262 264 apbo_ext => apbo_ext,
@@ -1,4 +1,3
1 #GRLIB=../..
2 1 VHDLIB=../..
3 2 SCRIPTSDIR=$(VHDLIB)/scripts/
4 3 GRLIB := $(shell sh $(VHDLIB)/scripts/lpp_relpath.sh)
@@ -11,13 +10,9 QSF=$(GRLIB)/boards/$(BOARD)/$(TOP).qsf
11 10 EFFORT=high
12 11 XSTOPT=
13 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 14 VHDLSIMFILES=testbench.vhd
18 #SIMTOP=testbench
19 #SDCFILE=$(GRLIB)/boards/$(BOARD)/synplify.sdc
20 #SDC=$(GRLIB)/boards/$(BOARD)/leon3mp.sdc
15
21 16 PDC=$(VHDLIB)/boards/$(BOARD)/em-LeonLPP-A3PE3kL_withHK-DAC.pdc
22 17
23 18 SDCFILE=$(VHDLIB)/boards/$(BOARD)/LFR_EM_synthesis.sdc
@@ -29,7 +24,7 CLEAN=soft-clean
29 24 TECHLIBS = proasic3e
30 25
31 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 29 DIRSKIP = b1553 pcif leon2 leon2ft crypto satcan ddr usb ata i2c \
35 30 pci grusbhc haps slink ascs pwm coremp7 spi ac97 \
@@ -73,6 +73,7 ENTITY leon3_soc IS
73 73 --
74 74 ADDRESS_SIZE : INTEGER := 19;
75 75 USES_IAP_MEMCTRLR : INTEGER := 1;
76 USES_MBE_PIN : INTEGER := 1;
76 77 BYPASS_EDAC_MEMCTRLR : STD_LOGIC := '0';
77 78 SRBANKSZ : INTEGER := 8;
78 79 SLOW_TIMING_EMULATION : integer := 0
@@ -446,16 +447,23 BEGIN
446 447 );
447 448
448 449 memi.brdyn <= nSRAM_READY;
450
451 drv_mbe: IF USES_MBE_PIN = 1 GENERATE
452 mbe_pad : iopad
453 GENERIC MAP(tech => padtech, oepol => USES_IAP_MEMCTRLR)
454 PORT MAP(pad => SRAM_MBE,
455 i => mbe,
456 en => mbe_drive,
457 o => memi.bexcn);
449 458
450 mbe_pad : iopad
451 GENERIC MAP(tech => padtech, oepol => USES_IAP_MEMCTRLR)
452 PORT MAP(pad => SRAM_MBE,
453 i => mbe,
454 en => mbe_drive,
455 o => memi.bexcn);
456
457 nSRAM_CE_s <= (memo.ramsn(1 DOWNTO 0));
458 nSRAM_OE_s <= memo.oen;
459 nSRAM_CE_s <= (memo.ramsn(1 DOWNTO 0));
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 468 END GENERATE;
461 469
@@ -55,6 +55,7 PACKAGE lpp_leon3_soc_pkg IS
55 55 NB_APB_SLAVE : INTEGER;
56 56 ADDRESS_SIZE : INTEGER;
57 57 USES_IAP_MEMCTRLR : INTEGER;
58 USES_MBE_PIN : INTEGER:=1;
58 59 BYPASS_EDAC_MEMCTRLR : STD_LOGIC;
59 60 SRBANKSZ : INTEGER := 8;
60 61 SLOW_TIMING_EMULATION : integer := 0
General Comments 0
You need to be logged in to leave comments. Login now