Added cable_dly and made resets shorter and synced with clk40