foft wrote: Tue Dec 06, 2022 10:04 pm
Reading the manual for the 68020 it specifies the circuit for FPU nCS in Figure 9-3. @Badwolf, why don't you use that exact logic in the CPLD? Perhaps worth a try? It has 3 terms using AS, CLK and CLKD, I only see AS in the github.
Is that the GAL example equation for 33MHz operation?
If so, yes, I've tried that, but it seemed redundant since it was for clocked GALs. I didn't get any benefit from it. Instead I based mine of Stephen's TF534 logic since that runs in a CPLD at 50MHz.
Bear in mind I only experienced one board that had absolute FPU failure and I (erroneously) put that down to bad socket. I've had no need (and no way to test) different FPUCS logic. Ultimately Exxos adding VCC capacitance got that board to work, BTW.
Edit: Also why mask dsack by fpucs? Aren't all DSACKs meant to be on a single bus, so any device can pull it low (active) - and the fpu will already only pull it low when selected. Might be better directly rather than via the CPLD, adding latency.
I've tried both (see previous picture with DSACK bodge wires and tristate DSACK[x] driver from the CPLC), but since I planned to run the FPU more slowly than the CPU I figured this would be a prudent modification to the logic to stop the FPU stomping on any following non-FPU cycle.
Like I say, only one of my builds has had an FPU problem and I found no solution in logic.
BW