ID:14897 The bidirectional pin "<name>" is fed by an output buffer and regular tri-stated logic

CAUSE: The specified bidirectional pin has fan-ins from an output buffer and regular tri-stated logic. This is illegal. This can happen, for example, if a bidirectional I/O primitive is connected to the a bidirectional pin and the same bidirectional pin is also connected to other tri-stated logic. So, the following usage results in this error.
     input i1, i2, oe1, oe2; 
    output o1; 
    inout bidir; 
    alt_iobuf my_iobuf (.i(i1), .oe(oe1), .o(o1), .io(bidir)); 
    assign bidir  = oe2 ? i2 : 1'bz; 
    
            

ACTION: Remove the output buffer or tri-state logic or combine the two in one statement.