Subversion Repositories ngs

Rev

Rev 88 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88 Rev 91
Line 36... Line 36...
36
                        ctr5 <= ctr5 + 3'd1;
36
                        ctr5 <= ctr5 + 3'd1;
37
                else
37
                else
38
                        ctr5 <= 3'd0;
38
                        ctr5 <= 3'd0;
39
        end
39
        end
40
        //
40
        //
-
 
41
        initial
-
 
42
                ctr128k = 'd0;
41
        always @(posedge clk_24mhz)
43
        always @(posedge clk_24mhz)
42
        begin
44
        begin
43
                if( ctr5[2] )
45
                if( ctr5[2] )
44
                        ctr128k <= ctr128k + 17'd1;
46
                        ctr128k <= ctr128k + 17'd1;
45
        end
47
        end