URL
https://opencores.org/ocsvn/ha1588/ha1588/trunk
Subversion Repositories ha1588
Compare Revisions
- This comparison shows the changes necessary to convert path
/ha1588/trunk/sim
- from Rev 46 to Rev 47
- ↔ Reverse comparison
Rev 46 → Rev 47
/rtc/rtc_timer_tb.v
130,13 → 130,24
// fine tune time difference by 0 |
adj_ld = 1'b1; |
adj_ld_data = 32'd100; |
period_adj[39:32] = 8'hfb; // ns // negative change |
period_adj[39:32] = 8'hfb; // ns // -5 negative change |
period_adj[31: 0] = 32'h00000000; // ns fraction |
@(posedge clk); |
adj_ld = 1'b0; |
|
for (i=0; i<300; i=i+1) @(posedge clk); |
|
for (i=0; i<20; i=i+1) @(posedge clk); |
// fine tune time difference by 0 |
adj_ld = 1'b1; |
adj_ld_data = 32'd100; |
period_adj[39:32] = 8'hf0; // ns // -16 negative change |
period_adj[31: 0] = 32'h00000000; // ns fraction |
@(posedge clk); |
adj_ld = 1'b0; |
|
for (i=0; i<300; i=i+1) @(posedge clk); |
|
for (i=0; i<20; i=i+1) @(posedge clk); |
// fine tune frequency difference |
period_ld = 1'b1; |