OpenCores
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 39 to Rev 41
    Reverse comparison

Rev 39 → Rev 41

/rtc/rtc_timer_tb.v
118,7 → 118,7
for (i=0; i<20; i=i+1) @(posedge clk);
// load time ToD values
time_ld = 1'b1;
time_reg_ns_in[37:8] = 30'd999999990; // ns
time_reg_ns_in[37:8] = 30'd999999900; // ns
time_reg_ns_in[ 7:0] = 8'h00; // ns fraction
time_reg_sec_in = 48'd10;
@(posedge clk);
163,9 → 163,11
time_reg_sec__d1 <= time_reg_sec_;
time_reg_ns__d1 <= time_reg_ns_;
end
wire [29:0] time_reg_sec__delta = time_reg_sec_-time_reg_sec__d1;
wire [29:0] time_reg_ns__delta = (time_reg_sec__d1!=time_reg_sec_)?
(DUT.time_acc_modulo/256-(time_reg_ns__d1-time_reg_ns_)):
(time_reg_ns_-time_reg_ns__d1);
wire [37:0] time_acc_30n_08f_pre = DUT.time_acc_30n_08f_pre_pos - DUT.time_acc_30n_08f_pre_neg;
 
// Delta-Sigma circuit watchpoint
wire [23:0] time_adj_08n_32f_24f = rtc_timer_tb.DUT.time_adj_08n_32f[23:0];
/rtc/wave.do
28,9 → 28,18
add wave -noupdate -format Literal /rtc_timer_tb/DUT/time_adj_08n_32f
add wave -noupdate -format Literal /rtc_timer_tb/DUT/time_adj_08n_08f
add wave -noupdate -format Literal /rtc_timer_tb/DUT/time_adj_00n_24f
add wave -noupdate -divider {New Divider}
add wave -noupdate -format Literal /rtc_timer_tb/DUT/time_acc_30n_08f_pre_pos
add wave -noupdate -format Literal /rtc_timer_tb/DUT/time_acc_30n_08f_pre_neg
add wave -noupdate -format Literal /rtc_timer_tb/DUT/time_acc_modulo
add wave -noupdate -format Logic /rtc_timer_tb/DUT/time_acc_48s_inc
add wave -noupdate -format Literal /rtc_timer_tb/DUT/time_acc_48s
add wave -noupdate -format Literal /rtc_timer_tb/DUT/time_acc_30n_08f
add wave -noupdate -divider {WATCHPOINT Signals}
add wave -noupdate -divider {ns and sec}
add wave -noupdate -format Literal -radix unsigned /rtc_timer_tb/time_reg_sec__delta
add wave -noupdate -format Literal -radix unsigned /rtc_timer_tb/time_reg_ns__delta
add wave -noupdate -format Literal /rtc_timer_tb/time_acc_30n_08f_pre
add wave -noupdate -format Literal -radix unsigned /rtc_timer_tb/time_reg_sec_in_
add wave -noupdate -format Literal -radix unsigned /rtc_timer_tb/time_reg_ns_in_
add wave -noupdate -format Literal -radix unsigned /rtc_timer_tb/time_reg_sec_
47,7 → 56,7
add wave -noupdate -divider {New Divider}
add wave -noupdate -divider {New Divider}
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 1} {476 ns} 0}
WaveRestoreCursors {{Cursor 1} {620 ns} 0}
configure wave -namecolwidth 222
configure wave -valuecolwidth 100
configure wave -justifyvalue left
62,4 → 71,4
configure wave -timeline 0
configure wave -timelineunits ns
update
WaveRestoreZoom {0 ns} {2100 ns}
WaveRestoreZoom {484 ns} {568 ns}

powered by: WebSVN 2.1.0

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