Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds the transaction and physical layers of an I2C controller #253

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

Aaron-Hartwig
Copy link
Collaborator

This is some early work on the lower layers of an I2C controller block. I'm looking to get this reviewed and integrated a bit prematurely since Nathanael is looking at building out an I2C target block and we'd like to avoid stepping on one another's toes. Given all of this has not been integrated into a design yet and is simulation only, everything is up for grabs if we'd like to make changes. I've begun work on an i2c_core.vhd (should probably be renamed i2c_controller_top.vhd or something) that is going to attempt to link up a register control interface to the low-level blocks. It would present read/write data buffers as a streaming interface that we could hook up to FIFOs/RAMs/etc as we see fit.

Copy link
Collaborator

@nathanaelhuffman nathanaelhuffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to see most of this stuff pushed down 1 folder level into some kind of "controller" folder so that when I bring my target stuff in it will also be in a sub-folder and it will be clear what goes with what.

hdl/ip/vhd/i2c/link_layer/i2c_link_layer.vhd Outdated Show resolved Hide resolved
hdl/ip/vhd/i2c/link_layer/i2c_link_layer.vhd Outdated Show resolved Hide resolved
hdl/ip/vhd/i2c/link_layer/i2c_link_layer.vhd Outdated Show resolved Hide resolved
hdl/ip/vhd/i2c/link_layer/i2c_link_layer.vhd Outdated Show resolved Hide resolved
hdl/ip/vhd/i2c/link_layer/i2c_link_layer.vhd Outdated Show resolved Hide resolved
hdl/ip/vhd/i2c/sims/i2c_cmd_vc.vhd Outdated Show resolved Hide resolved
hdl/ip/vhd/i2c/txn_layer/i2c_txn_layer.vhd Outdated Show resolved Hide resolved
@Aaron-Hartwig Aaron-Hartwig enabled auto-merge (squash) December 11, 2024 22:48
@Aaron-Hartwig Aaron-Hartwig merged commit 6e2c16a into main Dec 11, 2024
6 checks passed
@Aaron-Hartwig Aaron-Hartwig deleted the aaron/i2c-orig branch December 11, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants