1 |
8 |
unicore |
/////////////////////////////////////////////////////////////////////
|
2 |
|
|
//// ////
|
3 |
|
|
//// Parameter file ////
|
4 |
|
|
//// ////
|
5 |
|
|
//// Authors: Anatoliy Sergienko, Volodya Lepeha ////
|
6 |
|
|
//// Company: Unicore Systems http://unicore.co.ua ////
|
7 |
|
|
//// ////
|
8 |
|
|
//// Downloaded from: http://www.opencores.org ////
|
9 |
|
|
//// ////
|
10 |
|
|
/////////////////////////////////////////////////////////////////////
|
11 |
|
|
//// ////
|
12 |
|
|
//// Copyright (C) 2006-2010 Unicore Systems LTD ////
|
13 |
|
|
//// www.unicore.co.ua ////
|
14 |
|
|
//// o.uzenkov@unicore.co.ua ////
|
15 |
|
|
//// ////
|
16 |
|
|
//// This source file may be used and distributed without ////
|
17 |
|
|
//// restriction provided that this copyright statement is not ////
|
18 |
|
|
//// removed from the file and that any derivative work contains ////
|
19 |
|
|
//// the original copyright notice and the associated disclaimer.////
|
20 |
|
|
//// ////
|
21 |
|
|
//// THIS SOFTWARE IS PROVIDED "AS IS" ////
|
22 |
|
|
//// AND ANY EXPRESSED OR IMPLIED WARRANTIES, ////
|
23 |
|
|
//// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ////
|
24 |
|
|
//// WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT ////
|
25 |
|
|
//// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ////
|
26 |
|
|
//// IN NO EVENT SHALL THE UNICORE SYSTEMS OR ITS ////
|
27 |
|
|
//// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, ////
|
28 |
|
|
//// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ////
|
29 |
|
|
//// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT ////
|
30 |
|
|
//// OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ////
|
31 |
|
|
//// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ////
|
32 |
|
|
//// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ////
|
33 |
|
|
//// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ////
|
34 |
|
|
//// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING ////
|
35 |
|
|
//// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, ////
|
36 |
|
|
//// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ////
|
37 |
|
|
//// ////
|
38 |
|
|
/////////////////////////////////////////////////////////////////////
|
39 |
|
|
// Design_Version : 1.0
|
40 |
|
|
// File name : fft64_config.inc
|
41 |
|
|
// File Revision :
|
42 |
|
|
// Last modification : Sun Sep 30 20:11:56 2007
|
43 |
|
|
/////////////////////////////////////////////////////////////////////
|
44 |
|
|
|
45 |
|
|
`timescale 10 ps / 1ps
|
46 |
|
|
|
47 |
|
|
//input data bit width
|
48 |
|
|
`define USFFT64paramnb parameter nb=16;
|
49 |
|
|
|
50 |
|
|
//2-nd stage data bit width
|
51 |
|
|
`define USFFT64paramnb2 parameter nb2=nb+2;
|
52 |
|
|
|
53 |
|
|
//twiddle factor bit width
|
54 |
|
|
`define USFFT64paramnw parameter nw=15;
|
55 |
|
|
|
56 |
|
|
//when is absent then FFT, when is present then IFFT
|
57 |
|
|
//`define USFFT64paramifft ;
|
58 |
|
|
|
59 |
|
|
//buffer number 2 or 3
|
60 |
|
|
`define USFFT64parambuffers3
|
61 |
|
|
|
62 |
|
|
// buffer type: 1 ports in RAMS else -2 ports RAMS
|
63 |
|
|
//`define USFFT64bufferports1
|
64 |
|
|
|
65 |
|
|
//Coeficient 0.707 bit width is increased
|
66 |
|
|
`define USFFT64bitwidth_0707_high
|