File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ set global_placement_args {}
2626# Parameters for routability mode in global placement
2727append_env_var global_placement_args GPL_ROUTABILITY_DRIVEN -routability_driven 0
2828
29+ append_env_var global_placement_args GPL_RANDOM_SEED -random_seed 1
30+
2931# Parameters for timing driven mode in global placement
3032if { $::env(GPL_TIMING_DRIVEN) } {
3133 lappend global_placement_args {-timing_driven}
Original file line number Diff line number Diff line change @@ -8,10 +8,14 @@ if { [env_var_exists_and_non_empty FLOORPLAN_DEF] } {
88} elseif { [all_pins_placed] } {
99 puts " All pins are placed. Skipping global placement without IOs"
1010} else {
11+ set global_placement_args {}
12+ append_env_var global_placement_args GPL_RANDOM_SEED -random_seed 1
13+
1114 log_cmd global_placement -skip_io -density [place_density_with_lb_addon] \
1215 -pad_left $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) \
1316 -pad_right $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) \
14- {*}[env_var_or_empty GLOBAL_PLACEMENT_ARGS]
17+ {*}[env_var_or_empty GLOBAL_PLACEMENT_ARGS] \
18+ {*}$global_placement_args
1519}
1620
1721source_step_tcl POST GLOBAL_PLACE_SKIP_IO
Original file line number Diff line number Diff line change @@ -643,6 +643,11 @@ USE_NEGOTIATION:
643643 description : |
644644 Enable using negotiation legalizer for detailed placement.
645645 default : 0
646+ GPL_RANDOM_SEED :
647+ description : |
648+ Specifies a random seed for global placement. Useful for pertubation studies.
649+ stages :
650+ - place
646651GPL_TIMING_DRIVEN :
647652 description : |
648653 Specifies whether the placer should use timing driven placement.
You can’t perform that action at this time.
0 commit comments