| ################################################################################################ |
| # Copyright 2023 GlobalFoundries PDK Authors |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # https://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| ################################################################################################ |
| |
| #================================ |
| # ----- DIODE CONNECTIONS ------- |
| #================================ |
| |
| logger.info('Starting LVS DIODE CONNECTIONS') |
| |
| #===================== |
| # --- NP 1P8 DIODE --- |
| #===================== |
| |
| # diode_nd2ps_01v8: Model for 1.8V thin gate N+/Psub diode [diode_np_1p8] |
| connect(diode_np_1p8_terminal_n, contact) |
| connect(diode_np_1p8_terminal_p, ptap) |
| |
| # diode_nd2ps_01v8_nvt: Model for 1.8V thin gate N+/Psub native diode [diode_np_1p8_nat] |
| connect(diode_np_1p8_nat_terminal_n, contact) |
| connect(diode_np_1p8_nat_terminal_p, ptap) |
| |
| #===================== |
| # --- PN 1P8 DIODE --- |
| #===================== |
| |
| # diode_pd2nw_01v8: Model for 1.8V thin gate P+/Nwell diode: [diode_pn_1p8] |
| connect(diode_pn_1p8_terminal_p, contact) |
| |
| #===================== |
| # --- NP 3P0 DIODE --- |
| #===================== |
| |
| # diode_nd2ps_03v3: Model for 3.3V thick gate N+/Psub diode: [diode_np_3p3] |
| connect(diode_np_3p3_terminal_n, contact) |
| connect(diode_np_3p3_terminal_p, ptap) |
| |
| # diode_nd2ps_03v3_nvt: Model for 3.3V thick gate N+/Psub native diode [diode_np_3p3_nat] |
| connect(diode_np_3p3_nat_terminal_n, contact) |
| connect(diode_np_3p3_nat_terminal_p, ptap) |
| |
| #===================== |
| # --- PN 3P0 DIODE --- |
| #===================== |
| |
| # diode_pd2nw_03v3: Model for 3.3V thick gate P+/Nwell diode: [diode_pn_3p3] |
| connect(diode_pn_3p3_terminal_p, contact) |
| |
| #================== |
| # --- NWP DIODE --- |
| #================== |
| |
| # diode_nw2ps: Model Nwell/psub diode: [diode_nwp] |
| connect(diode_nwp_terminal_p, contact) |
| connect(diode_nwp_terminal_n, nwell) |
| |
| #==================== |
| # --- DNWPW DIODE --- |
| #==================== |
| |
| # diode_pw2dw: Model for Pwell/Deep Nwell junction [diode_dnwpw] |
| connect(diode_dnwpw_terminal_p, contact) |
| |
| #==================== |
| # --- DNWPS DIODE --- |
| #==================== |
| |
| # diode_dw2ps: Model for Deep Nwell/Psub junction [diode_dnwps] |
| connect(diode_dnwps_terminal_p, ptap) |
| connect(diode_dnwps_terminal_n, dnwell) |