File size: 735 Bytes
784ee2c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
source $::env(SCRIPTS_DIR)/load.tcl
erase_non_stage_variables place

if {
  ![env_var_exists_and_non_empty FLOORPLAN_DEF] &&
  ![env_var_exists_and_non_empty FOOTPRINT] &&
  ![env_var_exists_and_non_empty FOOTPRINT_TCL]
} {
  load_design 3_1_place_gp_skip_io.odb 2_floorplan.sdc
  source_step_tcl PRE IO_PLACEMENT
  log_cmd place_pins \
    -hor_layers $::env(IO_PLACER_H) \
    -ver_layers $::env(IO_PLACER_V) \
    {*}[env_var_or_empty PLACE_PINS_ARGS]
  report_design_area

  orfs_write_db $::env(RESULTS_DIR)/3_2_place_iop.odb
  write_pin_placement $::env(RESULTS_DIR)/3_2_place_iop.tcl
} else {
  orfs_copy_db $::env(RESULTS_DIR)/3_1_place_gp_skip_io.odb $::env(RESULTS_DIR)/3_2_place_iop.odb
}

source_step_tcl POST IO_PLACEMENT