File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -281,14 +281,19 @@ module axicb_slv_ooo
281281 // Granted completion is just the one active
282282 assign c_grant = c_valid;
283283
284- always @ ( * ) begin
285- // Read completion path also comprise the ALEN
286- if ( RD_PATH ) begin
284+ if ( RD_PATH ) begin : C_LEN_RD_PATH
285+ always @ ( * ) begin
286+ // Read completion path also comprise the ALEN
287287 if (pipe_valid)
288288 c_len = pipe_out[(1 + AXI_ID_W )+ : 8 ];
289289 else
290290 c_len = '0 ;
291291 end
292+ end else begin : NO_C_LEN_WR_PATH
293+ assign c_len = '0 ;
294+ end
295+
296+ always @ (* ) begin
292297 // For read and write completion path
293298 // pass back the ID and misrouteed flag
294299 if (pipe_valid) begin
@@ -298,7 +303,6 @@ module axicb_slv_ooo
298303 c_id = '0 ;
299304 c_mr = '0 ;
300305 end
301-
302306 end
303307
304308 // OR > 1, Read completion path
You can’t perform that action at this time.
0 commit comments