I have both boards working, but I have a problem syncing 100% to the first board...
Presently, PVB2 is the output board and 100MHz master clock originates from it. PVB1 generates the HSync, VSync, and 45MHz pixel clock for PVB1&2. I'm seeing a good picture on PVB2 of a line and circle drawn by PVB1. No scrolling/noise, etc. But the hblank and vblank are not in-sync. Presently there is no way to pass these signals from board to board.
Is there any way to sync the 2 boards by just using the Pixel clock, Hsync and Vsync?
Code: Select all
// update registered outputs
always @(posedge clk) begin
hsync <= HSYNCin; //hstate == SYNC;
vsync <= VSYNCin; //vstate == SYNC;
hblank <= (vstate == VIDEO) & (hstate == VIDEO) & hcount_done;
vblank <= vstate != VIDEO;
end