@@ -310,8 +310,8 @@ module fpnew_top #(
310
310
logic [NUM_OPGROUPS - 1 : 0 ] in_opgrp_ready, out_opgrp_valid, out_opgrp_ready, out_opgrp_ext, opgrp_busy;
311
311
rr_stacked_t [NUM_OPGROUPS - 1 : 0 ] out_opgrp_data;
312
312
313
- localparam int REP = RedundancyFeatures.TripplicateRepetition ? 3 : 1 ;
314
- logic [REP - 1 : 0 ] out_rr_lock;
313
+ localparam int LockRepetition = RedundancyFeatures.TripplicateRepetition ? 3 : 1 ;
314
+ logic [LockRepetition - 1 : 0 ] out_rr_lock;
315
315
316
316
logic [NUM_FORMATS - 1 : 0 ][NUM_OPERANDS - 1 : 0 ] is_boxed;
317
317
@@ -372,7 +372,8 @@ module fpnew_top #(
372
372
.TagType ( submodules_stacked_t ),
373
373
.TrueSIMDClass ( TrueSIMDClass ),
374
374
.CompressedVecCmpResult ( CompressedVecCmpResult ),
375
- .StochasticRndImplementation ( StochasticRndImplementation )
375
+ .StochasticRndImplementation ( StochasticRndImplementation ),
376
+ .LockRepetition (LockRepetition)
376
377
) i_opgroup_block (
377
378
.clk_i,
378
379
.rst_ni,
@@ -412,6 +413,11 @@ module fpnew_top #(
412
413
logic out_redundant_valid, out_redundant_ready;
413
414
rr_stacked_t out_redundant_data;
414
415
416
+ logic [LockRepetition- 1 : 0 ] flush;
417
+ for (genvar r = 0 ; r < LockRepetition; r++ ) begin : gen_rr_flush
418
+ assign flush[r] = flush_i;
419
+ end
420
+
415
421
// Round-Robin arbiter to decide which result to use
416
422
rr_arb_tree_lock # (
417
423
.NumIn ( NUM_OPGROUPS ),
@@ -422,7 +428,7 @@ module fpnew_top #(
422
428
) i_arbiter (
423
429
.clk_i,
424
430
.rst_ni,
425
- .flush_i,
431
+ .flush_i ( flush ) ,
426
432
.rr_i ( '0 ),
427
433
.lock_rr_i ( out_rr_lock ),
428
434
.req_i ( out_opgrp_valid ),
0 commit comments