OpenCores
URL https://opencores.org/ocsvn/ion/ion/trunk

Subversion Repositories ion

[/] [ion/] [trunk/] [src/] [adventure/] [makefile] - Diff between revs 177 and 182

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 177 Rev 182
Line 17... Line 17...
TB_DIR = ../../vhdl/tb
TB_DIR = ../../vhdl/tb
# VHDL DE-1 board demo root directory, for vhdl output
# VHDL DE-1 board demo root directory, for vhdl output
DEMO_DIR = ../../vhdl/demo
DEMO_DIR = ../../vhdl/demo
# Path to local libraries
# Path to local libraries
LIB_PATH = $(SRC_DIR)/common/libsoc
LIB_PATH = $(SRC_DIR)/common/libsoc
 
# Link script to be used
 
LINK_SCRIPT = $(SRC_DIR)/common/flash.lds
 
 
#-- Configure the VHDL simulation environment ----------------------------------
#-- Configure the VHDL simulation environment ----------------------------------
 
 
# Simulation length in cycles; long enough to let the program run to completion.
# Simulation length in cycles; long enough to let the program run to completion.
SIM_LENGTH = 400000000
SIM_LENGTH = 400000000
Line 53... Line 55...
 
 
 
 
# Options for 'main' code running from FLASH at 0xb0000000:
# Options for 'main' code running from FLASH at 0xb0000000:
# 1.- Put the code in FLASH and the data in external SRAM.
# 1.- Put the code in FLASH and the data in external SRAM.
# 2.- Do not use any of the standard libraries and use libsoc instead.
# 2.- Do not use any of the standard libraries and use libsoc instead.
LFLAGS_MAIN = -Tflash.lds -L $(LIB_PATH) \
LFLAGS_MAIN = -T$(LINK_SCRIPT) -L $(LIB_PATH) \
         -nodefaultlibs -nostdlib -eentry -I elf32-big
         -nodefaultlibs -nostdlib -eentry -I elf32-big
CFLAGS_MAIN = -O2 -Wall -c -s -fno-builtin -nodefaultlibs -nostdlib \
CFLAGS_MAIN = -O2 -Wall -c -s -fno-builtin -nodefaultlibs -nostdlib \
         -msoft-float -mips1 -G0
         -msoft-float -mips1 -G0
AFLAGS_MAIN = --defsym XRAM_BASE=$(XRAM_START)
AFLAGS_MAIN = --defsym XRAM_BASE=$(XRAM_START)
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.