ERROR: Index name XXX is not static.

Discussion in 'VHDL' started by svip, May 3, 2012.

  1. svip

    svip

    Joined:
    May 3, 2012
    Messages:
    2
    hi, i have a problem during the check synthesis using ISE 14

    in the package i have

    constant N_bit :natural :=10;
    type vect is array (0 to N_channels-1) of std_logic_vector(N_bit -1 downto 0);


    constant h_REAL :vect :=("1010100100","1100001111","1101110101","0000111100","0101011101","1101011100","1110100100","1110001100");


    in the entity declaration i have

    entity complex_fir_tap is


    generic(
    H_REAL1 : STD_LOGIC_VECTOR (N_bit-1 downto 0):=h_REAL(0);
    H_IMAG1 : STD_LOGIC_VECTOR (N_bit-1 downto 0):=h_IMAG(0)
    );

    I FOUND THE FOLLOWING ERRORS

    Index name h_REAL is not static.
    Index name h_IMAG is not static.
    svip, May 3, 2012
    #1
    1. Advertising

  2. svip

    svip

    Joined:
    May 3, 2012
    Messages:
    2
    i solve the problem but i have a question

    i have the following question.
    I realized a distrubuited complex fir
    the coefficient are defined in a package as follows:
    ....
    type vect is array (0 to N_channels-1) of std_logic_vector(N_bit -1 downto 0);
    constant h_REAL :vect :=("0000000001","1100001111","1101110101","0000111100","0101011101","1101011100","1110100100","1010100100");
    constant h_IMAG :vect :=("1010110100","1101101111","0001110101","0011111101","0101011101","1101011100","0000100100","0000001100");
    .....

    this number are useb by the N taps and are passed as generic

    entity complex_fir_tap is

    generic(
    constant H_REAL1 : STD_LOGIC_VECTOR (N_bit-1 downto 0);
    constant H_IMAG1 : STD_LOGIC_VECTOR (N_bit-1 downto 0)
    );
    ....

    whe i synthesize and implement my design the ISE suite use DSP48 if i set the relative option to AUTO in the synthesis option.
    Being the value constant why the DSP48 are used.
    If i force in the synthesis options the tool to not use DSP48 it realize constant multipliers or normal multipliers
    svip, May 4, 2012
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Åukasz Ligowski

    "xxx.has_key(a)" vs "a in xxx"

    Åukasz Ligowski, Oct 30, 2008, in forum: Python
    Replies:
    0
    Views:
    290
    Åukasz Ligowski
    Oct 30, 2008
  2. punit.raizada@gmail.com
    Replies:
    0
    Views:
    1,011
    punit.raizada@gmail.com
    Jun 21, 2006
  3. Bert Leu

    value of type "xxx" cannot be converted to "xxx"

    Bert Leu, Jun 5, 2007, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    287
    Jesse Houwing
    Jun 6, 2007
  4. Richard Lionheart
    Replies:
    4
    Views:
    282
    Richard Lionheart
    May 5, 2004
  5. Iñaki Baz Castillo
    Replies:
    5
    Views:
    149
    Iñaki Baz Castillo
    Mar 30, 2008
Loading...

Share This Page