Skip to content

Commit 75e8676

Browse files
Update alloc_and_load_rr_indexed_data.cpp
1 parent 03556c6 commit 75e8676

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/librrgraph/src/utils/alloc_and_load_rr_indexed_data.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ static void load_rr_indexed_data_base_costs(const RRGraphView& rr_graph,
350350

351351
rr_indexed_data[RRIndexedDataId(SOURCE_COST_INDEX)].base_cost = delay_normalization_fac;
352352
rr_indexed_data[RRIndexedDataId(SINK_COST_INDEX)].base_cost = 0.;
353+
rr_indexed_data[RRIndexedDataId(MEDIUM_COST_INDEX)].base_cost = delay_normalization_fac;
353354
rr_indexed_data[RRIndexedDataId(OPIN_COST_INDEX)].base_cost = delay_normalization_fac;
354355
// If the SPEC_CPU flag is set, we need to make sure that all floating point numbers are perfectly representable in
355356
// binary format. Thus, we changed the IPIN_COST_INDEX base cost from 0.95 to 0.875.

0 commit comments

Comments
 (0)