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 MCELL table for GF180MCU DRC #60

Merged
merged 1 commit into from
Apr 5, 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
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
proppy marked this conversation as resolved.
Show resolved Hide resolved
#
# 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as #58 but non blocking.

#================================================
#---------------------MCELL----------------------
#================================================
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


# 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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as #53 but non blocking.

# 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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as #54 but non blocking.

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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as #54 but non blocking.

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