Commit 78188108 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

hdl/include/acam_model.svh: use 256 ns start period for G-mode testing

parent 8f25c0df
...@@ -119,11 +119,15 @@ module acam_model ...@@ -119,11 +119,15 @@ module acam_model
// //
time t_prev;
always@(posedge DStart) always@(posedge DStart)
if(PuResN && !StartDis && !start_disabled_int) begin if(PuResN && !StartDis && !start_disabled_int) begin
// if(g_verbose)$display("acam::start %d", t); // if(g_verbose)$display("acam::start %d", t);
q_start.put(t); q_start.put(t);
// $display("StartEvt %d [delta %d]\n", t, t-t_prev);
// t_prev = t;
start_disabled_int <= r_StartDisStart; start_disabled_int <= r_StartDisStart;
end end
...@@ -185,8 +189,8 @@ module acam_model ...@@ -185,8 +189,8 @@ module acam_model
else else
break; break;
end end
if(t_stop1 - t_start > 3780) if(t_stop1 - t_start > 8520)
hit = (t_stop1 - t_start) - (128ns/g_rmode_resolution) + rmode_start_offset * 3; hit = (t_stop1 - t_start) - (256ns/g_rmode_resolution) + rmode_start_offset * 3;
else else
hit = t_stop1 - t_start + rmode_start_offset * 3; hit = t_stop1 - t_start + rmode_start_offset * 3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment