blob: 400e3cdba26eec0d371ce5e1cb9162e403ec588c [file] [log] [blame]
################################################################################################
# Copyright 2022 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 DERIVATIONS -------
#==================================
logger.info('Starting MOSFET DERIVATIONS')
# ==============
# ---- PMOS ----
# ==============
logger.info('Starting PMOS layers DERIVATIONS')
# 1.8V PMOS transistor
pgate_1p8 = pgate.not(dualgate).not(res_mk_type1).not(sab).not(nat).not(diode_mk).not(lvs_bjt)
# 3.3V PMOS transistor
pgate_3p3 = pgate.and(dualgate).not(res_mk_type1).not(sab).not(nat).not(diode_mk).not(lvs_bjt)
# ==============
# ---- NMOS ----
# ==============
logger.info('Starting NMOS layers DERIVATIONS')
# 1.8V NMOS transistor
ngate_1p8 = ngate.not(dualgate).not(res_mk_type1).not(sab).not(nat).not(diode_mk).not(lvs_bjt)
# 3.3V NMOS transistor
ngate_3p3 = ngate.and(dualgate).not(res_mk_type1).not(sab).not(nat).not(diode_mk).not(lvs_bjt)
# Nat 1.8V NMOS transistor
ngate_nat_1p8 = ngate.not(dualgate).not(res_mk_type1).not(sab).and(nat).not(diode_mk).not(lvs_bjt)
# Nat 3.3V NMOS transistor
ngate_nat_3p3 = ngate.and(dualgate).not(res_mk_type1).not(sab).and(nat).not(diode_mk).not(lvs_bjt)