Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > optimize error:left bound range doesn't evaluate to a const.

Reply
Thread Tools

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

 
 
senthil
Guest
Posts: n/a
 
      03-04-2004
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lower bound & Upper bound sunil panda Java 9 10-07-2008 08:32 PM
Passing Bound Object value to another Bound Object Phillip Vong ASP .Net 0 07-27-2006 10:54 PM
How to represent the data in a not bound control via bound control Mario Krsnic ASP .Net 0 06-23-2006 07:38 AM
slice bound doesn't belong to range.... Hilko VHDL 1 04-06-2006 12:24 PM
Getting lower-bound and upper-bound of strings input Rhiner Dan C++ 1 03-27-2005 02:03 AM



Advertisments