what would be the output of assign if input is x

Status
Not open for further replies.

SSINGHAL

Newbie level 3
Joined
Dec 16, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,304
Hi,


I need some information:-

assign a = (b) ? 1'b1:1'b0;

What will be the output of this :

1) if b =1'bx ;

2) if b = 1'bz;

Regards,
SSINGHAL
 

poluekt how would you prove the case when b = 1'bz

please explain
 

how would you prove the case when b = 1'bz

It's exactly specified in Table 5-21—Ambiguous condition results for conditional operator of IEEE Std 1364-2005.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…