On a sunny day (Fri, 27 Oct 2006 19:56:08 +0200) it happened "petrus
bitbyter"
Hi, Petrus, yes, I used a Spartan2-200 FPGA, and 2 Philips ADC converters,
lemme look (long time ago) TDA8708 8 bit flash.
I did the BW only, but worked out the color, you can sample Y at any speed
you like, and use a 2 to 1 CMOS 4053 and sample U and V sequentially at
half
that speed each.
If you sample low freq you just get lower resolution ;-)
Then you need 3 DA 8 bit converters, and I used r2r ladders.
I used the FPGA dual port block RAMS (these allow read and write at the
same
time), to store a line in 64 uS, and then clock it out twice at double
speed,
would have to look up the Verilog code.
The most challenging was to do a digital PLL 2x to multiply the H.
(Jitter was a problem especially if fed from a VCR source).
It also worked as a timebase corrector, but not 100% good, did not finish
it.
Had a sync separator IC first, but then just clamped the Y bottom sync
with
a simple diode and did the sync slicing in Verilog.
Was just an experiment on the Digilab board.
Doing it in HDL makes things more simple to change.
When using a TV signal as source, as the OP does, then 1024 samples per
line
should be enough.
That fits nicely in a Spartan2 block-RAM.
I have tried several sample frequencies and configurations.
You need some input filters if you think you have high frequency
components in
the input, and a low pass after the DA (R2R with high R is low pass enough
;-).
1024 samples with 15625 Hz gives you 16MHz sample freq, and limits Fmax
video to
below 8 MHz, filter at say 6.
If you use 2 4 bit block RAMs you get 8 bits 1024 sample RAMS to play
with.
I just looked up some HDL code I wrote, seems I did it that way.
Actually I also used color in the timebase corrector, with composite in
and out
with this setup... color is tricky as your time resolution becomes
critical
(subcarrier phase), it is always once clock, even as I used the internal
4x FPGA
clock multiplier to go to 200MHz...
PAL is forgiving...
Finally played the DVDs in the PC

.
It is a fun project, maybe I should play with it again some day, but all
went digital....
satellite...
If you need code or diagrams maybe I can scan something in.