Aphraton
Your first question is: Which of two above acts really helped? Answer: The settings actually helped. These blocks work equally well inside the QSYS module or outside in block form. The file I attached to Message# 5 above shows them in block form.
Your second question: Do I mean that the NTSC default setting can result in incorrect settings? Yes. The PDF attached in# 5 spells out the sequence of settings and the values I used to get NTSC 720X480 color bars using the Altera IP. You need to send 8 bit data or 10 bit data depending on your encoder. My encoder is set to 8 bits in this example. The tricky value was the number of lines. Changing it even one or two in any direction causes very bad vertical sync problems. (which, in hind-sight, it should)
gwall (message#6) correctly mentions that the first step is to turn color bars on via I2C in the video encoder. They should be perfect on an o-scope or vectorscope or waveform monitor for 75% color bars. The DAC current setting resistor on the ADI part I used needed to be 4.12K with a 300 ohm load going into the 2:1 gain op amp. That LPF needs to move between the output of the encoder and the amp to remove the A/D noise or you can use the ADI app note which indicates a cap/inductor/cap filter in discretes. The I2C address and data to set up the ADI encoder is included in the little PDF I posted. NIOS is only used to set up the OpenCores I2C and send out the initial data.
After you get the color bars to show up correctly you only need to switch some I2C registers to allow the 27MHZ YUV data to drive the encoder at 75%. The two match nearly exactly but not 100%. The Altera generated color bars are 3% lower in luma than the ADI generated data and they have smoother transitions between the color bars.
I use a VTM-3100 vectorscope and took some pictures with my cell phone. I attached images from both cases: 1. ADV7393 internally generated colorbars and 2. ADV7393 generating color bars from the 27MHZ YUV stream from the Altera IP. These two groups of photos show the difference in the colorbars that are internally generated and those that are generated using the Altera IP.
There is also a modified encoder schematic showing the LPF. This does not use the high current output and low impedance matching that ADI recommends but saves a lot of power in the DAC output.
I apologize for not getting back sooner. My email was killing the messages from this forum and I have had a busy time.
LRP