Excuse me ,I wander this too !
In fact, I am interact with I2C bus.
I want to get value 1 when bus is at High 'z'.
how to implement it?
if ( bus = 'z' )
data <= 1;
it can't work in synthesis.
If use a buffer macro, Would anyone give a buffer name for any vendor product?
if (bus ='z ') // This express is not verilog !
if (bus =='z') // however the result of ( but =='z ') will be 'X'
if (bus ==='z ')//but case equality is not supported for synthesis
who can solve this problem? thank you