UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

# AR# 39707

## Description

How can I enter multiplier coefficient sets in a single COE file?

What should I pay attention to?

## Solution

For multiple coefficient filters, a single .coe file is used to specify the coefficient sets.

Each coefficient set should be appended to the previous set of coefficients.

For example, if a 2-coefficient set, 10-tap symmetric filter is being designed with the values below:

Coefficient set #0: coef data = -1, -2, -3, 4, 5, 5, 4, -3, -2, -1;
Coefficient set #1: coefdata = -9, -10, -11, 12, 13, 13, 12, -11, -10, -9

Then the .coe file for the entire filter would be as follows: radix = 10; coefdata = -1, -2, -3, 4, 5, 5, 4, -3, -2, -1, -9, -10, -11, 12, 13, 13, 12, -11, -10, -9;

All coefficients sets in a multiple set implementation must exhibit the same symmetry.

For example, if even one set of a multi-set has non-symmetric coefficient structure, then all sets are implemented using that structure.

All coefficient sets must also be of the same vector length.

If one coefficient set has fewer coefficients, it must be zero padded, either appended with zeros when non-symmetric or prepended and appended with an equal number of zeros when symmetric.

AR# 39707
Date 01/05/2015
Status Active
Type General Article
IP
• FIR Compiler
Page Bookmarked