cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
10,078 Views
Registered: ‎10-05-2015

ERROR: [VRFC 10-1537] value 0 is out of target constraint range 1 to 2147483647

Hello,

 

I got the above error while trying to simulate my design. Does anyone know what this error is about? The portion of the code is below. The error points to the last line. I am using Vivado 2015.2. Thank you.

 

-------------------------------------------------------------------------------
-- MEM_DECODE_GEN: Universal Address Decode Block
-------------------------------------------------------------------------------
MEM_DECODE_GEN: for bar_index in 0 to NUM_BASE_ADDRS-1 generate
---------------
constant CE_INDEX_START : integer
                        := calc_start_ce_index(C_ARD_NUM_CE_ARRAY,bar_index);
constant CE_ADDR_SIZE   : Integer range 0 to 15
                        := clog2(C_ARD_NUM_CE_ARRAY(bar_index));                            <---- Error points to this line

0 Kudos
1 Reply
Highlighted
Professor
Professor
10,058 Views
Registered: ‎08-14-2007

clog2 expects a non-zero positive integer.  (What's the log of zero?)

Apparently your expression C_ARD_NUM_CE_ARRAY(bar_index) evaluates to zero.

-- Gabor
0 Kudos