Thank you very much for your help. I'll draw up a schematic of the connection to the programmer so I'm sure I got it all right. As far as I can understand you say that VREF only determines the correct voltage? Which means that I have to supply the 3.3V when programming the chip from elsewhere?
What are your thoughts on the ICs I ordered? Are the just a smaller version of the ones used by the thread starter, or should I order different ones?
iMPACT is what you use for programming. I *think* you can use the JEDEC file Viletim put on his site with it. If iMPACT doesn't take JEDECs (they're a very old generic format) you'll have to reimplement the design in the Project Navigator.
Looks good.
Yes it has to be externally powered since JTAG is typically done in-system; you couldn't expect the programmer to power the entire system the CPLD is in, plus there could be consequences for ignoring the system's power-up specs.
BTW you should really put a 100 nF on *each* VDD pin, not just one for them all (which will do nothing). It should be as close to the pin as possible.
Those are the same package used in the original website.
However, the QFP would be smaller if you made your own board for it.
Can these chips be reprogrammed?
I can see that it's the same type as the old Dreamcast modchips, and I may have a friend who can sell me some of those.
Not quite as sharp as my PVM displays the "standard" mod for the earlier N64s for sure.
I have never seen the old mod in person. But from what I've heard it should be pretty sharp. Of course there are too many N64 games with horrible softness filters, but I think the letters in Sin and Punishment should be pretty sharp. S-video might actually look a bit sharper than this RGB mod, but I didn't compare them directly.
- Your PAL RGB cable can't be used... It's incompatible with everything but the PAL SNES! To get it to work you need to remove the shunt (to ground) 75 ohm resistors because they are dragging the signal down. That's probably the reason for the flickering. With this DAC there isn't a DC offset so you don't need the series 220 uF capacitors and the signal will be a bit cleaner without them.
- Like I said earlier the CPLD logic itself doesn't update pixels synchronously, it will never be truly sharp for this reason alone.
- The output impedance of the R2R DACs are 280 ohms, this more or less correctly divides with the 75 ohm in the display to 0.7 V, but it ignores source termination so there will be some signal reflection. Probably marginal but it's still a possibility.
- R2R DACs in general, and especially your construction on perfboard will have extremely poor noise, ground quality and parasitic figures--all of which blur and distort the signal. I recently built a similar DAC on perfboard and analyzed it and there's some *really* bad signal ringing.
- Yes decoupling every VDD is the correct thing to do.. You should get them closer than in your picture to be more effective, wiring directly to the VDD pin is a good idea. 10 nF is probably technically more effective than 100 nF for such a fast part, but honestly it's not your problem here; better decoupling probably won't improve the picture sharpness, but it will improve the signal noise and improve the CPLD's logical reliability.