always @(posedge clk)
    q <= #1 d;