blob: 9f3c0e42f83b7d84f1f2fde53d39917f509c1485 [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.
################################################################################################
#================================
# ----- MOSFET EXTRACTION -------
#================================
logger.info('Starting MOSFET EXTRACTION')
# ==============
# ---- NMOS ----
# ==============
logger.info('Starting NMOS EXTRACTION')
# nfet_01v8: Thin gate NMOS (1.8v) [nmos_1p8]
logger.info('Extracting nfet_01v8 transistor')
extract_devices(mos4('nfet_01v8'),
{ 'SD' => nsd, 'G' => ngate_01v8, 'tS' => nsd, 'tD' => nsd, 'tG' => poly2_con, 'W' => sub })
# nfet_03v3: Thick gate NMOS (3.3v) [nmos_3p3]
logger.info('Extracting nfet_03v3 transistor')
extract_devices(mos4('nfet_03v3'),
{ 'SD' => nsd, 'G' => ngate_03v3, 'tS' => nsd, 'tD' => nsd, 'tG' => poly2_con, 'W' => sub })
# nfet_01v8_nvt: Thin gate native NMOS (1.8v) [nmos_1p8_nat]
logger.info('Extracting nfet_01v8_nvt transistor')
extract_devices(mos4('nfet_01v8_nvt'),
{ 'SD' => nsd, 'G' => ngate_nvt_01v8, 'tS' => nsd, 'tD' => nsd, 'tG' => poly2_con, 'W' => sub })
# nfet_03v3_nvt: Thick gate native NMOS (3.3v) [nmos_3p3_nat]
logger.info('Extracting nfet_03v3_nvt transistor')
extract_devices(mos4('nfet_03v3_nvt'),
{ 'SD' => nsd, 'G' => ngate_nvt_03v3, 'tS' => nsd, 'tD' => nsd, 'tG' => poly2_con, 'W' => sub })
# ==============
# ---- PMOS ----
# ==============
logger.info('Starting PMOS EXTRACTION')
# pfet_01v8: Thin gate PMOS (1.8v) [pmos_1p8]
logger.info('Extracting pfet_01v8 transistor')
extract_devices(mos4('pfet_01v8'),
{ 'SD' => psd, 'G' => pgate_01v8, 'tS' => psd, 'tD' => psd, 'tG' => poly2_con, 'W' => nwell_con })
# pfet_03v3: 3.3V PMOS transistor [pmos_3p3]
logger.info('Extracting pfet_03v3 transistor')
extract_devices(mos4('pfet_03v3'),
{ 'SD' => psd, 'G' => pgate_03v3, 'tS' => psd, 'tD' => psd, 'tG' => poly2_con, 'W' => nwell_con })