# Get the nets in the top 10 critical paths, assign to $preRoutes
set preRoutes [get_nets -of [get_timing_paths -max_paths 10]]
# route $preRoutes first with the smallest possible delay
route_design -nets [get_nets $preRoutes] -delay
# preserve the routing for $preRoutes and continue with the rest of the design
route_design -preserve
このサンプル スクリプトでは、まずいくつかのクリティカル ネットを配線し、その後デザイン全体を配線しています。次に、ネットおよびピン (この場合はネット) の配線が示されていますが、通常は、次のように特定の配線の問題を修正するために実行されます。
- 完全に配線する前に、クリティカル ネットおよび固定リソースを配線する。
- クリティカルではないネットの配線を手動で解除して、クリティカル ネットにより多くの配線リソースを使用できるようにする。
最初の route_design
コマンドでは、配線機能が初期化されてから、クロックなどの重要なネットが配線されます。