diff --git a/ihp-sg13g2/libs.tech/klayout/tech/lvs/rule_decks/custom_reader.lvs b/ihp-sg13g2/libs.tech/klayout/tech/lvs/rule_decks/custom_reader.lvs index a7e40e83..aca009a1 100644 --- a/ihp-sg13g2/libs.tech/klayout/tech/lvs/rule_decks/custom_reader.lvs +++ b/ihp-sg13g2/libs.tech/klayout/tech/lvs/rule_decks/custom_reader.lvs @@ -296,8 +296,8 @@ class CustomReader < RBA::NetlistSpiceReaderDelegate device.set_parameter('b', params['B'] || 0.0) device.set_parameter('m', params['M'] || 1.0) else - device.set_parameter('W', (params['W'] || 0.0) * (params['M'] || 1.0) * 1e6) - device.set_parameter('L', (params['L'] || 0.0) * (params['S'] || 1.0) * 1e6) + device.set_parameter('W', (params['W'] || params['WIDTH'] || 0.0) * (params['M'] || 1.0) * 1e6) + device.set_parameter('L', (params['L'] || params['LENGTH'] || 0.0) * (params['S'] || 1.0) * 1e6) device.set_parameter('R', (params['R'] || 0.0) * (params['S'] || 1.0) / (params['M'] || 1.0)) end end diff --git a/ihp-sg13g2/libs.tech/klayout/tech/lvs/rule_decks/res_derivations.lvs b/ihp-sg13g2/libs.tech/klayout/tech/lvs/rule_decks/res_derivations.lvs index 6b9edda7..0d699975 100644 --- a/ihp-sg13g2/libs.tech/klayout/tech/lvs/rule_decks/res_derivations.lvs +++ b/ihp-sg13g2/libs.tech/klayout/tech/lvs/rule_decks/res_derivations.lvs @@ -23,12 +23,12 @@ logger.info('Starting RESISTOR DERIVATIONS') -polyres_exclude = activ_drw.join(nwell_drw).join(pwell_block) - .join(nsd_block).join(nbulay_drw).join(thickgateox_drw) - .join(heattrans_drw).join(trans_drw).join(emwind_drw) - .join(emwihv_drw).join(mim_drw).join(activ_mask) - .join(recog_diode).join(recog_esd).join(ind_drw) - .join(ind_pin).join(substrate_drw) +polyres_exclude = activ_drw.join(pwell_block).join(nsd_block) + .join(nbulay_drw).join(thickgateox_drw).join(heattrans_drw) + .join(trans_drw).join(emwind_drw).join(emwihv_drw) + .join(mim_drw).join(activ_mask).join(recog_diode) + .join(recog_esd).join(ind_drw).join(ind_pin) + .join(substrate_drw) # ============== # ---- POLY ---- @@ -36,7 +36,7 @@ polyres_exclude = activ_drw.join(nwell_drw).join(pwell_block) ## polyres polyres_mk = polyres_drw.and(heatres_drw).and(extblock_drw) - .and(pwell).interacting(gatpoly_drw).not(polyres_exclude) + .interacting(gatpoly_drw).not(polyres_exclude) ## rhigh rhigh_res = polyres_mk.and(psd_drw).and(nsd_drw).and(salblock_drw) diff --git a/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/lvsres.gds b/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/lvsres.gds index 3f9696e2..1b9470d9 100644 Binary files a/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/lvsres.gds and b/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/lvsres.gds differ diff --git a/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rhigh.gds b/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rhigh.gds index d03d8fb8..216d4758 100644 Binary files a/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rhigh.gds and b/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rhigh.gds differ diff --git a/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rppd.gds b/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rppd.gds index 85fab725..ebd40b4c 100644 Binary files a/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rppd.gds and b/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rppd.gds differ diff --git a/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rsil.gds b/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rsil.gds index 2af2bbd8..60cc6e04 100644 Binary files a/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rsil.gds and b/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/layout/rsil.gds differ diff --git a/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/netlist/lvsres.cdl b/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/netlist/lvsres.cdl index cbf95937..4a00ea96 100644 --- a/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/netlist/lvsres.cdl +++ b/ihp-sg13g2/libs.tech/klayout/tech/lvs/testing/testcases/unit/res_devices/netlist/lvsres.cdl @@ -18,5 +18,5 @@ .SUBCKT lvsres Rm1 net1 net2 lvsres l=1u w=5u Rm2 net3 net4 lvsres l=1.5u w=5u -Rm3 net5 net6 lvsres l=1u w=6u +Rm3 net5 net6 lvsres length=1u width=6u .ENDS diff --git a/ihp-sg13g2/libs.tech/klayout/tech/macros/lvs_options.yml b/ihp-sg13g2/libs.tech/klayout/tech/macros/lvs_options.yml index 56fdb2b7..351276b1 100644 --- a/ihp-sg13g2/libs.tech/klayout/tech/macros/lvs_options.yml +++ b/ihp-sg13g2/libs.tech/klayout/tech/macros/lvs_options.yml @@ -5,9 +5,9 @@ netlist: '' spice_net: true top_cell_name: '' spice_comment: false +netlist_simplify: true net_only: false top_lvl_pins: false -netlist_simplify: true combine: false purge: false purge_nets: false