optimize error:left bound range doesn't evaluate to a const.

Discussion in 'VHDL' started by senthil, Mar 4, 2004.

  1. senthil

    senthil Guest

    hello friends,

    i am new to leonardo spectrum, but i known vhdl well.

    in my part of coding given below

    signal pnct_indx : integer range 0 to 200;
    signal cnvenc_indx : integer range 0 to 300;

    punct_data have 192 bit_vector..

    ln.no process(clk,rst)
    1 if rst = '1' then
    2 punct_data <= (others => '0');
    3 punct_full ,= '0';
    4 elsif clk'event and clk = '1' then
    5 if count = 6 and pnct_indx < 192 and cnvenc_indx < 288 then
    6 punct_data(pnct_indx to pnct_indx+3) <=cnvenc_data(cnvenc_indx)
    & cnvenc_data(cnvenc_indx+1)&cnvenc_data(cnvenc_indx+2)&cnvenc_data
    (cnvenc_indx+5)
    pnct_indx <= pnct_indx +4;
    cnvenc_indx <= cnvenc_indx + 6;
    elsif pnct_indx = 192 then
    punct_full <= '1';
    end if
    end if
    end process

    when i apply this coding to leonardo spectrum level 3, i found one
    error named as left bound of range doesn't evaluate to a constant at
    line no. 6..
    pls help me and i also got some sort warnings as

    suppose this file have entity name as punctdata and rtl as
    architecture name

    warning is -> replacing punctdata in hdl libraray work.
    -> replacing rtl of entity punctdata...

    expecting ur reply eagerly

    Senthil.R
     
    senthil, Mar 4, 2004
    #1
    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. Hilko
    Replies:
    1
    Views:
    2,239
    Mike Treseler
    Apr 6, 2006
  2. Replies:
    11
    Views:
    1,124
  3. Javier
    Replies:
    2
    Views:
    585
    James Kanze
    Sep 4, 2007
  4. 0m
    Replies:
    26
    Views:
    1,145
    Tim Rentsch
    Nov 10, 2008
  5. fungus
    Replies:
    13
    Views:
    901
    fungus
    Oct 31, 2008
Loading...

Share This Page