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
staceyrieck
Posts: 16
Registered: ‎03-03-2010
0

FIR compiler 5.0 truncation error

[ Edited ]

Greetings!

 

I am using Xilinx ISE 11.4 and the FIR Compiler 5.0 IP Core on a Virtex5.

 

The filter is set up in a 128 Channel Polyphase filter bank receiver configuration with 16 bit signed input samples.

The output is 33 bits (full precision) and the sum of my filter coefficients is 1.

 

When simulated, the output is fine until a certain threashold value. Once the filter output reaches a length of 22 bits or more, there is a truncation error even though the output precision is 33 bits. The error is as follows:


# ** Warning: NUMERIC_STD.TO_SIGNED: vector truncated
# Time: 39995 ns Iteration: 4 Instance: /polyphase_filter_testbench/uut/filter/u0/g_mac/mac/g_fir_paths__0/gfir4

 

This error occurs when 16 bit coefficients are used. 18 bit coefficients at full precision (35 bit) work fine.

 

I've gone through the xilinx answers database and have not been able to find any solution for this error, hopefully someone here can shed some light on the subject!

 

Thanks! 

 

Stacey

 

Message Edited by staceyrieck on 03-03-2010 01:35 AM