Start with the default 720p settings without any fine timing adjustment settings.
In simulation, look at the VTC output. The pixel clock for 720p must be 74.5 MHz, equivalent to a period of 13.4 ns.
By default, the blanking signal rises at the same clock edge the last active video signal (of a frame) falls and falls at the same clock edge the first active video signal (of a frame) rises.
Also by default, the vsync signals rises and falls at the same clock edge as a
rising edge of the sixth rising edge of the hblank signal.
Both behaviors are because only the Vertical timing in Lines count are configured, not in pixel count, defined in the video timing specifications.
But, for whatever reason, you might want to slightly change the configuration to move the Vertical blanking or Sync signals. Use the Horizontal Fine Adjustment Settings to do so.
Start by the blanking and use the following configuration:
Vblank start = 1285 and
Vblank End = 1645Now check the VTC outputs in simulation and regenerate the IP output products.
The blanking signal rises 67 ns after the active out signal falls. This correspond to 5 pixel
clock periods. Taking the time from the last hblank signals of the active frame
(indicating the last line), it corresponds to 1285 pixel clock periods (active size + 5).
The blanking signal falls 67 ns before the active out signal rises. This correspond to 5 pixel
clock periods. Taking the time from the last hblank signals during the vertical
blanking, it corresponds to 1645 pixel clock periods (horizontal frame size - 5).
Now change the Vsync Start and End (0 and 1275):
Then check the output in simulation.
The vsync signal rises when the fifth falling edge of the
hblank signal when the vertical blanking signals occur.
The vsync signal falls 5 clock cycles before the rising edge of a
hblank.
In summary, the Horizontal Fine adjustment allows you to move the Vertical timing signals in clock cycle precision while it is usually defined in Line precision.