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

Basic filler scripts for ihp-sg13g2 open PDK #255

Open
wants to merge 29 commits into
base: dev
Choose a base branch
from

Conversation

KrzysztofHerman
Copy link
Contributor

@KrzysztofHerman KrzysztofHerman commented Nov 8, 2024

This PR contains basic filler scripts for the PDK.

The filling process can be run from the command line using a python script:

klayout -n sg13g2 -zz -r $PDK_ROOT/$PDK/libs.tech/klayout/tech/scripts/filler.py -rd output_file=./design_filled.gds design_nofill.gds   

It is mandatory to have a sealring in the design.

In order to control metal filler densities user can modify the following scripts:

$PDK_ROOT/$PDK/libs.tech/klayout/tech/scripts/macros/sg13g2_filler_Metal.lym  
$PDK_ROOT/$PDK/libs.tech/klayout/tech/scripts/macros/sg13g2_filler_TopMetal.lym

where the width, length and also the distance between the filler cells can be altered. Please respect the DRC rules related to the sizes and separation of the filler cells (sections 5.18 and 5.23 of the SG13G2_Layout_Rules_os.pdf document).

While running minimal DRC in klayout one can expect AFil.g2, M1-5Fil.h errors related to the area outside the design, where the densities are calculated. The errors can be waived.

Special thanks to Daniel Schultz for providing the scripts.

KrzysztofHerman and others added 28 commits August 22, 2024 11:35
Signed-off-by: KrzysztofHerman <[email protected]>
Signed-off-by: KrzysztofHerman <[email protected]>
Signed-off-by: KrzysztofHerman <[email protected]>
…xtended, issues with MOS and MC

Signed-off-by: KrzysztofHerman <[email protected]>
Signed-off-by: KrzysztofHerman <[email protected]>
Signed-off-by: KrzysztofHerman <[email protected]>
It supports XYCE mos devices instantiation using NF and M parameter
separately
Signed-off-by: KrzysztofHerman <[email protected]>
@dnltz
Copy link
Contributor

dnltz commented Nov 8, 2024

@KrzysztofHerman just verified the metal fill scripts again. No fill outside of the sealring and no fill violations!

image

@KrzysztofHerman
Copy link
Contributor Author

@dnltz same here:

image

@joerdsonsilva
Copy link

To submit the GDS file, do I need to fix the AFil.g2 and M1-5 Fil.h errors reported by maximal DRC?

@KrzysztofHerman
Copy link
Contributor Author

@joerdsonsilva I wrote in the description of this PR "While running minimal DRC in klayout one can expect AFil.g2, M1-5Fil.h errors related to the area outside the design, where the densities are calculated. The errors can be waived."
So please check where klayout marks this errors in you layout, it is probably mostly outside the actual design region. If this is the case you can submit it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants