Skip to content

Commit

Permalink
Adding MCELL table for GF180MCU DRC
Browse files Browse the repository at this point in the history
  • Loading branch information
FaragElsayed2 committed Apr 3, 2023
1 parent b2fec42 commit 97061f6
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 0 deletions.
47 changes: 47 additions & 0 deletions klayout/drc/rule_decks/mcell.drc
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# 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
#================================================
#---------------------MCELL----------------------
#================================================

# Rule MC.1: min. mcell width is 0.4µm
logger.info('Executing rule MC.1')
mc1_l1 = mcell_feol_mk.width(0.4.um, euclidian)
mc1_l1.output('MC.1', 'MC.1 : min. mcell width : 0.4µm')
mc1_l1.forget

# Rule MC.2: min. mcell spacing is 0.4µm
logger.info('Executing rule MC.2')
mc2_l1 = mcell_feol_mk.space(0.4.um, euclidian)
mc2_l1.output('MC.2', 'MC.2 : min. mcell spacing : 0.4µm')
mc2_l1.forget

# Rule MC.3: Minimum Mcell area is 0.35µm²
logger.info('Executing rule MC.3')
mc3_l1 = mcell_feol_mk.with_area(nil, 0.35.um)
mc3_l1.output('MC.3', 'MC.3 : Minimum Mcell area : 0.35µm²')
mc3_l1.forget

# Rule MC.4: Minimum area enclosed by Mcell is 0.35µm²
logger.info('Executing rule MC.4')
mc4_l1 = mcell_feol_mk.holes.with_area(nil, 0.35.um)
mc4_l1.output('MC.4', 'MC.4 : Minimum area enclosed by Mcell : 0.35µm²')
mc4_l1.forget
end
Binary file added klayout/drc/testing/testcases/unit/mcell.gds
Binary file not shown.
Loading

0 comments on commit 97061f6

Please sign in to comment.