change .magicrc to use from pdk

This commit is contained in:
jeffdi 2023-06-07 16:58:08 -07:00
parent e52732df01
commit 556277b847
2 changed files with 6 additions and 6 deletions

View File

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

View File

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