Cosmo Hotplug FPGA 1st pass implementation #290
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A fairly decent sized PR, this brings in most of the MVP functionality for the cosmo hotplug FPGA.
There were a couple of tweaks to some of the IP to support making this easier to generate/loop across, but since none of that stuff is used elsewhere really yet I think it's ok to combined here with this PR.
Additionally there were a few things that GHDL complained about so those got cleaned up here as well.
As an overview, this drops in 5 i2c mux endpoints on one i2c bus to the SP, 2 i2c pca I/O expanders to a 2nd i2c bus going to the SP5, and for-generates 10 copies of CEM logic, wiring between the i/o expanders and the CEM slots as required.
This closes #166 (at least with an implementation that we need to test once we have hw!)