GitHub repository: https://github.com/alexforencich/cocotbext-i2c
I2C simulation models for cocotb.
Installation from pip (release version, stable):
$ pip install cocotbext-i2c
Installation from git (latest development version, potentially unstable):
$ pip install https://github.com/alexforencich/cocotbext-i2c/archive/master.zip
Installation for active development:
$ git clone https://github.com/alexforencich/cocotbext-i2c
$ pip install -e cocotbext-i2c
See the tests
directory and verilog-i2c for complete testbenches using these modules.