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

Subversion Repositories ion

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /ion/trunk/src/hello
    from Rev 49 to Rev 66
    Reverse comparison

Rev 49 → Rev 66

/makefile
5,6 → 5,16
# We'll run the simulation for 2000 clock cycles
SIM_LENGTH = 20000
# FPGA Block RAM parameters
BRAM_START = 0xbfc00000
CODE_BRAM_SIZE = 2048
# External RAM parameters (size in words)
XRAM_SIZE = 1024
XRAM_START = 0x00000000
LFLAGS = -Ttext $(BRAM_START) -Tdata $(XRAM_START) -eentry -I elf32-big
clean:
-$(RM) *.o *.obj *.map *.lst *.hex *.exe *.axf *.code *.data
 
12,12 → 22,11
$(AS_MIPS) -o boot.o $(SRC_DIR)/common/boot.s
$(GCC_MIPS) -o no_os.o $(SRC_DIR)/common/no_os.c
$(GCC_MIPS) -o hello.o hello.c
$(LD_MIPS) $(LFLAGS_BOOT) -Map hello.map -s -N -o hello.axf boot.o hello.o no_os.o
$(LD_MIPS) $(LFLAGS) -Map hello.map -s -N -o hello.axf boot.o hello.o no_os.o
-@$(DUMP_MIPS) -m mips --disassemble hello.axf > hello.lst
# Extract object code to be placed in code space (see link script)
# Extract object code to be placed in code space
$(COPY_MIPS) -I elf32-big -O binary hello.axf hello.code
# $(COPY_MIPS) -I elf32-big -j.text -O binary hello.axf hello.code
# Extract object code to be placed in data space (see link script)
# Extract object code to be placed in data space
$(COPY_MIPS) -I elf32-big -j.data -j.bss -O binary hello.axf hello.data
 

powered by: WebSVN 2.1.0

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