Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel-orfs: bump #225

Merged
merged 1 commit into from
Jan 3, 2025
Merged

bazel-orfs: bump #225

merged 1 commit into from
Jan 3, 2025

Conversation

oharboe
Copy link
Collaborator

@oharboe oharboe commented Jan 3, 2025

No description provided.

Signed-off-by: Øyvind Harboe <[email protected]>
@oharboe oharboe mentioned this pull request Jan 3, 2025
@oharboe
Copy link
Collaborator Author

oharboe commented Jan 3, 2025

@jeffng-or @maliberty The ORFS bump worked, but megaboom now fails in global placement.

To be fixed in a subsequent commit in megaboom or in ORFS as the case may be.

 [NesterovSolve] Iter:  460 overflow: 0.224 HPWL: 18593654059
 [NesterovSolve] Iter:  470 overflow: 0.213 HPWL: 17801015611
 [NesterovSolve] Iter:  480 overflow: 0.204 HPWL: 17020286863
 [NesterovSolve] Iter:  490 overflow: 0.163 HPWL: 16820153887
 [NesterovSolve] Iter:  500 overflow: 0.152 HPWL: 45295649114
 [ERROR GPL-0307] RePlAce divergence detected. Re-run with a smaller max_phi_cof value.
 Error: global_place_skip_io.tcl, 12 GPL-0307
 Command exited with non-zero status 1
 Elapsed time: 15:02.62[h:]min:sec. CPU time: user 2180.91 sys 3.70 (242%). Peak memory: 5075960KB.
 INFO: Found 1 target...
 Target //:BoomTile_sweep_parallel failed to build
 Use --verbose_failures to see the command lines of failed build steps.
 INFO: Elapsed time: 5967.334s, Critical Path: 5834.46s
 INFO: 359 processes: 137 remote cache hit, 141 internal, 81 linux-sandbox.
 ERROR: Build did NOT complete successfully
script returned exit code 1

@oharboe oharboe merged commit faac98e into main Jan 3, 2025
2 of 3 checks passed
@oharboe oharboe deleted the bazel-orfs-bump branch January 3, 2025 13:13
@oharboe
Copy link
Collaborator Author

oharboe commented Jan 3, 2025

@jeffng-or @maliberty orfs_sweep() is "a bit" arcane, but it can be used to find a good PLACE_DENSITY

bazel build --jobs=1 --keep_going $(bazel query //:* | grep -E "BoomTile_[0-9]_place"$)
diff --git a/BUILD.bazel b/BUILD.bazel
index 44d6145..2cb62cb 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -447,9 +447,10 @@ orfs_sweep(
     other_variants = OTHER_VARIANTS,
     stage_sources = BOOMTILE_SOURCES,
     sweep = {
-        "base": {
+        "base" if i == 0 else str(i): ({
             "description": "Flattend, timing driven placement",
             "variables": {
+                "PLACE_DENSITY": str(0.45 + i * 0.05),
                 "SYNTH_HIERARCHICAL": "0",
                 "GPL_TIMING_DRIVEN": "1",
                 "SKIP_CTS_REPAIR_TIMING": "0",
@@ -457,7 +458,10 @@ orfs_sweep(
                 "SKIP_LAST_GASP": "0",
             },
             "stage_sources": {"floorplan": ["write_macro_placement"]},
-        },
+        } | ({} if i == 0 else {"previous_stage": {
+            "floorplan": "BoomTile_synth",
+        }}))
+        for i in range(6)
     },
     verilog_files = all_source_files,
 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant