Forum Discussion
Altera_Forum
Honored Contributor
17 years agoYou can answer the question yourself by considering the nature of a bidirectional open drain signals as SDA and SCL. You may want to study the operation of dedicated bidirectional I2C buffers available from Philips/NXP. They basically require special hardware to derive a direction signal. This kind of hardware is not present with any Altera or other vendors FPGA.
In some special cases, you are possibly able to derive the direction information from watching the protocol. In external hardware, if no level translation or buffering is required, a bus switch will do.