blob: 377852bda9ef6554a8391beb7c014282652371ba [file] [log] [blame]
package require openlane
set script_dir [file dirname [file normalize [info script]]]
prep -design $script_dir -tag user_analog_project_wrapper -overwrite
set save_path $script_dir/../..
run_synthesis
init_floorplan
gen_pdn
place_io
set ::env(FP_DEF_TEMPLATE) $script_dir/../../def/user_analog_project_wrapper_empty.def
apply_def_template
add_macro_placement soc_top 260 260 N
add_macro_placement ldo 260 2372 N
manual_macro_placement f
set_def $::env(CURRENT_DEF)
tap_decap_or
run_placement
global_routing_or
run_magic
run_magic_spice_export
save_views -lef_path $::env(magic_result_file_tag).lef \
-def_path $::env(tritonRoute_result_file_tag).def \
-gds_path $::env(magic_result_file_tag).gds \
-mag_path $::env(magic_result_file_tag).mag \
-save_path $save_path \
-tag $::env(RUN_TAG)
#run_magic_drc
#run_lvs; # requires run_magic_spice_export
#run_antenna_check