From 547709b61955d5dae6c914262386d87d5be7f313 Mon Sep 17 00:00:00 2001 From: jeffdi Date: Wed, 1 Dec 2021 21:05:46 -0800 Subject: [PATCH] fix rcfile reference in generate_fill.py and compositor.py --- scripts/compositor.py | 3 ++- scripts/generate_fill.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/compositor.py b/scripts/compositor.py index efa0b4ee..25fc7cc6 100755 --- a/scripts/compositor.py +++ b/scripts/compositor.py @@ -147,7 +147,8 @@ if __name__ == '__main__': keepmode = True 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 diff --git a/scripts/generate_fill.py b/scripts/generate_fill.py index c03a9f2d..4009779c 100755 --- a/scripts/generate_fill.py +++ b/scripts/generate_fill.py @@ -153,7 +153,8 @@ if __name__ == '__main__': distmode = True 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): rcfile = None