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

Subversion Repositories ion

[/] [ion/] [trunk/] [src/] [opcodes/] [makefile] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ja_rd
 
2
# Get common makefile stuff (toolchain & system config)
3
include ../common/makefile
4
 
5
 
6
clean:
7
        -$(RM) -f *.o *.obj *.map *.lst *.hex \
8
        *.exe *.axf *.code *.data *.bin
9
 
10
opcodes:
11
        $(AS_MIPS) -o opcodes.o opcodes.s
12
        $(LD_MIPS) -Ttext 0 -eentry -Map opcodes.map -s -N -o opcodes.axf opcodes.o
13
        -@$(DUMP_MIPS) -I elf32-big --disassemble opcodes.axf > opcodes.lst
14
        @# Dump only text segment, no .rodata on this program
15
        $(COPY_MIPS) -I elf32-big -j .text -O binary opcodes.axf opcodes.bin
16
 
17
 
18
# Create VHDL file for simulation test bench
19
opcodes_sim: opcodes
20
        $(TO_VHDL) $(VHDL_FLAGS) --code opcodes.bin \
21
                -v $(SRC_DIR)\\mips_tb0_template.vhdl -o $(TB_DIR)\\mips_tb1.vhdl -e mips_tb1
22
 

powered by: WebSVN 2.1.0

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