Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding lvs_bjt table for GF180MCU DRC #50

Merged
merged 1 commit into from
Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions klayout/drc/rule_decks/lvs_bjt.drc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# frozen_string_literal: true

################################################################################################
# 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.
################################################################################################

if FEOL
proppy marked this conversation as resolved.
Show resolved Hide resolved
proppy marked this conversation as resolved.
Show resolved Hide resolved

#================================================
#--------------------LVS_BJT---------------------
#================================================

# Rule LVS_BJT.1: Minimum LVS_BJT enclosure of NPN or PNP Emitter COMP layers is 0um.
proppy marked this conversation as resolved.
Show resolved Hide resolved
logger.info('Executing rule LVS_BJT.1')
vnpn_e = ncomp.interacting(lvs_bjt).inside(dnwell)
vpnp_e = pcomp.interacting(lvs_bjt).inside(nwell)
lvs_l1 = vnpn_e.join(vpnp_e).not(lvs_bjt)
lvs_l1.output('LVS_BJT.1', 'LVS_BJT.1 : Minimum LVS_BJT enclosure of NPN or PNP Emitter COMP layers: 0um')
lvs_l1.forget
vnpn_e.forget
vpnp_e.forget
proppy marked this conversation as resolved.
Show resolved Hide resolved
end
Binary file added klayout/drc/testing/testcases/unit/lvs_bjt.gds
Binary file not shown.
42 changes: 42 additions & 0 deletions klayout/drc/testing/testcases/unit/lvs_bjt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.