mirror of https://github.com/efabless/caravel.git
change .magicrc to use from pdk
This commit is contained in:
parent
e52732df01
commit
556277b847
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue