Skip to content

Commit

Permalink
Adding default sub name for LVS
Browse files Browse the repository at this point in the history
Signed-off-by: FaragElsayed2 <farag_agoor@mabrains.com>
  • Loading branch information
FaragElsayed2 committed May 7, 2024
1 parent 60b02d3 commit 588cafa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ihp-sg13g2/libs.tech/klayout/tech/lvs/run_lvs.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def generate_klayout_switches(arguments, layout_path, netlist_path):
exit()

switches = {
"lvs_sub": arguments.get("--lvs_sub", "sub!"),
"lvs_sub": arguments.get("--lvs_sub") if arguments.get("--lvs_sub") else "sub!",
"no_net_names": "true" if arguments.get("--no_net_names") else "false",
"spice_comments": "true" if arguments.get("--spice_comments") else "false",
"net_only": "true" if arguments.get("--net_only") else "false",
Expand All @@ -216,7 +216,7 @@ def generate_klayout_switches(arguments, layout_path, netlist_path):
}

return switches


def build_switches_string(sws: dict):
"""
Expand Down

0 comments on commit 588cafa

Please sign in to comment.