The-OpenROAD-Project / megaboom

BSD 3-Clause "New" or "Revised" License
17 stars 4 forks source link

Setting GLOBAL_ROUTE_ARGS in SWEEP variables gets overriden #200

Open jeffng-or opened 2 days ago

jeffng-or commented 2 days ago

In the current SWEEP base configuration, we're setting GLOBAL_ROUTE_ARGS to increase the iterations from 5 to 30, but the GRT run is run with 5 iterations:

Running global_route.tcl, stage 5_1_grt
global_route -congestion_report_file bazel-out/k8-fastbuild/bin/reports/asap7/BoomTile/base/congestion.rpt -congestion_iterations 5 -congestion_report_iter_step 5 -verbose

So, we can't run experiments where we sweep through different iteration values, since it's getting overridden by:

    stage_arguments = {
        "grt": {
            # global route is futile for now, so do a few iterations to
            # get a global route artifact with .odb and .rpt file
            "GLOBAL_ROUTE_ARGS": "-congestion_iterations 5 -congestion_report_iter_step 5 -verbose",
        },
    },
jeffng-or commented 2 days ago

Think https://github.com/The-OpenROAD-Project/megaboom/pull/201 will work