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] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 lucas.vbal
module Reset_Synchronizer (clock, reset_in, reset_out);
2
 
3
        input clock, reset_in;
4
        output reg reset_out;
5
        reg q1;
6
 
7
        always @(posedge clock)
8
        begin
9
                if (reset_in)
10
                        q1 <= 1'b1;
11
                else
12
                        q1 <= 1'b0;
13
        end
14
 
15
        always @(posedge clock)
16
        begin
17
                reset_out <= q1;
18
        end
19
 
20
endmodule

powered by: WebSVN 2.1.0

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