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

Subversion Repositories dblclockfft

[/] [dblclockfft/] [trunk/] [bench/] [cpp/] [ifft_tb.cpp] - Diff between revs 30 and 41

Show entire file | Details | Blame | View Log

Rev 30 Rev 41
Line 1... Line 1...
 
////////////////////////////////////////////////////////////////////////////////
//
//
// Filename:    ifft_tb.cpp
// Filename:    ifft_tb.cpp
//
//
// Project:     A Doubletime Pipelined FFT
// Project:     A General Purpose Pipelined FFT Implementation
//
//
// Purpose:     A test-bench for the combined work of both fftmain.v and
// Purpose:     A test-bench for the combined work of both fftmain.v and
//              ifftmain.v.  If they work together, in concert like they should,
//              ifftmain.v.  If they work together, in concert like they should,
//              then the operation of both in series should yield an identity.
//      then the operation of both in series should yield an identity.  This
//              This program attempts to check that identity with various
//      program attempts to check that identity with various inputs given to it.
//              inputs given to it.
//
//
//      This file has a variety of dependencies, not the least of which are
//              This file has a variety of dependencies, not the least of which
//      verilator, ifftmain.v and fftmain.v (both produced by fftgen), but also on
//              are verilator, ifftmain.v and fftmain.v (both produced by
//      the ifft_tb.v verilog test bench.
//              fftgen), but also on the ifft_tb.v verilog test bench found
 
//              within this directory.
 
//
//
// Creator:     Dan Gisselquist, Ph.D.
// Creator:     Dan Gisselquist, Ph.D.
//              Gisselquist Technology, LLC
//              Gisselquist Technology, LLC
//
//
///////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//
//
// Copyright (C) 2015, Gisselquist Technology, LLC
// Copyright (C) 2015, Gisselquist Technology, LLC
//
//
// This program is free software (firmware): you can redistribute it and/or
// 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
// modify it under the terms of  the GNU General Public License as published
Line 30... Line 29...
// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// for more details.
// for more details.
//
//
// You should have received a copy of the GNU General Public License along
// 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
// 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
// target there if the PDF file isn't present.)  If not, see
// <http://www.gnu.org/licenses/> for a copy.
// <http://www.gnu.org/licenses/> for a copy.
//
//
// License:     GPL, v3, as defined and found on www.gnu.org,
// License:     GPL, v3, as defined and found on www.gnu.org,
//              http://www.gnu.org/licenses/gpl.html
//              http://www.gnu.org/licenses/gpl.html
//
//
//
//
///////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <stdio.h>
#include <math.h>
#include <math.h>
#include <assert.h>
#include <assert.h>
 
 
#include "verilated.h"
#include "verilated.h"

powered by: WebSVN 2.1.0

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