I use the i2c slave ip by platform designer and connect the inout port correctly. But I don't know how to constrain the input_delay and output_delay of i2c_SDA and i2c_SCL.
Could you check if this example helps?
Because i2c signal is very slow, it seems that I can just set the i2c_SDA and i2c_SCL to false path.
Hope the example helps.
For more complete information about compiler optimizations, see our Optimization Notice.