scalegrid 1 2 | |
box 0 0 0 0 | |
drc off | |
snap int | |
# Read tech lef | |
#addpath ./platforms/$::env(PLATFORM) | |
#load libcell_scs8lp; # ? | |
lef read $::env(MERGED_LEF) | |
# Read gds files | |
gds readonly true | |
gds rescale false | |
foreach gdsFile $::env(GDS_FILES) { | |
gds read $gdsFile | |
} | |
# Read def and load design | |
def read $::env(tritonRoute_result_file_tag).def | |
load $::env(DESIGN_NAME) | |
# Write gds | |
select top cell | |
expand | |
gds write $::env(magic_result_file_tag).gds | |
puts "GDS write complete" | |
quit -noprompt | |
exit | |