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

Subversion Repositories dblclockfft

[/] [dblclockfft/] [trunk/] [bench/] [cpp/] [Makefile] - Blame information for rev 6

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

Line No. Rev Author Line
1 6 dgisselq
all: mpy_tb dblrev_tb dblstage_tb qtrstage_tb fft_tb test
2 3 dgisselq
 
3
OBJDR:= ../../sw/fft-core/obj_dir
4
VINC := -I/usr/share/verilator/include -I$(OBJDR)/
5
MPYLB:= $(OBJDR)/Vshiftaddmpy__ALL.a
6
DBLRV:= $(OBJDR)/Vdblreverse__ALL.a
7
DBLSG:= $(OBJDR)/Vdblstage__ALL.a
8
QTRSG:= $(OBJDR)/Vqtrstage__ALL.a
9 5 dgisselq
BFLYL:= $(OBJDR)/Vbutterfly__ALL.a
10 6 dgisselq
FFTLB:= $(OBJDR)/Vfftmain__ALL.a
11
STGLB:= $(OBJDR)/Vfftstage_o2048__ALL.a
12 3 dgisselq
VERILATOR_ROOT := /usr/share/verilator
13
 
14
mpy_tb: mpy_tb.cpp $(MPYLB)
15
        g++ -g $(VINC) $< $(MPYLB) $(VERILATOR_ROOT)/include/verilated.cpp -o $@
16
 
17
dblrev_tb: dblrev_tb.cpp $(DBLRV)
18
        g++ -g $(VINC) $< $(DBLRV) $(VERILATOR_ROOT)/include/verilated.cpp -o $@
19
 
20
dblstage_tb: dblstage_tb.cpp $(DBLSG)
21
        g++ -g $(VINC) $< $(DBLSG) $(VERILATOR_ROOT)/include/verilated.cpp -o $@
22
 
23
qtrstage_tb: qtrstage_tb.cpp $(QTRSG)
24
        g++ -g $(VINC) $< $(QTRSG) $(VERILATOR_ROOT)/include/verilated.cpp -o $@
25
 
26 5 dgisselq
butterfly_tb: butterfly_tb.cpp $(BFLYL)
27
        g++ -g $(VINC) $< $(BFLYL) $(VERILATOR_ROOT)/include/verilated.cpp -o $@
28
 
29 6 dgisselq
fftstage_o2048_tb: fftstage_o2048_tb.cpp $(STGLB)
30
        g++ -g $(VINC) $< $(STGLB) $(VERILATOR_ROOT)/include/verilated.cpp -o $@
31
 
32
fft_tb: fft_tb.cpp $(FFTLB)
33
        g++ -g $(VINC) $< $(FFTLB) $(VERILATOR_ROOT)/include/verilated.cpp -o $@
34
 
35 5 dgisselq
.PHONY: test
36 6 dgisselq
test: mpy_tb dblrev_tb dblstage_tb qtrstage_tb butterfly_tb fftstage_o2048_tb
37
test: fft_tb
38 5 dgisselq
        ./mpy_tb
39
        ./dblrev_tb
40
        ./dblstage_tb
41
        ./qtrstage_tb
42
        ./butterfly_tb
43 6 dgisselq
        ./fftstage_o2048_tb
44
        ./fft_tb
45 5 dgisselq
 
46
.PHONY: clean
47 3 dgisselq
clean:
48
        rm mpy_tb dblrev_tb dblstage_tb qtrstage_tb
49
 
50
include $(VERILATOR_ROOT)/include/verilated.mk

powered by: WebSVN 2.1.0

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