Skip to content

Systemverilog implementation of an I2C slave with a simple register map. Multi-byte reads and writes supported with address auto-increment.

License

Notifications You must be signed in to change notification settings

charkster/i2c_slave_fpga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i2c_slave_fpga

Systemverilog implementation of an I2C slave with a simple register map. Multi-byte reads and writes supported with address auto-increment.

I have tasks to emulate the I2C master which allows the testbench to be very high-level (see simulation directory). This slave implementation has been tested with FT4222 and Raspberry Pi I2C masters.

I wanted to make a simple framework for future projects that require an I2C interface. Feel free to take as much or as little of the code as you want.

Added a timer to reset the I2C slave interface if SDA gets stuck low.

About

Systemverilog implementation of an I2C slave with a simple register map. Multi-byte reads and writes supported with address auto-increment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published