Electronic – Building a VGA circuit

dacimage-sensormicrocontrollervga

I am building an 8 bit VGA circuit and have 3 choices. One is to use a simple resistor network to convert digital to analog. The second is to use an op-amp. The third way to do this is to use a device like this CS4344. (This isn't suitable because of the frequency, but I am still looking for a low cost DAC.) I am looking for a cost effective but accurate way to do this. I know the pure resistor solution is probably the cheapest but the issue is it requires a lot of digital pins. However with a serial DAC I can use fewer pins. The data rate will be about 24Mhz at 30fps (it will be 640×480 resolution.) What is a good way to do this?

If I just use resistors in parallel, how do I impedance match for 75 ohm? Is this necessary or is it not needed?

Best Answer

Just have a look in the Basys2 manual (p.8, Fig 13) how it is done there. (The Basys2 board is a starter kit for the Spartan 3):

enter image description here

For simple applications with only 3bits for R and G and 2bits for B a simple resistor network seems to be good enough.

BTW: I don't understand your concern about "require[ing] lot of digital pins" when your FPGA has probably more then hundred digital IOs.