updated v_sync_gen to only count up when h_sync_gen_complete goes high