FFT IP core in xilinx

Status
Not open for further replies.

suhas007

Newbie level 5
Joined
Jul 25, 2011
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,347
Hello,
I'm new to xilinx.I actually dunno how to simulate FFT in xilinx using IP cores.How to give input for an 8 or 16 bit i/p.How to write a test bench.
Plz help me.
 

Thx..........I was able to write test benches. Now,How can i read the input for FFT from a file and output the result to a file.
 

How closely did you read the XAPP199 document? Under "Self-Checking Testbenches", there is an example for reading data from a vector file using VHDL's textio. To do the same in Verilog, you can use $readmemb or $readmemh (see "Reading Memory Initialization Files") or use $fopen, $fread, etc.

To save to a file, you can use VHDL textio or in Verilog, $fopen/$fwrite.
 

    V

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…