OpenCores
URL https://opencores.org/ocsvn/2d_game_console/2d_game_console/trunk

Subversion Repositories 2d_game_console

[/] [2d_game_console/] [trunk/] [Processor_Quartus/] [Reset_Synchronizer.v] - Rev 2

Compare with Previous | Blame | View Log

module Reset_Synchronizer (clock, reset_in, reset_out);
 
	input clock, reset_in;
	output reg reset_out;
	reg q1;
 
	always @(posedge clock)
	begin
		if (reset_in)
			q1 <= 1'b1;
		else
			q1 <= 1'b0;
	end
 
	always @(posedge clock)
	begin
		reset_out <= q1;
	end
 
endmodule

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.