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

Subversion Repositories dblclockfft

[/] [dblclockfft/] [trunk/] [sw/] [Makefile] - Diff between revs 26 and 28

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

Rev 26 Rev 28
Line 45... Line 45...
##
##
# This is really simple ...
# This is really simple ...
all: fftgen
all: fftgen
CORED := fft-core
CORED := fft-core
OBJDR := $(CORED)/obj_dir
OBJDR := $(CORED)/obj_dir
 
TESTSZ := 2048
 
BENCHD := ../bench/cpp
 
 
fftgen: fftgen.o
fftgen: fftgen.o
        $(CXX) $< -o $@
        $(CXX) $< -o $@
 
 
%.o: %.cpp
%.o: %.cpp
Line 64... Line 66...
# you may need to adjust the test benches if you wish to prove that your
# you may need to adjust the test benches if you wish to prove that your
# changes work.
# changes work.
#
#
.PHONY: fft
.PHONY: fft
fft: fftgen
fft: fftgen
        ./fftgen -f 2048 -n 16 -p 4
        ./fftgen -f $(TESTSZ) -n 16 -p 6 -a $(BENCHD)/fftsize.h
        cd $(CORED)/; verilator -cc fftmain.v
        cd $(CORED)/; verilator -cc fftmain.v
        cd $(OBJDR); make -f Vfftmain.mk
        cd $(OBJDR); make -f Vfftmain.mk
 
 
.PHONY: ifft
.PHONY: ifft
ifft: fftgen
ifft: fftgen
        ./fftgen -f 2048 -i -n 22  -p 4
        ./fftgen -f $(TESTSZ) -i -n 22  -p 6 -a $(BENCHD)/ifftsize.h
        cd $(CORED)/; verilator -cc ifftmain.v
        cd $(CORED)/; verilator -cc ifftmain.v
        cd $(OBJDR); make -f Vifftmain.mk
        cd $(OBJDR); make -f Vifftmain.mk
 
 
.PHONY: shiftaddmpy
.PHONY: shiftaddmpy
shiftaddmpy: $(OBJDR)/Vshiftaddmpy__ALL.a
shiftaddmpy: $(OBJDR)/Vshiftaddmpy__ALL.a

powered by: WebSVN 2.1.0

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