mirror of https://github.com/efabless/caravel.git
remove hard-coded sky130A in rcfile path from scripts
This commit is contained in:
parent
909998bb9d
commit
19ce6de3cc
|
@ -149,7 +149,8 @@ if __name__ == '__main__':
|
||||||
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'
|
pdk = os.getenv("PDK")
|
||||||
|
rcfile = pdk_root + '/' + pdk + '/libs.tech/magic/' + pdk + '.magicrc'
|
||||||
|
|
||||||
gdspath = gds_dir_path
|
gdspath = gds_dir_path
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,8 @@ if __name__ == '__main__':
|
||||||
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'
|
pdk = os.getenv("PDK")
|
||||||
|
rcfile = pdk_root + '/' + pdk + '/libs.tech/magic/' + pdk + '.magicrc'
|
||||||
|
|
||||||
if not os.path.isfile(rcfile):
|
if not os.path.isfile(rcfile):
|
||||||
rcfile = None
|
rcfile = None
|
||||||
|
|
Loading…
Reference in New Issue