blob: ab4549aea1bafb4357ba589ac228a0ccde4fd383 [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.
################################################################################################
#================================
# ---- RESISTOR DERIVATIONS -----
#================================
logger.info('Starting RESISTOR DERIVATIONS')
#====================
# ---- POLY RES ----
#====================
ppoly_exclude = comp.join(nplus).join(nat)
.join(nwell).join(dualgate).join(resistor)
.join(diode_mk).join(lvs_bjt).join(res_mk_type1)
ppoly_res = pplus.and(poly2).and(res_mk)
# ppolyf_s (Model for Salicide P+poly resistor on field)
ppolyf_s_layer = ppoly_res.not_interacting(sab)
# ppolyf_u (Model for Unsalicide P+poly resistor on field)
ppolyf_u_layer = ppoly_res.and(sab)