URL
https://opencores.org/ocsvn/plasma/plasma/trunk
[/] [plasma/] [trunk/] [tools/] [makefile] - Diff between revs 137 and 170
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 137 |
Rev 170 |
Line 19... |
Line 19... |
-del *.o *.obj *.exe *.map *.lst *.hex *.txt
|
-del *.o *.obj *.exe *.map *.lst *.hex *.txt
|
|
|
convert_bin.exe: convert.c
|
convert_bin.exe: convert.c
|
@$(CC_X86) -o convert_bin.exe convert.c
|
@$(CC_X86) -o convert_bin.exe convert.c
|
|
|
|
convert_le.exe: convert.c
|
|
@$(CC_X86) -DLITTLE_ENDIAN -o convert_le.exe convert.c
|
|
|
mlite.exe: mlite.c
|
mlite.exe: mlite.c
|
@$(CC_X86) -o mlite.exe mlite.c -DWIN32
|
@$(CC_X86) -o mlite.exe mlite.c -DWIN32
|
|
|
tracehex.exe: tracehex.c
|
tracehex.exe: tracehex.c
|
@$(CC_X86) -o tracehex.exe tracehex.c
|
@$(CC_X86) -o tracehex.exe tracehex.c
|
Line 103... |
Line 106... |
boot.o bootldr.o no_os.o
|
boot.o bootldr.o no_os.o
|
@$(DUMP_MIPS) --disassemble test.exe > test.lst
|
@$(DUMP_MIPS) --disassemble test.exe > test.lst
|
convert_bin
|
convert_bin
|
copy code.txt ..\vhdl
|
copy code.txt ..\vhdl
|
|
|
|
bootldr_little_endian: all convert_le.exe
|
|
$(AS_MIPS) -EL -o boot.o boot.asm
|
|
$(GCC_MIPS) -EL bootldr.c
|
|
$(GCC_MIPS) -EL no_os.c
|
|
$(LD_MIPS) -EL -Ttext 0 -eentry -Map test.map -s -N -o test.exe \
|
|
boot.o bootldr.o no_os.o
|
|
@$(DUMP_MIPS) --disassemble test.exe > test.lst
|
|
convert_le
|
|
copy code.txt ..\vhdl
|
|
|
# Run a MIPS opcode simulator
|
# Run a MIPS opcode simulator
|
run: mlite.exe
|
run: mlite.exe
|
@mlite test.bin
|
@mlite test.bin
|
|
|
|
run_little_endian: mlite.exe
|
|
@mlite test.bin L
|
|
|
disassemble:
|
disassemble:
|
-@mlite test.bin BD > test.txt
|
-@mlite test.bin BD > test.txt
|
|
|
# Used by Altera FPGAs for ram image
|
# Used by Altera FPGAs for ram image
|
tohex:
|
tohex:
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.