Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
314314314
Posts: 6
Registered: ‎02-22-2012
0

Interfacing FFT core ip directly to block ram

Hi, In my simulation, some floating points data samples are initialized in a simple dual port block ram.

 

The port B (read only, 64 bit width) of block ram is then connected directly to FFT ip core V7.1

Same clock signal for FFT and block ram.

 

connections are as follows.

 

-----FFT ports--------Block RAM ports-----

 

         xn_index   ->   addrb

         xn_re        <-    datab( 63 downto 32)

         xn_im       <-    datab( 31 downto o)

 

 

The FFT computation result is some how corresponds to a shifted version of block ram samples.

In other words, when the FFTcore  trys to obtain a Nth sample , it gets the (N+1)th.

 

 

Why is this happening and how should I solve it?

 

Xilinx Employee
bwiec
Posts: 1,005
Registered: ‎08-02-2011
0

Re: Interfacing FFT core ip directly to block ram

Sounds like you have a cycle of read latency in your BRAM configuration.

 

Have you simulated this? By probing the appropriate signals, you should be able to find out exactly what's happening.

www.xilinx.com
Visitor
314314314
Posts: 6
Registered: ‎02-22-2012
0

Re: Interfacing FFT core ip directly to block ram

you are right, the bram data output is 1clk behind, but how do I eliminate this delay?

 

 

Xilinx Employee
bwiec
Posts: 1,005
Registered: ‎08-02-2011
0

Re: Interfacing FFT core ip directly to block ram

You'll have to add some logic to handle the delay if it is important in your application. Try connecting the address port of the BRAM to addrb+1 (which is the equivalent of xn_index+1). You'll have to handle the boundary cases, though.

www.xilinx.com