Functionality and testbench achieved for v_sync_gen