asdff.v
326 Bytes
module asdff (out, in, clk, reset);
//synopsys template
parameter width = 1, reset_value = 0;
output [width-1:0] out;
input [width-1:0] in;
input clk;
input reset;
reg [width-1:0] out;
always @(posedge clk)
begin
if(reset == 1'b0)
out <= {width{reset_value}};
else
out <= in;
end
endmodule