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
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -359,3 +359,13 @@ This will:
359
359
- launch the GUI opening gui_final gcd
360
360
361
361
`bazelisk run test/orfs/gcd:gcd_final` run alone would create the `/tmp/gcd` folder and the arguments. The arguments after `--` are forwarded to the `/tmp/gcd/make` script that invokes make with the gcd ORFS project set up in `/tmp/gcd/_main/config.mk`.
362
+
363
+
## Hacking ORFS with `//test/orfs/gcd:gcd_test` test case
364
+
365
+
First create a local work folder with all dependencies for the step that you want to work on:
366
+
367
+
bazelisk run //test/orfs/gcd:gcd_floorplan_deps /tmp/floorplan
368
+
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
+
371
+
make --file ~/OpenROAD-flow-scripts/flow/Makefile --dir /tmp/floorplan/_main DESIGN_CONFIG=config.mk do-floorplan
0 commit comments