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

Subversion Repositories spacewire_light

[/] [spacewire_light/] [trunk/] [sim/] [spwamba_leon3/] [Makefile] - Diff between revs 5 and 6

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

Rev 5 Rev 6
Line 9... Line 9...
 
 
RTLDIR = ../../rtl/vhdl
RTLDIR = ../../rtl/vhdl
TBDIR  = ../../bench/vhdl
TBDIR  = ../../bench/vhdl
SWDIR  = ../../sw/spwamba_test
SWDIR  = ../../sw/spwamba_test
 
 
SWDEFS = -DTXCLKFREQ=40 -DDESCTABLESIZE=5 -DQUEUEFILL=672 -DLOOPBACKSWITCH=1
SWDEFS = -DTXCLKFREQ=40 -DDESCTABLESIZE=5 -DQUEUEFILL=700 -DLOOPBACKSWITCH=1
 
 
TOP = spwamba_tb
TOP = spwamba_tb
VHDLSIMFILES = \
VHDLSIMFILES = \
  $(RTLDIR)/spwpkg.vhd      \
  $(RTLDIR)/spwpkg.vhd      \
  $(RTLDIR)/spwlink.vhd     \
  $(RTLDIR)/spwlink.vhd     \
Line 41... Line 41...
        @echo " make ghdl                 : compile test bench with GHDL"
        @echo " make ghdl                 : compile test bench with GHDL"
        @echo " make spwamba_test.srec    : compile test software (requires sparc-elf-4.4.2)"
        @echo " make spwamba_test.srec    : compile test software (requires sparc-elf-4.4.2)"
        @echo " make ghdl-launch          : run test software in test bench"
        @echo " make ghdl-launch          : run test software in test bench"
        @echo
        @echo
 
 
ghdl-run ghdl-launch: spwamba_test.srec
 
 
 
spwamba_test.srec: spwamba_test.elf
spwamba_test.srec: spwamba_test.elf
        sparc-elf-objcopy -O srec $< $@
        sparc-elf-objcopy -O srec $< $@
 
 
spwamba_test.elf: init_sys.o spwamba_test.o
spwamba_test.elf: init_sys.o spwamba_test.o
        sparc-elf-gcc -msoft-float -s $^ -o $@
        sparc-elf-gcc -msoft-float -s $^ -o $@

powered by: WebSVN 2.1.0

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