// flip-flop con reset síncrono always @(posedge clk) begin if(!rstn) q = 1’b0; else q = d; end