fix rcfile reference in generate_fill.py and compositor.py

This commit is contained in:
jeffdi 2021-12-01 21:05:46 -08:00
parent 2b43163b19
commit 547709b619
2 changed files with 4 additions and 2 deletions

View File

@ -147,7 +147,8 @@ if __name__ == '__main__':
keepmode = True
magpath = mag_dir_path
rcfile = magpath + '/.magicrc'
# rcfile = magpath + '/.magicrc'
rcfile = os.getenv("PDK_ROOT") + '/sky130A/libs.tech/magic/sky130A.magicrc'
gdspath = gds_dir_path

View File

@ -153,7 +153,8 @@ if __name__ == '__main__':
distmode = True
magpath = user_project_path + '/mag'
rcfile = magpath + '/.magicrc'
# rcfile = magpath + '/.magicrc'
rcfile = os.getenv("PDK_ROOT") + '/sky130A/libs.tech/magic/sky130A.magicrc'
if not os.path.isfile(rcfile):
rcfile = None