|
@@ -691,7 +691,10 @@ module motor_engine #(
|
|
|
// wait at most AXIS_COUNT candidate clocks; the independent
|
|
// wait at most AXIS_COUNT candidate clocks; the independent
|
|
|
// fast STEP/limit scan never waits for descriptor selection.
|
|
// fast STEP/limit scan never waits for descriptor selection.
|
|
|
begin
|
|
begin
|
|
|
- fx_round<=fx_round==AXIS_COUNT-1 ? 0 : fx_round+1'b1;
|
|
|
|
|
|
|
+ if(!ctl_valid && qc_state==QC_IDLE && !qw_submit &&
|
|
|
|
|
+ su_axis>=AXIS_COUNT && !startup_seek &&
|
|
|
|
|
+ (cs_state==0 || cs_state==3 || seek_context))
|
|
|
|
|
+ fx_round<=fx_round==AXIS_COUNT-1 ? 0 : fx_round+1'b1;
|
|
|
if (ax_load_ready[fx_candidate] && !ax_seg_load[fx_candidate] && !queue_paused_r[fx_candidate] && !ctl_valid &&
|
|
if (ax_load_ready[fx_candidate] && !ax_seg_load[fx_candidate] && !queue_paused_r[fx_candidate] && !ctl_valid &&
|
|
|
(cs_state==0 || (cs_state==3 && cs_start_mask[fx_candidate]) || (seek_context && cs_mask[fx_candidate])) && qc_state==QC_IDLE && !qw_submit &&
|
|
(cs_state==0 || (cs_state==3 && cs_start_mask[fx_candidate]) || (seek_context && cs_mask[fx_candidate])) && qc_state==QC_IDLE && !qw_submit &&
|
|
|
su_axis>=AXIS_COUNT && !startup_seek) begin
|
|
su_axis>=AXIS_COUNT && !startup_seek) begin
|