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

Added capm MIM DRC rules from sky130.tech in open_pdks. #263

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

diadatp
Copy link
Contributor

@diadatp diadatp commented Nov 27, 2020

Starts to fix #262.

Values were obtained from here.

If the rules for cap2m are the same then a corresponding cap2m table can be added.
The values for (capm.6) and (capm.12) were not found in the magic techfile and have been left empty in the pull request.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Nov 27, 2020
Copy link
Collaborator

@RTimothyEdwards RTimothyEdwards left a comment

Choose a reason for hiding this comment

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

Also please check if the general rules ("X") include the off-grid errors for both capm and cap2m (both of these are X.1a errors), and 45 degree limitation (both rules X.3a).

The actual rule distances for both capm.4 and capm.5 is 0.14um. The rule in the magic techfile may be wrong, and I need to check it. The rule distances for cap2m.4 and cap2m.5 is 0.20um (also seems to be wrong in the magic techfile); this is one of the few differences between capm and cap2m.

Rule capm.6 is 20 (aspect ratio) and magic does not have a rule type to check it.

The full rule text for capm.7 is "Only rectangular or L-shaped capacitors allowed". Magic does not have a rule type that would detect an L-shaped capacitor.

Rule capm.8 refers to via2, not via3. Magic includes via3 as a rule due to its way of handling different contact types. The via3 spacing rule in magic should not be referring to the capm.8 rule.

Rules capm.10 and capm.12 do not exist in the sky130 technology variant.

All rules are the same between capm and cap2m except rules 4 and 5, as noted above. Otherwise, cap2m can be copied from capm by increasing the metal and via layer numbers by 1 everywhere.

…mmit.

X.1a grid spacing rule updated.

Updated capm and cap2m rules in line with PR discussion.
 - .4 min enclosure corrected
 - .6 aspect ratio added
 - .7 shape restrictions updated
 - .8 via reference corrected
 - obsolete .10 and .12 rules removed

Added cap2m entry in periphery.csv.
Added cap2m to periphery-split-csv.py no_pics list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing design rules for MiM caps
2 participants