Skip to content

Commit

Permalink
update stack in menues
Browse files Browse the repository at this point in the history
  • Loading branch information
RehabSayed-G committed Jan 3, 2024
1 parent 635ac5f commit 7313f3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions rules/klayout/macros/gf180mcu_drc.lydrc
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,9 @@ elsif options["variant"] == "C"
$metal_level = "5LM"
$mim_option = "B"
elsif options["variant"] == "D"
$metal_top = "9K"
$metal_level = "6LM"
$metal_top = "11K"
$metal_level = "5LM"
$mim_option = "B"
elsif options["variant"] == "E"
$metal_top = "9K"
$metal_level = "6LM"
$mim_option = "A"
end

$topcell = options["top_cell_name"]
Expand Down
2 changes: 1 addition & 1 deletion rules/klayout/macros/gf180mcu_options.lym
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ require 'yaml'
variant_drc_action.title = "Variant options"
variant_drc_action.on_triggered do

variant_select = RBA::InputDialog::ask_item("Variant options", "Select variant option:", [ "A", "B", "C" , "D", "E"], 2)
variant_select = RBA::InputDialog::ask_item("Variant options", "Select variant option:", [ "A", "B", "C" , "D"], 2)
options = YAML.load(File.read(__dir__ + "/drc_options.yml"))
if variant_select
options["variant"] = variant_select
Expand Down

0 comments on commit 7313f3f

Please sign in to comment.