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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer mtn3325
Observer
9,808 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
Instructor
Instructor
9,788 Views
Registered: ‎08-14-2007

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

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