[sv-bc] Mantis 1345: unique/priority if/case

From: Paul Graham <pgraham_at_.....>
Date: Mon Nov 05 2007 - 08:01:06 PST
Isn't it also true that any unique/priority case or if
statement that does not explictly check for x/z values will
produce a warning in the first few simulation cycles before 
0/1 values get propagated to the compared signals?

Paul

 > According to that, the following should issue a warning:
 > 
 > unique if (a==0) $display("0");
 > else if (a==1) $display("1");
 > 
 > because "it is possible" that a could be 1'bx or 1'bz, even if it does
 > not actually happen during simulation.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Nov 5 08:01:22 2007

This archive was generated by hypermail 2.1.8 : Mon Nov 05 2007 - 08:01:35 PST