anoop12
Member level 5

Hi,
For I2C, both scl and sda are bi-directional.
For the RTL of i2c master, is it advisible to declare sda as "inout" or as separate ports as "sda_in", "sda_out" and "sda_output_en".
Is this to avoid use of tri state buffer on SoC as they are dificult for timing analysis?
Thanks
For I2C, both scl and sda are bi-directional.
For the RTL of i2c master, is it advisible to declare sda as "inout" or as separate ports as "sda_in", "sda_out" and "sda_output_en".
Is this to avoid use of tri state buffer on SoC as they are dificult for timing analysis?
Thanks