Add required net clk declaration earlier.