Added capm MIM DRC rules from sky130.tech in open_pdks.#263
Added capm MIM DRC rules from sky130.tech in open_pdks.#263diadatp wants to merge 2 commits intogoogle:mainfrom
Conversation
RTimothyEdwards
left a comment
There was a problem hiding this comment.
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.
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.