This message was posted on behalf of Intel Corporation
Thank you for contacting Intel Customer Support.
You will need to build a custom FPGA config to configure i2c access. Once the i2c is configured, the i2c device can be accessed by spi_xfer as shown in the following doc:
You can also take a look at the fpga sample: