mirror of https://github.com/efabless/caravel.git
fix rcfile reference in generate_fill.py and compositor.py
This commit is contained in:
parent
2b43163b19
commit
547709b619
|
@ -147,7 +147,8 @@ if __name__ == '__main__':
|
||||||
keepmode = True
|
keepmode = True
|
||||||
|
|
||||||
magpath = mag_dir_path
|
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
|
gdspath = gds_dir_path
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,8 @@ if __name__ == '__main__':
|
||||||
distmode = True
|
distmode = True
|
||||||
|
|
||||||
magpath = user_project_path + '/mag'
|
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):
|
if not os.path.isfile(rcfile):
|
||||||
rcfile = None
|
rcfile = None
|
||||||
|
|
Loading…
Reference in New Issue