Move clk_period declaration