File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ module regex_coprocessor_single_bb #(
152
152
S_FETCH_NEXT_CC :
153
153
begin
154
154
next_state = S_EXEC ;
155
- if (cur_cc [0 ] == 1'b0 ) next_cc = memory_data[ 7 : 0 ];
156
- else next_cc = memory_data[15 : 8 ];
155
+ if (cur_cc_pointer [0 ] == 1'b0 ) next_cc = memory_data[ 7 : 0 ];
156
+ else next_cc = memory_data[15 : 8 ];
157
157
end
158
158
S_EXEC :
159
159
begin
@@ -195,18 +195,20 @@ module regex_coprocessor_single_bb #(
195
195
begin
196
196
finish = 1'b1 ;
197
197
accept = 1'b1 ;
198
+ next_state = S_IDLE ;
198
199
end
199
200
S_COMPLETED_WITHOUT_ACCEPTING :
200
201
begin
201
202
finish = 1'b1 ;
203
+ next_state = S_IDLE ;
202
204
end
203
205
endcase
204
206
end
205
207
206
208
// / Moduleinstances
207
209
208
210
arbiter_fixed # (
209
- .DWITDH (MEMORY_ADDR_WIDTH ),
211
+ .DWIDTH (MEMORY_ADDR_WIDTH ),
210
212
.PRIORITY_0 (1 )
211
213
) arbiter_for_memory_contention (
212
214
.in_0_valid ( memory_valid_for_cc ),
You can’t perform that action at this time.
0 commit comments