// SPDX-License-Identifier: MIT `timescale 1ns/1ps module tb; logic clk=0,rst=0,d=1,q=1; always @(posedge clk or posedge rst) if(rst) q<=0; else q<=d; initial begin #2; rst=1; #1; $display("OBS reset_q=%b",q); #1; rst=0; #1; clk=1; #1; $display("OBS clock_q=%b",q); $finish; end endmodule