mirror of https://github.com/efabless/caravel.git
change .magicrc to use from pdk
This commit is contained in:
parent
28c9ef91c4
commit
eb4edd3db3
|
@ -147,9 +147,9 @@ if __name__ == '__main__':
|
|||
keepmode = True
|
||||
|
||||
magpath = mag_dir_path
|
||||
rcfile = magpath + '/.magicrc'
|
||||
# pdk_root = os.getenv("PDK_ROOT")
|
||||
# rcfile = pdk_root + '/sky130A/libs.tech/magic/sky130A.magicrc'
|
||||
# rcfile = magpath + '/.magicrc'
|
||||
pdk_root = os.getenv("PDK_ROOT")
|
||||
rcfile = pdk_root + '/sky130A/libs.tech/magic/sky130A.magicrc'
|
||||
|
||||
gdspath = gds_dir_path
|
||||
|
||||
|
|
|
@ -153,9 +153,9 @@ if __name__ == '__main__':
|
|||
distmode = True
|
||||
|
||||
magpath = user_project_path + '/mag'
|
||||
rcfile = magpath + '/.magicrc'
|
||||
# pdk_root = os.getenv("PDK_ROOT")
|
||||
# rcfile = pdk_root + '/sky130A/libs.tech/magic/sky130A.magicrc'
|
||||
# rcfile = magpath + '/.magicrc'
|
||||
pdk_root = os.getenv("PDK_ROOT")
|
||||
rcfile = pdk_root + '/sky130A/libs.tech/magic/sky130A.magicrc'
|
||||
|
||||
if not os.path.isfile(rcfile):
|
||||
rcfile = None
|
||||
|
|
Loading…
Reference in New Issue