working v_sync_gen with test bench.