blob: 3fab5fa79bd2156e6ef51d88d79c42e64dd87495 [file] [log] [blame]
################################################################################################
# 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.
################################################################################################
#==================================
# ------- PISCAP EXTRACTION -------
#==================================
logger.info('Starting PISCAP EXTRACTION')
# pis_1p8 (1.8V PIS capacitor (outside DNWELL))
logger.info('Extracting pis_1p8 device')
extract_devices(capacitor('piscap_1p8', 4.4e-15, PisCap),
{ 'P1' => pis_1p8_gate, 'P2' => nwell_con, 'tA' => poly2_con, 'tB' => ntap })
# pis_1p8_dw (1.8V PIS capacitor (inside DNWEL)
logger.info('Extracting pis_1p8_dw device')
extract_devices(capacitor('piscap_1p8_dw', 4.4e-15, PisCap),
{ 'P1' => pis_1p8_dw_gate, 'P2' => dnwell, 'tA' => poly2_con, 'tB' => ntap })
# pis_6p0 (6V PIS capacitor (outside DNWELL))
logger.info('Extracting pis_6p0 device')
extract_devices(capacitor('piscap_6p0', 4.4e-15, PisCap),
{ 'P1' => pis_6p0_gate, 'P2' => nwell_con, 'tA' => poly2_con, 'tB' => ntap })
# pis_6p0_dw (6V PIS capacitor (inside DNWEL)
logger.info('Extracting pis_6p0_dw device')
extract_devices(capacitor('piscap_6p0_dw', 4.4e-15, PisCap),
{ 'P1' => pis_6p0_dw_gate, 'P2' => dnwell, 'tA' => poly2_con, 'tB' => ntap })