Use local setup.tcl and flatten bitcell arrays.

This commit is contained in:
Matt Guthaus
2019-04-26 14:12:51 -07:00
parent 9cead23f22
commit d23aa9a1bd
2 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -97,10 +97,11 @@ def write_netgen_script(cell_name, sp_name):
global OPTS
setup_file = OPTS.openram_tech + "mag_lib/setup.tcl"
if os.path.exists(setup_file):
setup_file = "setup.tcl"
full_setup_file = OPTS.openram_tech + "mag_lib/" + setup_file
if os.path.exists(full_setup_file):
# Copy setup.tcl file into temp dir
shutil.copy(setup_file, OPTS.openram_temp)
shutil.copy(full_setup_file, OPTS.openram_temp)
else:
setup_file = 'nosetup'