RE: [sv-bc] Confusion about case statement

From: Steven Sharp <sharp_at_.....>
Date: Thu Oct 16 2008 - 10:13:42 PDT
Shalom has given you the answer.  Since you declared p to be type bit,
it is 2-state.  When you set it to 2'b1x, that is converted to 2-state,
and it becomes 2'b10.  Then {1'bx, p[0]} is 2'bx0, which will never
match 2'b11.

Steven Sharp
sharp@cadence.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Oct 16 10:14:36 2008

This archive was generated by hypermail 2.1.8 : Thu Oct 16 2008 - 10:15:34 PDT