M
Marios Barlas
Guest
Hello,
I am getting a warning on my code like :
# ** Warning: NUMERIC_STD.">=": metavalue detected, returning FALSE
# Time: 0 ns Iteration: 0 Region: /sqroot_comb_tb/DUV/STAGES(3)
# ** Warning: NUMERIC_STD."<=": metavalue detected, returning FALSE
*********************************************
# ** Warning: NUMERIC_STD."<=": metavalue detected, returning FALSE
# Time: 0 ns Iteration: 4 Region: /sqroot_comb_tb/DUV/STAGES(3)
My code implements the calculation of an integer square root in 4 stages in dataflow. It doesn't seem to have a negative effect on the computation or on the synthesis phase. I am using Modelsim for coding/simulation and Synopsis for synthesis.
I suspect it comes from the fact that I introduce an array of vectors like this :
type r_size is array (0 to NBITS/2) of unsigned(NBITS-1 downto 0);
signal sqroot2 : r_size;
signal delta : r_size;
signal res : r_size;
and I initialize only the 1st element
res(0) <= unsigned(arg);
with my input vector.
In the algorithm however I have an assignment like :
res(i+1) <= res(i);
Can I circumvent the problem or should I just leave it like that?
Thanks in advance!
Marios Barlas
I am getting a warning on my code like :
# ** Warning: NUMERIC_STD.">=": metavalue detected, returning FALSE
# Time: 0 ns Iteration: 0 Region: /sqroot_comb_tb/DUV/STAGES(3)
# ** Warning: NUMERIC_STD."<=": metavalue detected, returning FALSE
*********************************************
# ** Warning: NUMERIC_STD."<=": metavalue detected, returning FALSE
# Time: 0 ns Iteration: 4 Region: /sqroot_comb_tb/DUV/STAGES(3)
My code implements the calculation of an integer square root in 4 stages in dataflow. It doesn't seem to have a negative effect on the computation or on the synthesis phase. I am using Modelsim for coding/simulation and Synopsis for synthesis.
I suspect it comes from the fact that I introduce an array of vectors like this :
type r_size is array (0 to NBITS/2) of unsigned(NBITS-1 downto 0);
signal sqroot2 : r_size;
signal delta : r_size;
signal res : r_size;
and I initialize only the 1st element
res(0) <= unsigned(arg);
with my input vector.
In the algorithm however I have an assignment like :
res(i+1) <= res(i);
Can I circumvent the problem or should I just leave it like that?
Thanks in advance!
Marios Barlas