File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ module snitch_sequencer import snitch_pkg::*; #(
445445
446446 if (core_frep_valid && core_frep_ready) begin
447447 nest_cfg_d[loop_cnt_d].is_streamctl = inp_qdata_op_i[31 ];
448- nest_cfg_d[loop_cnt_d].max_inst = inp_qdata_op_i[20 + : DepthBits];
448+ nest_cfg_d[loop_cnt_d].max_inst = inp_qdata_op_i[20 + : DepthBits] - 1 ;
449449 nest_cfg_d[loop_cnt_d].stagger_max = inp_qdata_op_i[14 : 12 ];
450450 nest_cfg_d[loop_cnt_d].stagger_mask = inp_qdata_op_i[11 : 8 ];
451451 nest_cfg_d[loop_cnt_d].max_iter = inp_qdata_arga_i[LoopIterBits- 1 : 0 ];
@@ -717,7 +717,7 @@ module snitch_sequencer import snitch_pkg::*; #(
717717 // pragma translate_off
718718 assign trace_port_o.source = snitch_pkg :: SrcFpuSeq;
719719 assign trace_port_o.cbuf_push = core_frep_valid && core_frep_ready;
720- assign trace_port_o.max_inst = inp_qdata_op_i[20 + : DepthBits];
720+ assign trace_port_o.max_inst = inp_qdata_op_i[20 + : DepthBits] - 1 ;
721721 assign trace_port_o.max_iter = inp_qdata_arga_i[LoopIterBits- 1 : 0 ];
722722 assign trace_port_o.stg_max = inp_qdata_op_i[14 : 12 ];
723723 assign trace_port_o.stg_mask = inp_qdata_op_i[11 : 8 ];
You can’t perform that action at this time.
0 commit comments