Ryzee119 / OpenXenium

OpenXenium - Open Source Xenium Modchip CPLD replacement project for the Original Xbox
258 stars 48 forks source link

Add LPC Peripheral Support #4

Closed Ernegien closed 3 years ago

Ernegien commented 4 years ago

I believe this is as feature-complete as current master with additional safeguards against polluting non-Xenium IO transactions. For example, this now supports running my serial adapter alongside OpenXenium.

Ryzee119 commented 4 years ago

Havent had a chance to test it yet but changes make sense to me.

nit: tabs and spaces. Looks like I used spaces, so some of the indentation is a bit messed up.

Also should we have COUNT <= 7; here:

https://github.com/Ryzee119/OpenXenium/blob/bd58709ebad780cb7d35e2e59f524995a3a132a7/Firmware/openxenium.vhd#L234-L236

Ernegien commented 4 years ago

Yeah, that's a pretty big screw-up, good catch. Luckily that addition didn't tip the boat and things still fit 😄 Will hopefully fix that and the spaces 🤢 later tonight.

haxar commented 3 years ago

Oh hi, didn't realize this PR would be merged until now. I've been lacking time to work on projects again due to obvious events. I already had tackled this problem without realizing that @Ernegien had a PR open for this.

Just need to point out a few things in the VHDL regarding peripheral (SuperIO) support with OpenXenium on the same LPC bus: