URL
https://opencores.org/ocsvn/rtcclock/rtcclock/trunk
Subversion Repositories rtcclock
Compare Revisions
- This comparison shows the changes necessary to convert path
/rtcclock
- from Rev 9 to Rev 10
- ↔ Reverse comparison
Rev 9 → Rev 10
/trunk/rtl/rtclight.v
72,8 → 72,10
assign al_sel = ((i_wb_cyc)&&(i_wb_stb)&&(i_wb_addr[2:0]==3'b011)); |
assign sp_sel = ((i_wb_cyc)&&(i_wb_stb)&&(i_wb_addr[2:0]==3'b100)); |
|
reg ck_carry; |
reg [39:0] ck_counter; |
reg ck_carry; |
initial ck_carry = 1'b0; |
initial ck_counter = 40'h00; |
always @(posedge i_clk) |
{ ck_carry, ck_counter } <= ck_counter + { 8'h00, ckspeed }; |
|