Skip to content

Commit

Permalink
Merge pull request #8 from mabrains/lvs_dev2
Browse files Browse the repository at this point in the history
Fixing some linting issues for run_lvs script
  • Loading branch information
FaragElsayed2 authored May 8, 2024
2 parents fb0e98b + 6bcc2de commit 275a484
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
; ==========================================================================

[flake8]
max-line-length = 100
max-line-length = 120
max-complexity = 18

exclude =
Expand Down
12 changes: 6 additions & 6 deletions ihp-sg13g2/libs.tech/klayout/tech/lvs/run_lvs.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
--help -h Displays this help message.
--layout=<layout_path> Specifies the file path of the input GDS file.
--netlist=<netlist_path> Specifies the file path of the input netlist file.
--run_dir=<run_dir_path> Run directory to save all the generated results [default: pwd]
--run_dir=<run_dir_path> Run directory to save all generated results [default: pwd]
--topcell=<topcell_name> Specifies the name of the top cell to be used.
--run_mode=<run_mode> Selects the allowed KLayout mode. (flat, deep). [default: flat]
--run_mode=<run_mode> Selects allowed KLayout mode. (flat, deep). [default: flat]
--lvs_sub=<sub_name> Sets the substrate name used in your design.
--no_net_names Omits net names in the extracted netlist.
--spice_comments Includes netlist comments in the extracted netlist.
--net_only Generates netlist objects only in the extracted netlist.
--no_simplify Disables simplification for both layout and schematic netlists.
--no_series_res Prevents the simplification of series resistors for both layout and schematic netlists.
--no_parallel_res Prevents the simplification of parallel resistors for both layout and schematic netlists.
--no_simplify Disables simplification for both layout and schematic.
--no_series_res Prevents simplification of series resistors for both layout and schematic.
--no_parallel_res Prevents simplification of parallel resistors for both layout and schematic.
--combine_devices Enables device combination for both layout and schematic netlists.
--top_lvl_pins Creates pins for top-level circuits in both layout and schematic netlists.
--purge Removes unused nets from both layout and schematic netlists.
Expand Down Expand Up @@ -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 275a484

Please sign in to comment.