Forum: FPGA, VHDL & Verilog Warning: NUMERIC_STD.">=": metavalue detected

von felix (Guest)

Rate this post
0 useful
not useful
helo members ,

i get this warning in questasim ,

Warning: NUMERIC_STD.">=": metavalue detected, returning FALSE,
here count is unsigned vector ..
for i in 0 to 2 generate
 elseif rising_edge(clk)then
  if((count(i)>=to_unsigned(0, count(i)'length))
 end if;
end if;
end process
end generate
how can this be solved. i assigned initial values dueing signal count 
initialisation and during reset still gettind same error

von Lothar M. (lkmiller) (Moderator)

Rate this post
0 useful
not useful
felix wrote:
> count<=<=(others=>(others=>'0'));
Whats that?

The problem may be located somewhere outside the posted code snippet. 
Very interesting are the first 5 lines of your VHDL code. So simply 
attach your VHDL file as a *.vhdl file.

von Duke Scarring (Guest)

Attached files:

Rate this post
0 useful
not useful
felix wrote:
> how can this be solved
In such case I change the simulator runtime options (see graphic).
The simulator will stop an show the relevant code line.



Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.