blob: 63128b58f1896a1719132b0a40ff26fb16843ebe [file] [log] [blame]
module top(input set, input reset, input d, output reg q);
always @(set or reset) begin
if(reset) begin
q <= 0;
end else if(set) begin
q <= d;
end
end
endmodule