I2C master/slave RTL and bench model code