Changed the magic tech file so that it recognizes "obsactive" and will translate it to an FOM waffle drop datatype, so that the change made to the corner pad in the last commit actually works as advertised. Rebuilt the custom pad extension GDS library with this change. Also corrected an error in the tech file where a missing comma would cause polysilicon not be recognized during fill pattern generation, leading to collisions between poly and poly fill shapes.
diff --git a/sky130/custom/sky130_fd_io/gds/sky130_ef_io.gds b/sky130/custom/sky130_fd_io/gds/sky130_ef_io.gds index 374e108..158267c 100644 --- a/sky130/custom/sky130_fd_io/gds/sky130_ef_io.gds +++ b/sky130/custom/sky130_fd_io/gds/sky130_ef_io.gds Binary files differ
diff --git a/sky130/magic/sky130.tech b/sky130/magic/sky130.tech index 67047b2..d691af2 100644 --- a/sky130/magic/sky130.tech +++ b/sky130/magic/sky130.tech
@@ -1349,6 +1349,9 @@ #---------------------------------------------------------------- # FILLBLOCK #---------------------------------------------------------------- + layer FILLOBSFOM obsactive + calma 22 24 + layer FILLOBSM1 fillblock,fillblock4 calma 62 24 @@ -1766,12 +1769,12 @@ #--------------------------------------------------- # Diffusion and poly keep-out areas #--------------------------------------------------- - templayer obstruct_fom alldiff,allpoly,fomfill,polyfill,obspoly,obsactive + templayer obstruct_fom alldiff,allpoly,fomfill,polyfill,obsactive or rpw,pnp,npn grow 500 or well_guardband - templayer obstruct_poly alldiff,allpolyfomfill,polyfill,obspoly,obsactive + templayer obstruct_poly alldiff,allpoly,fomfill,polyfill,obsactive or rpw,pnp,npn grow 1000 @@ -2146,6 +2149,7 @@ ignore HVNTM ignore POLYMOD ignore LOWTAPDENSITY + ignore FILLOBSPOLY layer pnp NWELL,WELLTXT,WELLPIN and PNPID @@ -3580,6 +3584,8 @@ layer fillblock FILLOBSM1,FILLOBSM2,FILLOBSM3,FILLOBSM4 labels FILLOBSM1,FILLOBSM2,FILLOBSM3,FILLOBSM4 + layer obsactive FILLOBSFOM + # MOS Varactor layer var POLY @@ -3755,7 +3761,10 @@ calma FILLOBSM1 62 24 calma FILLOBSM2 105 52 calma FILLOBSM3 107 24 - calma FILLOBSM4 112 4 + calma FILLOBSM4 112 4 + calma FILLOBSFOM 22 24 + calma FILLOBSPOLY 33 24 + calma FOMFILL 65 28 calma POLYFILL 66 28 calma MET1FILL 68 28