bigmessowires
Well-known member
What functions do you need to implement inside that CPLD? 144 macrocells is not much by today's standards, but if it's purely for address decoding it should be more than enough.
You might also consider using a level converter chip and a more modern 3.3V-only CPLD. The XC9500XL series is kind of old and crusty, and not the cheapest if you're worried about costs. The chips run at 3.3V but have 5V tolerant inputs (supposedly), but the 5V tolerance only applies once the supply voltage has reached some minimum level. I use the XC9572XL in the Floppy Emu, and it's the chip Uniserver has managed to fry like 10 times with his experiments. If I were doing it all over again, I'd use some kind of buffer or level converter chip, rather than connecting 5V anything directly to the CPLD.
A chip like the 74LVC244 is a cheap and easy way to convert 5V incoming signals to 3.3V outgoing signals. For 3.3V to 5V, you might actually be able to drive 5V parts directly if the parts you're driving have a Vih threshold below 3.3V. Or use something like a 74LS244 to convert 3.3V to 5V.
One thing that's never been clear to me about accelerator design - how do you deactivate the old CPU, assuming it's not physically removed? Would you use the 68K's bus request input to gain control of the bus, then just never give it back?
You might also consider using a level converter chip and a more modern 3.3V-only CPLD. The XC9500XL series is kind of old and crusty, and not the cheapest if you're worried about costs. The chips run at 3.3V but have 5V tolerant inputs (supposedly), but the 5V tolerance only applies once the supply voltage has reached some minimum level. I use the XC9572XL in the Floppy Emu, and it's the chip Uniserver has managed to fry like 10 times with his experiments. If I were doing it all over again, I'd use some kind of buffer or level converter chip, rather than connecting 5V anything directly to the CPLD.
A chip like the 74LVC244 is a cheap and easy way to convert 5V incoming signals to 3.3V outgoing signals. For 3.3V to 5V, you might actually be able to drive 5V parts directly if the parts you're driving have a Vih threshold below 3.3V. Or use something like a 74LS244 to convert 3.3V to 5V.
One thing that's never been clear to me about accelerator design - how do you deactivate the old CPU, assuming it's not physically removed? Would you use the 68K's bus request input to gain control of the bus, then just never give it back?