blob: 5cba479572d5700a804848b73dafcc4b61196af0 [file] [log] [blame]
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(CURRENT_DEF)
load $::env(DESIGN_NAME)
# Write gds
select top cell
expand
gds write $::env(magic_result_file_tag).gds
puts "GDS write complete"
lef write $::env(magic_result_file_tag).lef -hide
lef write $::env(magic_result_file_tag).full.lef
quit -noprompt
exit