From 6645d1f97da110b14178b1c66450a6789f761f37 Mon Sep 17 00:00:00 2001 From: Kareem Farid Date: Mon, 13 May 2024 13:19:53 +0300 Subject: [PATCH] Add --pdk argument to klayout_gds_drc_check.py --- checks/drc_checks/klayout/klayout_gds_drc_check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/checks/drc_checks/klayout/klayout_gds_drc_check.py b/checks/drc_checks/klayout/klayout_gds_drc_check.py index aeeaa93..cadd159 100644 --- a/checks/drc_checks/klayout/klayout_gds_drc_check.py +++ b/checks/drc_checks/klayout/klayout_gds_drc_check.py @@ -60,12 +60,13 @@ def klayout_gds_drc_check(check_name, drc_script_path, gds_input_file_path, outp parser.add_argument('--feol', '-f', action='store_true', required=False, default=False, help='run FEOL rules') parser.add_argument('--beol', '-b', action='store_true', required=False, default=False, help='run BEOL rules') parser.add_argument('--off_grid', '-og', action='store_true', required=False, default=False, help='run OFFGRID rules') + parser.add_argument('--pdk', required=False, default="sky130A", help='PDK') args = parser.parse_args() gds_input_file_path = Path(args.gds_input_file_path) output_directory = Path(args.output_directory) - klayout_sky130A_mr_drc_script_path = Path(__file__).parent.parent.parent / "tech-files/gf180mcuD_mr.drc" + klayout_sky130A_mr_drc_script_path = Path(__file__).parent.parent.parent / f"tech-files/{args.pdk}_mr.drc" extra_args = [] if args.feol: