Skip to content

Commit

Permalink
Merge pull request #99 from siliconcompiler/fix-asap7-min-area
Browse files Browse the repository at this point in the history
fix min-area in asap7
  • Loading branch information
gadfort authored Sep 27, 2024
2 parents 1c99eb8 + 1f9f477 commit aa309a7
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions lambdapdk/asap7/base/apr/asap7_tech.lef
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ VERSION 5.8 ;
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
CLEARANCEMEASURE EUCLIDEAN ;
USEMINSPACING OBS OFF ;

UNITS
DATABASE MICRONS 1000.0 ;
DATABASE MICRONS 1000 ;
END UNITS
MANUFACTURINGGRID 0.001 ;

Expand All @@ -54,10 +55,10 @@ PROPERTYDEFINITIONS
LAYER LEF58_RECTONLY STRING ;
END PROPERTYDEFINITIONS

LAYER OVERLAP
TYPE OVERLAP ;
END OVERLAP

#LAYER OVERLAP
# TYPE OVERLAP ;
#END OVERLAP
#
LAYER nwell
TYPE MASTERSLICE ;
PROPERTY LEF58_TYPE "TYPE NWELL ;" ;
Expand Down Expand Up @@ -88,7 +89,7 @@ LAYER M1
PITCH 0.036 ;
WIDTH 0.018 ;
SPACING 0.018 ;
AREA 0.002664 ; # Min Area # This should ideally be 16x not 4x as each dimension is scaled up by 4.0
AREA 0.000666 ; # Min Area
# we only allow landing on pins (set in router) so area should not matter
SPACING 0.018 RANGE 0.036 1.0 ; # This rule is redundant with the SPACING rule

Expand Down Expand Up @@ -118,7 +119,7 @@ LAYER M2
# MINSIZE 0.112 0.072 ;
# area is adjusted to match this (Nanoroute requires both AREA and MINSIZE)

AREA 0.002664 ;
AREA 0.000666 ;
MINSIZE 0.037 0.018 ;

PITCH 0.045 0.036 ;
Expand Down Expand Up @@ -183,7 +184,7 @@ LAYER M3
# MINSIZE 0.112 0.072 ;
# area is adjusted to match this (Nanoroute requires both AREA and MINSIZE)

AREA 0.002664 ;
AREA 0.000666 ;
MINSIZE 0.037 0.018 ;

PROPERTY LEF58_SPACING
Expand Down Expand Up @@ -260,7 +261,7 @@ LAYER M4

OFFSET 0.003 ;

AREA 0.008 ;
AREA 0.002 ;

PROPERTY LEF58_SPACING "
SPACING 0.024 ENDOFLINE 0.025 WITHIN 0.04 ENDTOEND 0.04 ; " ;
Expand Down Expand Up @@ -342,7 +343,7 @@ LAYER M5
SPACING 0.024 ;
OFFSET 0.0 ;

AREA 0.008 ;
AREA 0.002 ;

PROPERTY LEF58_SPACING "
SPACING 0.024 ENDOFLINE 0.025 WITHIN 0.04 ENDTOEND 0.04 ; " ;
Expand Down Expand Up @@ -429,7 +430,7 @@ LAYER M6
WIDTH 0.032 ;
SPACING 0.032 ;

AREA 0.00875 ; # Areas still need tweaking
AREA 0.0021875 ; # Areas still need tweaking

PROPERTY LEF58_SPACING
" SPACING 0.032 ENDOFLINE 0.0375 WITHIN 0.04 ENDTOEND 0.04 ; " ;
Expand All @@ -448,8 +449,8 @@ LAYER M6

SPACINGTABLE
PARALLELRUNLENGTH 0.0
WIDTH 0.0 0.024
WIDTH 0.025 0.072 ;
WIDTH 0.0 0.032
WIDTH 0.033 0.072 ;

PROPERTY LEF58_RIGHTWAYONGRIDONLY "
RIGHTWAYONGRIDONLY ;
Expand Down Expand Up @@ -502,7 +503,7 @@ LAYER M7
WIDTH 0.032 ;
SPACING 0.032 ;

AREA 0.00875 ; # Areas still need tweaking
AREA 0.0021875 ; # Areas still need tweaking

PROPERTY LEF58_SPACING
" SPACING 0.03 ENDOFLINE 0.0375 WITHIN 0.04 ENDTOEND 0.04 ; " ;
Expand All @@ -524,8 +525,8 @@ LAYER M7

SPACINGTABLE
PARALLELRUNLENGTH 0.0
WIDTH 0.0 0.024
WIDTH 0.025 0.072 ;
WIDTH 0.0 0.032
WIDTH 0.033 0.072 ;

PROPERTY LEF58_RIGHTWAYONGRIDONLY "
RIGHTWAYONGRIDONLY ;
Expand All @@ -548,7 +549,7 @@ LAYER M8
DIRECTION HORIZONTAL ;
PITCH 0.08 0.08 ;
WIDTH 0.04 ;
AREA 7.52 ;
AREA 0.00752 ;

SPACINGTABLE
PARALLELRUNLENGTH 0.0 0.39975 1.19975 1.79975
Expand Down Expand Up @@ -577,7 +578,7 @@ LAYER M9
DIRECTION VERTICAL ;
PITCH 0.08 0.08 ;
WIDTH 0.04 ;
AREA 7.52 ;
AREA 0.00752 ;

SPACINGTABLE
PARALLELRUNLENGTH 0.0 0.39975 1.19975 1.79975
Expand Down Expand Up @@ -640,7 +641,7 @@ VIA VIA78 Default
LAYER M7 ;
RECT -0.016 -0.027 0.016 0.027 ;
LAYER M8 ;
RECT -0.027 -0.016 0.027 0.016 ;
RECT -0.027 -0.020 0.027 0.020 ;
LAYER V7 ;
RECT -0.016 -0.016 0.016 0.016 ;
END VIA78
Expand Down

0 comments on commit aa309a7

Please sign in to comment.