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

Subversion Repositories dblclockfft

[/] [dblclockfft/] [trunk/] [bench/] [cpp/] [Makefile] - Rev 3

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

all: mpy_tb dblrev_tb dblstage_tb qtrstage_tb

OBJDR:= ../../sw/fft-core/obj_dir
VINC := -I/usr/share/verilator/include -I$(OBJDR)/
MPYLB:= $(OBJDR)/Vshiftaddmpy__ALL.a
DBLRV:= $(OBJDR)/Vdblreverse__ALL.a
DBLSG:= $(OBJDR)/Vdblstage__ALL.a
QTRSG:= $(OBJDR)/Vqtrstage__ALL.a
VERILATOR_ROOT := /usr/share/verilator

mpy_tb: mpy_tb.cpp $(MPYLB)
        g++ -g $(VINC) $< $(MPYLB) $(VERILATOR_ROOT)/include/verilated.cpp -o $@

dblrev_tb: dblrev_tb.cpp $(DBLRV)
        g++ -g $(VINC) $< $(DBLRV) $(VERILATOR_ROOT)/include/verilated.cpp -o $@

dblstage_tb: dblstage_tb.cpp $(DBLSG)
        g++ -g $(VINC) $< $(DBLSG) $(VERILATOR_ROOT)/include/verilated.cpp -o $@

qtrstage_tb: qtrstage_tb.cpp $(QTRSG)
        g++ -g $(VINC) $< $(QTRSG) $(VERILATOR_ROOT)/include/verilated.cpp -o $@

clean:
        rm mpy_tb dblrev_tb dblstage_tb qtrstage_tb

include $(VERILATOR_ROOT)/include/verilated.mk

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

powered by: WebSVN 2.1.0

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