URL
https://opencores.org/ocsvn/dblclockfft/dblclockfft/trunk
Subversion Repositories dblclockfft
[/] [dblclockfft/] [trunk/] [sw/] [Makefile] - Rev 2
Go to most recent revision | Compare with Previous | Blame | View Log
# This is really simple ...
all: fftgen
CORED := fft-core
OBJDR := $(CORED)/obj_dir
fftgen: fftgen.o
$(CXX) $< -o $@
%.o: %.cpp
$(CXX) -c $< -o $@
.PHONY:
test: fftgen
./fftgen -f 2048 -n 16
cd $(CORED)/; verilator -cc fftmain.v
cd $(OBJDR); make -f Vfftmain.mk
./fftgen -f 2048 -1 -n 24 -m 24
cd $(CORED)/; verilator -cc ifftmain.v
cd $(OBJDR); make -f Vifftmain.mk
$(CORED)/shiftaddmpy.v: test
$(OBJDR)/Vshiftaddmpy.cpp $(OBJDR)/Vshiftaddmpy.h: $(CORED)/shiftaddmpy.v
cd $(CORED)/; verilator -cc shiftaddmpy.v
$(OBJDR)/Vshiftaddmpy.a: $(OBJDR)/Vshiftaddmpy.h
$(OBJDR)/Vshiftaddmpy.a: $(OBJDR)/Vshiftaddmpy.cpp
cd $(OBJDR)/; make -f Vshiftaddmpy.mk
$(CORED)/butterfly.v: test
$(OBJDR)/Vbutterfly.cpp $(OBJDR)/Vbutterfly.h: $(CORED)/butterfly.v
cd $(CORED)/; verilator -cc butterfly.v
$(OBJDR)/Vbutterfly__ALL.a: $(OBJDR)/Vbutterfly.h
$(OBJDR)/Vbutterfly__ALL.a: $(OBJDR)/Vbutterfly.cpp
cd $(OBJDR)/; make -f Vbutterfly.mk
$(CORED)/dblreverse.v: test
$(OBJDR)/Vdblreverse.cpp $(OBJDR)/Vdblreverse.h: $(CORED)/dblreverse.v
cd $(CORED)/; verilator -cc dblreverse.v
$(OBJDR)/Vdblreverse__ALL.a: $(OBJDR)/Vdblreverse.h
$(OBJDR)/Vdblreverse__ALL.a: $(OBJDR)/Vdblreverse.cpp
cd $(OBJDR)/; make -f Vdblreverse.mk
$(CORED)/qtrstage.v: test
$(OBJDR)/Vqtrstage.cpp $(OBJDR)/Vqtrstage.h: $(CORED)/qtrstage.v
cd $(CORED)/; verilator -cc qtrstage.v
$(OBJDR)/Vqtrstage__ALL.a: $(OBJDR)/Vqtrstage.h
$(OBJDR)/Vqtrstage__ALL.a: $(OBJDR)/Vqtrstage.cpp
cd $(OBJDR)/; make -f Vqtrstage.mk
$(CORED)/dblstage.v: test
$(OBJDR)/Vdblstage.cpp $(OBJDR)/Vdblstage.h: $(CORED)/dblstage.v
cd $(CORED)/; verilator -cc dblstage.v
$(OBJDR)/Vdblstage__ALL.a: $(OBJDR)/Vdblstage.h
$(OBJDR)/Vdblstage__ALL.a: $(OBJDR)/Vdblstage.cpp
cd $(OBJDR)/; make -f Vdblstage.mk
clean:
rm fftgen fftgen.o
rm -rf $(CORED)
Go to most recent revision | Compare with Previous | Blame | View Log