Just a suggestion. As there is no LFRAME signal coming from the Xbox to reset the LPC FSM, you should passively follow along any LPC transaction the Xbox supports instead of resetting the LPC FSM when getting a CYC nibble you don't support. To my knowledge, the MCPX will only generate Memory Read/Write and I/O Read/Write transactions.
Click to expand...
Great suggestion. I did implement the LPC Memory Read/Write and I/O Read/Write on my DE0-Nano platform when I was looking at integrating a TFT LCD, but I did not include it here since I never tested it out with these modchip design.
Very true. Responding to all possible LPC transactions from the MCPX will certainly resolve this as suggested.
Concerning handling LFRAME on 1.6(b), you just need to output the LFRAME signal you regenerated to a high speed, high current driver (I used a SN74LVC125 which has a T_enable of 4.6ns at its worst, I toggle the /OE line, A input is connected to 3.3V). Just make sure to include timing constraint rules that ensure the entire function block that handles LFRAME gets prioritized for speed during placement.
Click to expand...
Most definitely. In that case, a redesign incorporating a current driver is necessary.
For D0, things are a bit easier. Just tie up d0 output from the modchip to a high current driver and enable the driver's output when LPC_RST = 0 (or rising edge) until the end of the first Memory Read transaction. Reset state on LPC_RST. You could just disable it on first CYC reception but doing it after a full memory read cycle, you're kinda sure the d0 grounding only is disabled once a BIOS as started to be read from the modchip. In practice, on bootup, the Xbox will only generates Memory Read transaction so it's really up to you; you don't really need to wait that long to release d0. In my modchip design, I did it on CYC reception and I never had any issue; but in retrospect, I should have done it the way I describe it. It's cleaner.
You could also just leave it grounded as we can assume the MCPX just release the ISA bus connecting the TSOP once it switches over to LPC. But hey, have a little fun!
Click to expand...
Another great suggestion. This was something I was considering but never got implemented.
Most definitely. I am currently in the process.