You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user/Bazel.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -369,3 +369,32 @@ First create a local work folder with all dependencies for the step that you wan
369
369
Now run make directly with the `/tmp/floorplan/_main` work folder, but be sure to use the `do-` targets that side-step ORFS make dependency checking:
370
370
371
371
make --file ~/OpenROAD-flow-scripts/flow/Makefile --dir /tmp/floorplan/_main DESIGN_CONFIG=config.mk do-floorplan
372
+
373
+
## Whittling down .odb files with deltaDebug.py
374
+
375
+
Global place can take hours to run and to debug an error, the test case has to be whittled down to minutes, or it is probably intractable.
376
+
377
+
Consider an error such as:
378
+
379
+
[ERROR GPL-0305] RePlAce diverged during gradient descent calculation, resulting in an invalid step length (Inf or NaN). This is often caused by numerical instability or high placement density. Consider reducing placement density to potentially resolve the issue.
380
+
381
+
First create a folder with all the dependencies to run global placement:
382
+
383
+
bazelisk run //test/orfs/gcd:gcd_deps /tmp/bug
384
+
385
+
Drop into a shell that has the build environment set up:
386
+
387
+
$ /tmp/bug/make bash
388
+
Makefile Environment /tmp/bug/_main
389
+
390
+
Run up to the failing stage and stop with ctrl-c on the step that you want to run the whittling down on:
This should eventually leave you with a whittled down .odb file. Copy the whittled down .odb file into the correct place for 3_2_place_iop.odb, then create a bug report:
0 commit comments