Skip to content

Commit a090441

Browse files
committed
Merge remote-tracking branch 'private/master' into secure-dpl-negotiation-default
2 parents bf5270c + a5ff7ef commit a090441

235 files changed

Lines changed: 295506 additions & 16859 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/github-actions-stale.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
actions: write
1919

2020
steps:
21-
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
21+
- uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0
2222
with:
2323
days-before-stale: 60
2424
days-before-close: 21

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ flow/platforms/*
6363
!flow/platforms/sky130io
6464
!flow/platforms/sky130ram
6565
!flow/platforms/gf180
66+
!flow/platforms/gt2n
6667
flow/private
6768

6869
# network

‎MODULE.bazel‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@ git_override(
3333
remote = "https://github.com/The-OpenROAD-Project/qt_bazel_prebuilts",
3434
)
3535

36-
bazel_dep(name = "bazel-orfs", dev_dependency = True)
36+
# Exception to the dev-only rule above: flow/BUILD has
37+
# load("@bazel-orfs//:openroad.bzl", "orfs_pdk"), so @bazel-orfs must stay
38+
# visible from @orfs even at non-root consumption; a dev-only bazel_dep
39+
# suppresses that visibility. Only the git_override below (implicitly
40+
# root-only) is dev-conditional — at non-root the consumer's own bazel-orfs
41+
# satisfies this dep. When @orfs is root, dev deps are honoured anyway, so
42+
# the resolved module graph is unchanged.
43+
bazel_dep(name = "bazel-orfs", version = "0.0.1")
44+
3745
bazel_dep(name = "bazel-orfs-verilog", dev_dependency = True)
3846

3947
BAZEL_ORFS_COMMIT = "6ebadeb4be5c9ada103081c9a5e668c014126616"

‎build_openroad.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ __local_build()
340340
DEPS_PREFIX_ARG="-deps-prefixes-file=${DEPS_PREFIX_ARG}"
341341
fi
342342
eval ${NICE} ./tools/OpenROAD/etc/Build.sh \
343+
-cmake-build \
343344
-dir="$DIR/tools/OpenROAD/build" \
344345
-threads=${PROC} \
345346
-cmake=\'${OPENROAD_APP_ARGS}\' \

‎docs/conf.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"sphinx_copybutton",
3838
"myst_parser",
3939
"sphinxcontrib.mermaid",
40+
"sphinx_llm.txt",
4041
]
4142

4243
myst_enable_extensions = [

‎docs/requirements.in‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ myst-parser
55
sphinx-book-theme
66
sphinx-copybutton
77
sphinxcontrib-mermaid
8+
sphinx-llm

‎docs/requirements_lock.txt‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ docutils==0.19 \
180180
# myst-parser
181181
# pydata-sphinx-theme
182182
# sphinx
183+
# sphinx-markdown-builder
183184
exceptiongroup==1.3.1 \
184185
--hash=sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219 \
185186
--hash=sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598
@@ -432,6 +433,8 @@ sphinx==5.3.0 \
432433
# sphinx-book-theme
433434
# sphinx-copybutton
434435
# sphinx-external-toc
436+
# sphinx-llm
437+
# sphinx-markdown-builder
435438
# sphinxcontrib-mermaid
436439
sphinx-autobuild==2024.10.3 \
437440
--hash=sha256:158e16c36f9d633e613c9aaf81c19b0fc458ca78b112533b20dafcda430d60fa \
@@ -449,6 +452,14 @@ sphinx-external-toc==0.3.1 \
449452
--hash=sha256:9c8ea9980ea0e57bf3ce98f6a400f9b69eb1df808f7dd796c9c8cc1873d8b355 \
450453
--hash=sha256:cd93c1e7599327b2a728db12d9819068ce719c4b037ffc62e47f20ffb6310fb3
451454
# via -r docs/requirements.in
455+
sphinx-llm==0.4.1 \
456+
--hash=sha256:0789185dcbbecc00b5e25aa3db6342b98dad6a9def96088a9e50fa0203fda090 \
457+
--hash=sha256:d7c8ee2a6335636b628ea2b26cd1e1dee1f0cf9c40fe51b20f201af1c05b95f5
458+
# via -r docs/requirements.in
459+
sphinx-markdown-builder==0.6.10 \
460+
--hash=sha256:16d86738b9ac69fcbc86e373c31c6402c30af1fa8d98d0f62cc5f38bfe5fc26e \
461+
--hash=sha256:cd5acf88d52ea0146a712fd557404f10326dff3428a78ba928e59b1727fd4a86
462+
# via sphinx-llm
452463
sphinxcontrib-applehelp==2.0.0 \
453464
--hash=sha256:2f29ef331735ce958efa4734873f084941970894c6090408b079c61b2e1c06d1 \
454465
--hash=sha256:4cd3f0ec4ac5dd9c17ec65e9ab272c9b867ea77425228e68ecf08d6b28ddbdb5
@@ -481,6 +492,10 @@ starlette==1.2.0 \
481492
--hash=sha256:36e0c76ac59157e75dc4b3bdeafba97fb04eaf1878045f15dbef666a6f092ed7 \
482493
--hash=sha256:3c5a6b23fff42492914e93890bb80cbfea72dbf37de268eec06185d62a4ca553
483494
# via sphinx-autobuild
495+
tabulate==0.10.0 \
496+
--hash=sha256:e2cfde8f79420f6deeffdeda9aaec3b6bc5abce947655d17ac662b126e48a60d \
497+
--hash=sha256:f0b0622e567335c8fabaaa659f1b33bcb6ddfe2e496071b743aa113f8774f2d3
498+
# via sphinx-markdown-builder
484499
typing-extensions==4.15.0 \
485500
--hash=sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466 \
486501
--hash=sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548

‎docs/user/FlowVariables.md‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ configuration file.
144144
| <a name="DPO_MAX_DISPLACEMENT"></a>DPO_MAX_DISPLACEMENT| Specifies how far an instance can be moved when optimizing.| 5 1|
145145
| <a name="EARLY_SIZING_CAP_RATIO"></a>EARLY_SIZING_CAP_RATIO| Ratio between the input pin capacitance and the output pin load during initial gate sizing.| |
146146
| <a name="ENABLE_DPO"></a>ENABLE_DPO| Enable detail placement with improve_placement feature.| 1|
147+
| <a name="ENABLE_PLACE_REPAIR_TIMING"></a>ENABLE_PLACE_REPAIR_TIMING| Run repair_timing during the placement resize stage using placement parasitics. Disabled by default; pre-CTS setup/hold repair is skipped unless this is set to 1.| 0|
147148
| <a name="ENABLE_RESISTANCE_AWARE"></a>ENABLE_RESISTANCE_AWARE| Passed as -resistance_aware to global_route.| |
148149
| <a name="FASTROUTE_TCL"></a>FASTROUTE_TCL| Specifies a Tcl script with commands to run before FastRoute.| |
149150
| <a name="FILL_CELLS"></a>FILL_CELLS| Fill cells are used to fill empty sites. If not set or empty, fill cell insertion is skipped.| |
@@ -156,9 +157,11 @@ configuration file.
156157
| <a name="GDS_FILES"></a>GDS_FILES| Path to platform GDS files.| |
157158
| <a name="GENERATE_ARTIFACTS_ON_FAILURE"></a>GENERATE_ARTIFACTS_ON_FAILURE| For instance Bazel needs artifacts (.odb and .rpt files) on a failure to allow the user to save hours on re-running the failed step locally, but when working with a Makefile flow, it is more natural to fail the step and leave the user to manually inspect the logs and artifacts directly via the file system. Set to 1 to change the behavior to generate artifacts upon failure to e.g. do a global route. The exit code will still be non-zero on all other failures that aren't covered by the "useful to inspect the artifacts on failure" use-case. Example: just like detailed routing, a global route that fails with congestion, is not a build failure(as in exit code non-zero), it is a successful(as in zero exit code) global route that produce reports detailing the problem. Detailed route will not proceed, if there is global routing congestion This allows build systems, such as bazel, to create artifacts for global and detailed route, even if the operation had problems, without having know about the semantics between global and detailed route. Considering that global and detailed route can run for a long time and use a lot of memory, this allows inspecting results on a laptop for a build that ran on a server.| 0|
158159
| <a name="GLOBAL_PLACEMENT_ARGS"></a>GLOBAL_PLACEMENT_ARGS| Use additional tuning parameters during global placement other than default args defined in global_place.tcl.| |
159-
| <a name="GLOBAL_ROUTE_ARGS"></a>GLOBAL_ROUTE_ARGS| Replaces default arguments for global route.| -congestion_iterations 30 -congestion_report_iter_step 5 -verbose|
160+
| <a name="GLOBAL_ROUTE_ARGS"></a>GLOBAL_ROUTE_ARGS| Replaces default arguments for global route. The -congestion_iterations default is set by the flow (30 for FastRoute, 10 for CUGR); add -congestion_iterations here to override it.| -congestion_report_iter_step 5 -verbose|
161+
| <a name="GLOBAL_ROUTE_USE_CUGR"></a>GLOBAL_ROUTE_USE_CUGR| Passed as -use_cugr to global_route. Uses CUGR as the global routing solver instead of the default FastRoute solver. NOTE: CUGR is not ready for production.| 0|
160162
| <a name="GND_NETS_VOLTAGES"></a>GND_NETS_VOLTAGES| Used for IR Drop calculation.| |
161163
| <a name="GPL_KEEP_OVERFLOW"></a>GPL_KEEP_OVERFLOW| Passed as -keep_resize_below_overflow to global_placement. Only used when GPL_TIMING_DRIVEN is enabled.| |
164+
| <a name="GPL_RANDOM_SEED"></a>GPL_RANDOM_SEED| Specifies a random seed for global placement. Useful for perturbation studies.| |
162165
| <a name="GPL_ROUTABILITY_DRIVEN"></a>GPL_ROUTABILITY_DRIVEN| Specifies whether the placer should use routability driven placement.| 1|
163166
| <a name="GPL_TIMING_DRIVEN"></a>GPL_TIMING_DRIVEN| Specifies whether the placer should use timing driven placement.| 1|
164167
| <a name="GUI_TIMING"></a>GUI_TIMING| Load timing information when opening GUI. For large designs, this can be quite time consuming. Useful to disable when investigating non-timing aspects like floorplan, placement, routing, etc.| 1|
@@ -195,6 +198,7 @@ configuration file.
195198
| <a name="MIN_ROUTING_LAYER"></a>MIN_ROUTING_LAYER| The lowest metal layer name to be used in routing.| |
196199
| <a name="NUM_CORES"></a>NUM_CORES| Passed to `openroad -threads $(NUM_CORES)`, defaults to numbers of cores in system as determined by system specific code in Makefile, `nproc` is tried first. OpenROAD does not limit itself to this number of cores across OpenROAD running instances, which can lead to overprovisioning in contexts such as bazel-orfs where there could be many routing, or place jobs running at the same time.| |
197200
| <a name="OPENROAD_HIERARCHICAL"></a>OPENROAD_HIERARCHICAL| Feature toggle to enable to run OpenROAD in hierarchical mode, otherwise considered flat. Will eventually be the default and this option will be retired.| 0|
201+
| <a name="OPT_POST_GRT_WNS"></a>OPT_POST_GRT_WNS| Optimize WNS after global routing by additional repair_timing that uses VT swap and wire rerouting only to minimize placement and routing disturbance| 1|
198202
| <a name="OR_K"></a>OR_K| Passed as -or_k to detailed routing.| |
199203
| <a name="OR_SEED"></a>OR_SEED| Passed as -or_seed to detailed routing.| |
200204
| <a name="PDN_TCL"></a>PDN_TCL| File path which has a set of power grid policies used by pdn to be applied to the design, such as layers to use, stripe width and spacing to generate the actual metal straps.| |
@@ -217,7 +221,6 @@ configuration file.
217221
| <a name="POST_IO_PLACEMENT_TCL"></a>POST_IO_PLACEMENT_TCL| Specifies a Tcl script with commands to run after IO placement.| |
218222
| <a name="POST_MACRO_PLACE_TCL"></a>POST_MACRO_PLACE_TCL| Specifies a Tcl script with commands to run after macro placement.| |
219223
| <a name="POST_PDN_TCL"></a>POST_PDN_TCL| Specifies a Tcl script with commands to run after PDN generation.| |
220-
| <a name="POST_REPAIR_TIMING_POST_PLACE_TCL"></a>POST_REPAIR_TIMING_POST_PLACE_TCL| Specifies a Tcl script with commands to run after post-place timing repair.| |
221224
| <a name="POST_RESIZE_TCL"></a>POST_RESIZE_TCL| Specifies a Tcl script with commands to run after resize.| |
222225
| <a name="POST_SYNTH_TCL"></a>POST_SYNTH_TCL| Specifies a Tcl script with commands to run after synthesis ODB generation.| |
223226
| <a name="POST_TAPCELL_TCL"></a>POST_TAPCELL_TCL| Specifies a Tcl script with commands to run after tapcell.| |
@@ -234,7 +237,6 @@ configuration file.
234237
| <a name="PRE_IO_PLACEMENT_TCL"></a>PRE_IO_PLACEMENT_TCL| Specifies a Tcl script with commands to run before IO placement.| |
235238
| <a name="PRE_MACRO_PLACE_TCL"></a>PRE_MACRO_PLACE_TCL| Specifies a Tcl script with commands to run before macro placement.| |
236239
| <a name="PRE_PDN_TCL"></a>PRE_PDN_TCL| Specifies a Tcl script with commands to run before PDN generation.| |
237-
| <a name="PRE_REPAIR_TIMING_POST_PLACE_TCL"></a>PRE_REPAIR_TIMING_POST_PLACE_TCL| Specifies a Tcl script with commands to run before post-place timing repair.| |
238240
| <a name="PRE_RESIZE_TCL"></a>PRE_RESIZE_TCL| Specifies a Tcl script with commands to run before resize.| |
239241
| <a name="PRE_SYNTH_TCL"></a>PRE_SYNTH_TCL| Specifies a Tcl script with commands to run before synthesis ODB generation.| |
240242
| <a name="PRE_TAPCELL_TCL"></a>PRE_TAPCELL_TCL| Specifies a Tcl script with commands to run before tapcell.| |
@@ -312,6 +314,7 @@ configuration file.
312314
| <a name="SYNTH_RETIME_MODULES"></a>SYNTH_RETIME_MODULES| *This is an experimental option and may cause adverse effects.* *No effort has been made to check if the retimed RTL is logically equivalent to the non-retimed RTL.* List of modules to apply automatic retiming to. These modules must not get dissolved and as such they should either be the top module or be included in SYNTH_KEEP_MODULES. The main use case is to quickly identify if performance can be improved by manually retiming the input RTL. Retiming will treat module ports like register endpoints/startpoints. The objective function of retiming isn't informed by SDC, even the clock period is ignored. As such, retiming will optimize for best delay at potentially high register number cost. Automatic retiming can produce suboptimal results as its timing model is crude and it doesn't find the optimal distribution of registers on long pipelines. See OR discussion # 8080.| |
313315
| <a name="SYNTH_SKIP_KEEP"></a>SYNTH_SKIP_KEEP| Only meaningful together with SYNTH_CHECKPOINT. When set, signals that the supplied checkpoint is still canonical RTLIL (coarse synth and `keep_hierarchy` have not been run yet), so synth.tcl runs the full coarse+fine synthesis flattened. When unset and SYNTH_CHECKPOINT is used, synth.tcl assumes the checkpoint already has coarse synth + `keep_hierarchy` done and resumes from `coarse:fine`.| 0|
314316
| <a name="SYNTH_SLANG_ARGS"></a>SYNTH_SLANG_ARGS| Additional arguments passed to the slang frontend during synthesis.| |
317+
| <a name="SYNTH_USE_SYN"></a>SYNTH_USE_SYN| If set to 1, run synthesis using the "syn" tool built into OpenROAD (the synth_syn.tcl flow) instead of the default Yosys-based flow. Defaults to 0 (Yosys flow).| 0|
315318
| <a name="SYNTH_WRAPPED_ADDERS"></a>SYNTH_WRAPPED_ADDERS| Specify the adder modules that can be used for synthesis, separated by commas. The default adder module is determined by the first element of this variable.| |
316319
| <a name="SYNTH_WRAPPED_MULTIPLIERS"></a>SYNTH_WRAPPED_MULTIPLIERS| Specify the multiplier modules that can be used for synthesis, separated by commas. The default multiplier module is determined by the first element of this variable.| |
317320
| <a name="SYNTH_WRAPPED_OPERATORS"></a>SYNTH_WRAPPED_OPERATORS| Synthesize multiple architectural options for each arithmetic operator in the design. These options are available for switching among in later stages of the flow.| |
@@ -349,6 +352,7 @@ configuration file.
349352
- [PRE_SYNTH_TCL](#PRE_SYNTH_TCL)
350353
- [SDC_FILE](#SDC_FILE)
351354
- [SDC_GUT](#SDC_GUT)
355+
- [SKIP_REPORT_METRICS](#SKIP_REPORT_METRICS)
352356
- [SLANG_PLUGIN_PATH](#SLANG_PLUGIN_PATH)
353357
- [SYNTH_ARGS](#SYNTH_ARGS)
354358
- [SYNTH_BLACKBOXES](#SYNTH_BLACKBOXES)
@@ -371,6 +375,7 @@ configuration file.
371375
- [SYNTH_RETIME_MODULES](#SYNTH_RETIME_MODULES)
372376
- [SYNTH_SKIP_KEEP](#SYNTH_SKIP_KEEP)
373377
- [SYNTH_SLANG_ARGS](#SYNTH_SLANG_ARGS)
378+
- [SYNTH_USE_SYN](#SYNTH_USE_SYN)
374379
- [SYNTH_WRAPPED_ADDERS](#SYNTH_WRAPPED_ADDERS)
375380
- [SYNTH_WRAPPED_MULTIPLIERS](#SYNTH_WRAPPED_MULTIPLIERS)
376381
- [TIEHI_CELL_AND_PORT](#TIEHI_CELL_AND_PORT)
@@ -466,9 +471,11 @@ configuration file.
466471
- [DONT_BUFFER_PORTS](#DONT_BUFFER_PORTS)
467472
- [DPL_USE_OLD_DIAMOND](#DPL_USE_OLD_DIAMOND)
468473
- [EARLY_SIZING_CAP_RATIO](#EARLY_SIZING_CAP_RATIO)
474+
- [ENABLE_PLACE_REPAIR_TIMING](#ENABLE_PLACE_REPAIR_TIMING)
469475
- [FLOORPLAN_DEF](#FLOORPLAN_DEF)
470476
- [GLOBAL_PLACEMENT_ARGS](#GLOBAL_PLACEMENT_ARGS)
471477
- [GPL_KEEP_OVERFLOW](#GPL_KEEP_OVERFLOW)
478+
- [GPL_RANDOM_SEED](#GPL_RANDOM_SEED)
472479
- [GPL_ROUTABILITY_DRIVEN](#GPL_ROUTABILITY_DRIVEN)
473480
- [GPL_TIMING_DRIVEN](#GPL_TIMING_DRIVEN)
474481
- [IO_PLACER_H](#IO_PLACER_H)
@@ -486,13 +493,11 @@ configuration file.
486493
- [POST_GLOBAL_PLACE_SKIP_IO_TCL](#POST_GLOBAL_PLACE_SKIP_IO_TCL)
487494
- [POST_GLOBAL_PLACE_TCL](#POST_GLOBAL_PLACE_TCL)
488495
- [POST_IO_PLACEMENT_TCL](#POST_IO_PLACEMENT_TCL)
489-
- [POST_REPAIR_TIMING_POST_PLACE_TCL](#POST_REPAIR_TIMING_POST_PLACE_TCL)
490496
- [POST_RESIZE_TCL](#POST_RESIZE_TCL)
491497
- [PRE_DETAIL_PLACE_TCL](#PRE_DETAIL_PLACE_TCL)
492498
- [PRE_GLOBAL_PLACE_SKIP_IO_TCL](#PRE_GLOBAL_PLACE_SKIP_IO_TCL)
493499
- [PRE_GLOBAL_PLACE_TCL](#PRE_GLOBAL_PLACE_TCL)
494500
- [PRE_IO_PLACEMENT_TCL](#PRE_IO_PLACEMENT_TCL)
495-
- [PRE_REPAIR_TIMING_POST_PLACE_TCL](#PRE_REPAIR_TIMING_POST_PLACE_TCL)
496501
- [PRE_RESIZE_TCL](#PRE_RESIZE_TCL)
497502
- [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT)
498503
- [SKIP_REPORT_METRICS](#SKIP_REPORT_METRICS)
@@ -538,11 +543,13 @@ configuration file.
538543
- [DPL_USE_OLD_DIAMOND](#DPL_USE_OLD_DIAMOND)
539544
- [ENABLE_RESISTANCE_AWARE](#ENABLE_RESISTANCE_AWARE)
540545
- [GLOBAL_ROUTE_ARGS](#GLOBAL_ROUTE_ARGS)
546+
- [GLOBAL_ROUTE_USE_CUGR](#GLOBAL_ROUTE_USE_CUGR)
541547
- [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN)
542548
- [MAX_REPAIR_ANTENNAS_ITER_GRT](#MAX_REPAIR_ANTENNAS_ITER_GRT)
543549
- [MAX_REPAIR_TIMING_ITER](#MAX_REPAIR_TIMING_ITER)
544550
- [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER)
545551
- [MIN_ROUTING_LAYER](#MIN_ROUTING_LAYER)
552+
- [OPT_POST_GRT_WNS](#OPT_POST_GRT_WNS)
546553
- [POST_GLOBAL_ROUTE_TCL](#POST_GLOBAL_ROUTE_TCL)
547554
- [PRE_GLOBAL_ROUTE_TCL](#PRE_GLOBAL_ROUTE_TCL)
548555
- [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW)

‎flow/Makefile‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,11 @@ floorplan_to_place: $(RESULTS_DIR)/1_synth.odb $(RESULTS_DIR)/1_synth.sdc
404404

405405
# ==============================================================================
406406

407+
ifeq ($(SYNTH_USE_SYN),1)
408+
$(eval $(call do-step,1_synth,$(VERILOG_FILES) $(SDC_FILE) $(TECH_LEF) $(SC_LEF) $(ADDITIONAL_LEFS) $(LIB_FILES),synth_syn))
409+
else
407410
$(eval $(call do-step,1_synth,$(RESULTS_DIR)/1_2_yosys.v $(RESULTS_DIR)/1_2_yosys.sdc $(TECH_LEF) $(SC_LEF) $(ADDITIONAL_LEFS) $(LIB_FILES),synth_odb))
411+
endif
408412

409413
$(RESULTS_DIR)/1_synth.sdc: $(RESULTS_DIR)/1_synth.odb
410414

@@ -479,12 +483,6 @@ $(eval $(call do-copy,3_place,2_floorplan.sdc,,.sdc))
479483
do-place:
480484
$(UNSET_AND_MAKE) do-3_1_place_gp_skip_io do-3_2_place_iop do-3_3_place_gp do-3_4_place_resized do-3_5_place_dp do-3_place do-3_place.sdc
481485

482-
# Custom repair_timing target after placement
483-
$(eval $(call do-step,3_6_place_repair_timing,$(RESULTS_DIR)/3_5_place_dp.odb $(RESULTS_DIR)/3_place.sdc,repair_timing_post_place))
484-
485-
.PHONY: place_repair_timing
486-
place_repair_timing: $(RESULTS_DIR)/3_6_place_repair_timing.odb
487-
488486
# Clean Targets
489487
#-------------------------------------------------------------------------------
490488
.PHONY: clean_place
@@ -675,7 +673,7 @@ $(WRAPPED_GDSOAS): $(OBJECTS_DIR)/klayout_wrap.lyt $(WRAPPED_LEFS)
675673

676674
# Merge GDS using Klayout
677675
#-------------------------------------------------------------------------------
678-
$(GDS_MERGED_FILE): check-klayout $(RESULTS_DIR)/6_final.def $(OBJECTS_DIR)/klayout.lyt $(GDSOAS_FILES) $(WRAPPED_GDSOAS) $(SEAL_GDSOAS)
676+
$(GDS_MERGED_FILE): $(RESULTS_DIR)/6_final.def $(OBJECTS_DIR)/klayout.lyt $(GDSOAS_FILES) $(WRAPPED_GDSOAS) $(SEAL_GDSOAS) | check-klayout
679677
$(UNSET_AND_MAKE) do-gds-merged
680678

681679
.PHONY: do-gds-merged
@@ -841,7 +839,7 @@ klayout:
841839
.phony: run
842840
run:
843841
@mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR) $(OBJECTS_DIR)
844-
($(OPENROAD_CMD) -no_splash $(if $(filter %.py,$(RUN_SCRIPT)),-python) $(RUN_SCRIPT) 2>&1 | tee $(abspath $(LOG_DIR)/$(RUN_LOG_NAME_STEM).log))
842+
$(RUN_CMD) --log $(abspath $(LOG_DIR)/$(RUN_LOG_NAME_STEM).log) --tee -- $(OPENROAD_CMD) -no_splash $(if $(filter %.py,$(RUN_SCRIPT)),-python) $(RUN_SCRIPT)
845843

846844
export RUN_YOSYS_ARGS ?= -c $(SCRIPTS_DIR)/yosys_keep.tcl
847845
.phony: run-yosys

0 commit comments

Comments
 (0)