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

Subversion Repositories dblclockfft

[/] [dblclockfft/] [trunk/] [sw/] [Makefile] - Diff between revs 14 and 16

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

Rev 14 Rev 16
Line 1... Line 1...
 
############################################################################/
 
##
 
## Filename:    fftgen.v
 
##
 
## Project:     A Doubletime Pipelined FFT
 
##
 
## Purpose:     This is the main Makefile for the FFT core generator.
 
##              It is very simple in its construction, the most complicated
 
##              parts being the building of the Verilator simulation--a
 
##              step that may not be required for your project.
 
##
 
##              To build the FFT generator, just type 'make' on a line
 
##              by itself.  For a quick tutorial in how to run the
 
##              generator, just type './fftgen -h' to read the usage()
 
##              statement.
 
##
 
## Creator:     Dan Gisselquist, Ph.D.
 
##              Gisselquist Tecnology, LLC
 
##
 
##########################################################################/
 
##
 
## Copyright (C) 2015, Gisselquist Technology, LLC
 
##
 
## This program is free software (firmware): you can redistribute it and/or
 
## modify it under the terms of  the GNU General Public License as published
 
## by the Free Software Foundation, either version 3 of the License, or (at
 
## your option) any later version.
 
##
 
## This program is distributed in the hope that it will be useful, but WITHOUT
 
## ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
 
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
## for more details.
 
##
 
## You should have received a copy of the GNU General Public License along
 
## with this program.  (It's in the $(ROOT)/doc directory, run make with no
 
## target there if the PDF file isn't present.)  If not, see
 
##  for a copy.
 
##
 
## License:     GPL, v3, as defined and found on www.gnu.org,
 
##              http:##www.gnu.org/licenses/gpl.html
 
##
 
##
 
##########################################################################/
 
##
 
##
# 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
 
 
Line 10... Line 55...
        $(CXX) -c $< -o $@
        $(CXX) -c $< -o $@
 
 
.PHONY: test
.PHONY: test
test: fft ifft shiftaddmpy butterfly dblreverse qtrstage dblstage fftstage_o2048
test: fft ifft shiftaddmpy butterfly dblreverse qtrstage dblstage fftstage_o2048
 
 
 
#
 
# Although these parameters, a 2048 point FFT of 16 bits input, aren't
 
# the only parameters the FFT can do, they are the ones that the test
 
# benches depend upon.  If you change these, and you are welcome to do so,
 
# you may need to adjust the test benches if you wish to prove that your
 
# changes work.
 
#
.PHONY: fft
.PHONY: fft
fft: fftgen
fft: fftgen
        ./fftgen -f 2048 -n 16
        ./fftgen -f 2048 -n 16
        cd $(CORED)/; verilator -cc fftmain.v
        cd $(CORED)/; verilator -cc fftmain.v
        cd $(OBJDR); make -f Vfftmain.mk
        cd $(OBJDR); make -f Vfftmain.mk

powered by: WebSVN 2.1.0

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