Input/Bidirectional Pads

Thread Starter

abhi6teen

Joined Aug 6, 2008
3
If IBE of input or bidirectional pad is asserted and input data to the pad is 'Z', then what will be the expected output of the pad?
Should it be 'Z' or 'X'?

we are implementing the below logic:
pad_output = IBE & pad_inpt;

but this logic will give pad output as 'X' if input is 'Z'. Is this logic correct or it will later cause problem?

Please assist.
 

Thread Starter

abhi6teen

Joined Aug 6, 2008
3
I want to know that is it correct to implement this logic that if 'Z' is comming as input then output is X for an input pad?
or the output must also be Z in this case?
How it will be affected in both scenarios?
 

roddefig

Joined Apr 29, 2008
149
I want to know that is it correct to implement this logic that if 'Z' is comming as input then output is X for an input pad?
Yes. The issue is that you are performing a logical comparison between a value and a "high impedance" which doesn't make any sense. Thus, the output is undefined. The "z" value is not a value in the sense that a 0 or 1 is, it only defines a driver state. You should never see a "z" as an input to a comparison.
 
Top