summaryrefslogtreecommitdiffstats
path: root/part_4/ex17/verilog_files/d_ff.v
blob: 65aec4de954fd47f410c5e90b53ecdfc690f9f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
module d_ff(clk, in, out);

	input clk, in;
	output out;
	wire in;
	reg out;

	always @ (posedge clk)
		out <= in;

endmodule