From ed354a6af0825f4368901cb1a599e4829c36da2e Mon Sep 17 00:00:00 2001 From: jeffhsu3 Date: Fri, 9 Oct 2026 18:53:28 -0700 Subject: [PATCH 1/2] asap7: whole-nanometre values where the tech LEF rounds off a rule The ASAP7 1x tech LEFs (asap7_tech_1x_201209.lef and asap7_tech_1x_260907.lef) declare DATABASE MICRONS 1000 but write several rule values on a quarter nanometre. OpenROAD stores them as lround(value * 1000), and three of them then stop the rule doing what it was written to do: - M1 EOLKEEPOUT 0.01825 becomes 18 nm. The EOL test is length < width, so no 18 nm (minimum-width) tip is a line end and the keep-out never applies. Now 0.019. - M4/M5 EOLKEEPOUT side extension 0.02425 becomes 24 nm and M6/M7's 0.03225 becomes 32 nm, exactly the edge of the wire on the adjacent track. The CORNERONLY check needs the corner strictly inside, so adjacent-track tips are never caught. Now 0.025 and 0.033. - M8/M9 SPACINGTABLE thresholds (0.05975 ... 0.99975, 0.39975, 1.19975, 1.79975) round up, so a width or run exactly on the intended 60 ... 1000 nm or 400/1200/1800 nm threshold falls in the row below. Now rounded down (0.059 ... 0.999, 0.399, 1.199, 1.799). On a routed SHA-256, OpenROAD's check_drc reported no M1 or M4/M5 keep-out violations with the stored values; with the M1 width at 19 and the M4/M5 side extension at 25 it reported 1164 on M1 and 249 + 2 on M4/M5. The other quarter-nanometre values (M2/M3 0.0125, M6/M7 ENDOFLINE 0.0375, V3/V5 EOL enclosure 0.02425, M6/M7 AREA, M4_M3widePWR0p864 width ranges) round to values that behave the same on a 1 nm grid and are unchanged. The 4x LEF holds these values as whole nanometres and is unaffected. Co-Authored-By: Claude Opus 5.5 Signed-off-by: jeffhsu3 --- .../asap7/lef/asap7_tech_1x_201209.lef | 57 +++++++++++++------ .../asap7/lef/asap7_tech_1x_260907.lef | 57 +++++++++++++------ 2 files changed, 80 insertions(+), 34 deletions(-) diff --git a/flow/platforms/asap7/lef/asap7_tech_1x_201209.lef b/flow/platforms/asap7/lef/asap7_tech_1x_201209.lef index 933ab3dd54..f6ffaba480 100644 --- a/flow/platforms/asap7/lef/asap7_tech_1x_201209.lef +++ b/flow/platforms/asap7/lef/asap7_tech_1x_201209.lef @@ -118,7 +118,10 @@ LAYER M1 # 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 - PROPERTY LEF58_EOLKEEPOUT "EOLKEEPOUT 0.01825 EXTENSION 0.0 0.0 0.031 ;" ; # Tip to Tip Spacing + # Tip to Tip Spacing. The EOL width is "less than", so it sits above the 18 nm + # minimum width to make an 18 nm tip a line end; it is 0.019, not 0.01825, since + # DATABASE MICRONS 1000 rounds 0.01825 to 18 and no 18 nm tip would qualify. + PROPERTY LEF58_EOLKEEPOUT "EOLKEEPOUT 0.019 EXTENSION 0.0 0.0 0.031 ;" ; PROPERTY LEF58_CORNERSPACING "CORNERSPACING CONVEXCORNER CORNERONLY 0.01 WIDTH 0.018 SPACING 0.018 ;" ; OFFSET 0.0 ; @@ -299,8 +302,11 @@ LAYER M4 WIDTH 0.0 SPACING 0.04 ; " ; + # The side extension reaches a wire on the adjacent track, 24 nm away; the + # corner must lie strictly inside, so it is 0.025, not 0.02425, which DATABASE + # MICRONS 1000 rounds to 24 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.025 EXTENSION 0.048 0.02425 0.048 CORNERONLY ; + EOLKEEPOUT 0.025 EXTENSION 0.048 0.025 0.048 CORNERONLY ; " ; # spacing table is required for the rule that has wide metal requires a 72nm (288 scaled) @@ -386,8 +392,11 @@ LAYER M5 WIDTH 0.0 SPACING 0.04 ; " ; + # The side extension reaches a wire on the adjacent track, 24 nm away; the + # corner must lie strictly inside, so it is 0.025, not 0.02425, which DATABASE + # MICRONS 1000 rounds to 24 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.025 EXTENSION 0.048 0.02425 0.048 + EOLKEEPOUT 0.025 EXTENSION 0.048 0.025 0.048 CORNERONLY ; " ; @@ -468,8 +477,11 @@ LAYER M6 WIDTH 0.0 SPACING 0.04 ; " ; + # The side extension reaches a wire on the adjacent track, 32 nm away; the + # corner must lie strictly inside, so it is 0.033, not 0.03225, which DATABASE + # MICRONS 1000 rounds to 32 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.05 EXTENSION 0.048 0.03225 0.048 CORNERONLY ; + EOLKEEPOUT 0.05 EXTENSION 0.048 0.033 0.048 CORNERONLY ; " ; SPACINGTABLE @@ -543,8 +555,11 @@ LAYER M7 WIDTH 0.0 SPACING 0.04 ; " ; + # The side extension reaches a wire on the adjacent track, 32 nm away; the + # corner must lie strictly inside, so it is 0.033, not 0.03225, which DATABASE + # MICRONS 1000 rounds to 32 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.05 EXTENSION 0.048 0.03225 0.048 + EOLKEEPOUT 0.05 EXTENSION 0.048 0.033 0.048 CORNERONLY ; " ; @@ -576,14 +591,18 @@ LAYER M8 WIDTH 0.04 ; AREA 0.00752 ; + # A row applies to a width, and a column to a run, greater than its value: each + # sits a nanometre under the manual's 60/80/120/500/1000 nm widths and 400/1200/ + # 1800 nm runs, which DATABASE MICRONS 1000 cannot hold a quarter of; 0.39975 + # would round to 0.400 and leave a run of exactly 400 nm in the column below. SPACINGTABLE - PARALLELRUNLENGTH 0.0 0.39975 1.19975 1.79975 + PARALLELRUNLENGTH 0.0 0.399 1.199 1.799 WIDTH 0.0 0.04 0.04 0.04 0.04 - WIDTH 0.05975 0.04 0.04 0.04 0.04 - WIDTH 0.07975 0.04 0.04 0.04 0.04 - WIDTH 0.11975 0.04 0.04 0.04 0.04 - WIDTH 0.49975 0.04 0.04 0.04 0.5 - WIDTH 0.99975 0.04 0.04 0.04 1.0 ; + WIDTH 0.059 0.04 0.04 0.04 0.04 + WIDTH 0.079 0.04 0.04 0.04 0.04 + WIDTH 0.119 0.04 0.04 0.04 0.04 + WIDTH 0.499 0.04 0.04 0.04 0.5 + WIDTH 0.999 0.04 0.04 0.04 1.0 ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMBELOW ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMABOVE ; @@ -605,14 +624,18 @@ LAYER M9 WIDTH 0.04 ; AREA 0.00752 ; + # A row applies to a width, and a column to a run, greater than its value: each + # sits a nanometre under the manual's 60/80/120/500/1000 nm widths and 400/1200/ + # 1800 nm runs, which DATABASE MICRONS 1000 cannot hold a quarter of; 0.39975 + # would round to 0.400 and leave a run of exactly 400 nm in the column below. SPACINGTABLE - PARALLELRUNLENGTH 0.0 0.39975 1.19975 1.79975 + PARALLELRUNLENGTH 0.0 0.399 1.199 1.799 WIDTH 0.0 0.04 0.04 0.04 0.04 - WIDTH 0.05975 0.04 0.04 0.04 0.04 - WIDTH 0.07975 0.04 0.04 0.04 0.04 - WIDTH 0.11975 0.04 0.04 0.04 0.04 - WIDTH 0.49975 0.04 0.04 0.04 0.5 - WIDTH 0.99975 0.04 0.04 0.04 1.0 ; + WIDTH 0.059 0.04 0.04 0.04 0.04 + WIDTH 0.079 0.04 0.04 0.04 0.04 + WIDTH 0.119 0.04 0.04 0.04 0.04 + WIDTH 0.499 0.04 0.04 0.04 0.5 + WIDTH 0.999 0.04 0.04 0.04 1.0 ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMABOVE ; MINSTEP 0.04 STEP ; diff --git a/flow/platforms/asap7/lef/asap7_tech_1x_260907.lef b/flow/platforms/asap7/lef/asap7_tech_1x_260907.lef index 6f6adf8184..eb6b86febf 100644 --- a/flow/platforms/asap7/lef/asap7_tech_1x_260907.lef +++ b/flow/platforms/asap7/lef/asap7_tech_1x_260907.lef @@ -99,7 +99,10 @@ LAYER M1 # 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 - PROPERTY LEF58_EOLKEEPOUT "EOLKEEPOUT 0.01825 EXTENSION 0.0 0.0 0.031 ;" ; # Tip to Tip Spacing + # Tip to Tip Spacing. The EOL width is "less than", so it sits above the 18 nm + # minimum width to make an 18 nm tip a line end; it is 0.019, not 0.01825, since + # DATABASE MICRONS 1000 rounds 0.01825 to 18 and no 18 nm tip would qualify. + PROPERTY LEF58_EOLKEEPOUT "EOLKEEPOUT 0.019 EXTENSION 0.0 0.0 0.031 ;" ; PROPERTY LEF58_CORNERSPACING "CORNERSPACING CONVEXCORNER CORNERONLY 0.01 WIDTH 0.018 SPACING 0.018 ;" ; OFFSET 0.0 ; @@ -257,8 +260,11 @@ LAYER M4 WIDTH 0.0 SPACING 0.04 ; " ; + # The side extension reaches a wire on the adjacent track, 24 nm away; the + # corner must lie strictly inside, so it is 0.025, not 0.02425, which DATABASE + # MICRONS 1000 rounds to 24 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.025 EXTENSION 0.048 0.02425 0.048 CORNERONLY ; + EOLKEEPOUT 0.025 EXTENSION 0.048 0.025 0.048 CORNERONLY ; " ; # spacing table is required for the rule that has wide metal requires a 72nm (288 scaled) @@ -344,8 +350,11 @@ LAYER M5 WIDTH 0.0 SPACING 0.04 ; " ; + # The side extension reaches a wire on the adjacent track, 24 nm away; the + # corner must lie strictly inside, so it is 0.025, not 0.02425, which DATABASE + # MICRONS 1000 rounds to 24 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.025 EXTENSION 0.048 0.02425 0.048 + EOLKEEPOUT 0.025 EXTENSION 0.048 0.025 0.048 CORNERONLY ; " ; @@ -426,8 +435,11 @@ LAYER M6 WIDTH 0.0 SPACING 0.04 ; " ; + # The side extension reaches a wire on the adjacent track, 32 nm away; the + # corner must lie strictly inside, so it is 0.033, not 0.03225, which DATABASE + # MICRONS 1000 rounds to 32 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.05 EXTENSION 0.048 0.03225 0.048 CORNERONLY ; + EOLKEEPOUT 0.05 EXTENSION 0.048 0.033 0.048 CORNERONLY ; " ; SPACINGTABLE @@ -501,8 +513,11 @@ LAYER M7 WIDTH 0.0 SPACING 0.04 ; " ; + # The side extension reaches a wire on the adjacent track, 32 nm away; the + # corner must lie strictly inside, so it is 0.033, not 0.03225, which DATABASE + # MICRONS 1000 rounds to 32 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.05 EXTENSION 0.048 0.03225 0.048 + EOLKEEPOUT 0.05 EXTENSION 0.048 0.033 0.048 CORNERONLY ; " ; @@ -534,14 +549,18 @@ LAYER M8 WIDTH 0.04 ; AREA 0.00752 ; + # A row applies to a width, and a column to a run, greater than its value: each + # sits a nanometre under the manual's 60/80/120/500/1000 nm widths and 400/1200/ + # 1800 nm runs, which DATABASE MICRONS 1000 cannot hold a quarter of; 0.39975 + # would round to 0.400 and leave a run of exactly 400 nm in the column below. SPACINGTABLE - PARALLELRUNLENGTH 0.0 0.39975 1.19975 1.79975 + PARALLELRUNLENGTH 0.0 0.399 1.199 1.799 WIDTH 0.0 0.04 0.04 0.04 0.04 - WIDTH 0.05975 0.04 0.04 0.04 0.04 - WIDTH 0.07975 0.04 0.04 0.04 0.04 - WIDTH 0.11975 0.04 0.04 0.04 0.04 - WIDTH 0.49975 0.04 0.04 0.04 0.5 - WIDTH 0.99975 0.04 0.04 0.04 1.0 ; + WIDTH 0.059 0.04 0.04 0.04 0.04 + WIDTH 0.079 0.04 0.04 0.04 0.04 + WIDTH 0.119 0.04 0.04 0.04 0.04 + WIDTH 0.499 0.04 0.04 0.04 0.5 + WIDTH 0.999 0.04 0.04 0.04 1.0 ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMBELOW ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMABOVE ; @@ -562,14 +581,18 @@ LAYER M9 WIDTH 0.04 ; AREA 0.00752 ; + # A row applies to a width, and a column to a run, greater than its value: each + # sits a nanometre under the manual's 60/80/120/500/1000 nm widths and 400/1200/ + # 1800 nm runs, which DATABASE MICRONS 1000 cannot hold a quarter of; 0.39975 + # would round to 0.400 and leave a run of exactly 400 nm in the column below. SPACINGTABLE - PARALLELRUNLENGTH 0.0 0.39975 1.19975 1.79975 + PARALLELRUNLENGTH 0.0 0.399 1.199 1.799 WIDTH 0.0 0.04 0.04 0.04 0.04 - WIDTH 0.05975 0.04 0.04 0.04 0.04 - WIDTH 0.07975 0.04 0.04 0.04 0.04 - WIDTH 0.11975 0.04 0.04 0.04 0.04 - WIDTH 0.49975 0.04 0.04 0.04 0.5 - WIDTH 0.99975 0.04 0.04 0.04 1.0 ; + WIDTH 0.059 0.04 0.04 0.04 0.04 + WIDTH 0.079 0.04 0.04 0.04 0.04 + WIDTH 0.119 0.04 0.04 0.04 0.04 + WIDTH 0.499 0.04 0.04 0.04 0.5 + WIDTH 0.999 0.04 0.04 0.04 1.0 ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMABOVE ; MINSTEP 0.04 STEP ; From 8d115252b8b76529f92a0c3e0acaa15db13b45be Mon Sep 17 00:00:00 2001 From: jeffhsu3 Date: Mon, 12 Oct 2026 18:21:18 -0700 Subject: [PATCH 2/2] asap7: DATABASE MICRONS 4000 instead of whole-nanometre rule values Both 1x tech LEFs declare DATABASE MICRONS 1000 but write several rule values on a quarter nanometre, which a 1 nm database rounds off. OpenROAD stores lround(value * dbu), and then no 18 nm M1 tip is a line end for EOLKEEPOUT (0.01825 -> 18, the test being length < width), the M4-M7 corner keep-out's side extension (0.02425, 0.03225 -> 24, 32) ends exactly on the adjacent track's wire edge, which a corner must lie strictly inside, and the M8/M9 SPACINGTABLE thresholds (0.05975 ... 1.79975) round up past the manual's. At 4000 units per micron every value in both files is exact, so the rules hold as ASAP7 wrote them: the stored M1 line-end width is 73 against a minimum width of 72, the side extensions 97 and 129 against adjacent edges at 96 and 128, and M6/M7's AREA 0.0021875 is 35000 rather than 2188. The manufacturing grid stays 0.001, now 4 units, so geometry is still on the nanometre. The platform's cell, DFF and SRAM LEFs carry no UNITS block and load unchanged. This replaces the earlier whole-nanometre substitutes, as the review of siliconcompiler/lambdapdk#246 asked; that copy and The-OpenROAD-Project/asap7sc7p5t_28#10 now make the same change, and The-OpenROAD-Project/OpenROAD#11695 made it to OpenROAD's own copies of this LEF and warns when a LEF value rounds (ODB-1220). Co-Authored-By: Claude Fable 5.1 Signed-off-by: jeffhsu3 --- .../asap7/lef/asap7_tech_1x_201209.lef | 62 +++++++------------ .../asap7/lef/asap7_tech_1x_260907.lef | 62 +++++++------------ 2 files changed, 42 insertions(+), 82 deletions(-) diff --git a/flow/platforms/asap7/lef/asap7_tech_1x_201209.lef b/flow/platforms/asap7/lef/asap7_tech_1x_201209.lef index f6ffaba480..381e20afdb 100644 --- a/flow/platforms/asap7/lef/asap7_tech_1x_201209.lef +++ b/flow/platforms/asap7/lef/asap7_tech_1x_201209.lef @@ -35,8 +35,11 @@ DIVIDERCHAR "/" ; CLEARANCEMEASURE EUCLIDEAN ; USEMINSPACING OBS OFF ; +# 4000, not 1000: several rules are written on a quarter nanometre (M1's +# EOLKEEPOUT width 0.01825, M4-M7's side extension 0.02425 and 0.03225, M8/M9's +# SPACINGTABLE thresholds 0.05975 ... 1.79975), which a 1 nm database rounds off. UNITS - DATABASE MICRONS 1000 ; + DATABASE MICRONS 4000 ; END UNITS MANUFACTURINGGRID 0.001 ; @@ -118,10 +121,7 @@ LAYER M1 # 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 - # Tip to Tip Spacing. The EOL width is "less than", so it sits above the 18 nm - # minimum width to make an 18 nm tip a line end; it is 0.019, not 0.01825, since - # DATABASE MICRONS 1000 rounds 0.01825 to 18 and no 18 nm tip would qualify. - PROPERTY LEF58_EOLKEEPOUT "EOLKEEPOUT 0.019 EXTENSION 0.0 0.0 0.031 ;" ; + PROPERTY LEF58_EOLKEEPOUT "EOLKEEPOUT 0.01825 EXTENSION 0.0 0.0 0.031 ;" ; # Tip to Tip Spacing PROPERTY LEF58_CORNERSPACING "CORNERSPACING CONVEXCORNER CORNERONLY 0.01 WIDTH 0.018 SPACING 0.018 ;" ; OFFSET 0.0 ; @@ -302,11 +302,8 @@ LAYER M4 WIDTH 0.0 SPACING 0.04 ; " ; - # The side extension reaches a wire on the adjacent track, 24 nm away; the - # corner must lie strictly inside, so it is 0.025, not 0.02425, which DATABASE - # MICRONS 1000 rounds to 24 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.025 EXTENSION 0.048 0.025 0.048 CORNERONLY ; + EOLKEEPOUT 0.025 EXTENSION 0.048 0.02425 0.048 CORNERONLY ; " ; # spacing table is required for the rule that has wide metal requires a 72nm (288 scaled) @@ -392,11 +389,8 @@ LAYER M5 WIDTH 0.0 SPACING 0.04 ; " ; - # The side extension reaches a wire on the adjacent track, 24 nm away; the - # corner must lie strictly inside, so it is 0.025, not 0.02425, which DATABASE - # MICRONS 1000 rounds to 24 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.025 EXTENSION 0.048 0.025 0.048 + EOLKEEPOUT 0.025 EXTENSION 0.048 0.02425 0.048 CORNERONLY ; " ; @@ -477,11 +471,8 @@ LAYER M6 WIDTH 0.0 SPACING 0.04 ; " ; - # The side extension reaches a wire on the adjacent track, 32 nm away; the - # corner must lie strictly inside, so it is 0.033, not 0.03225, which DATABASE - # MICRONS 1000 rounds to 32 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.05 EXTENSION 0.048 0.033 0.048 CORNERONLY ; + EOLKEEPOUT 0.05 EXTENSION 0.048 0.03225 0.048 CORNERONLY ; " ; SPACINGTABLE @@ -555,11 +546,8 @@ LAYER M7 WIDTH 0.0 SPACING 0.04 ; " ; - # The side extension reaches a wire on the adjacent track, 32 nm away; the - # corner must lie strictly inside, so it is 0.033, not 0.03225, which DATABASE - # MICRONS 1000 rounds to 32 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.05 EXTENSION 0.048 0.033 0.048 + EOLKEEPOUT 0.05 EXTENSION 0.048 0.03225 0.048 CORNERONLY ; " ; @@ -591,18 +579,14 @@ LAYER M8 WIDTH 0.04 ; AREA 0.00752 ; - # A row applies to a width, and a column to a run, greater than its value: each - # sits a nanometre under the manual's 60/80/120/500/1000 nm widths and 400/1200/ - # 1800 nm runs, which DATABASE MICRONS 1000 cannot hold a quarter of; 0.39975 - # would round to 0.400 and leave a run of exactly 400 nm in the column below. SPACINGTABLE - PARALLELRUNLENGTH 0.0 0.399 1.199 1.799 + PARALLELRUNLENGTH 0.0 0.39975 1.19975 1.79975 WIDTH 0.0 0.04 0.04 0.04 0.04 - WIDTH 0.059 0.04 0.04 0.04 0.04 - WIDTH 0.079 0.04 0.04 0.04 0.04 - WIDTH 0.119 0.04 0.04 0.04 0.04 - WIDTH 0.499 0.04 0.04 0.04 0.5 - WIDTH 0.999 0.04 0.04 0.04 1.0 ; + WIDTH 0.05975 0.04 0.04 0.04 0.04 + WIDTH 0.07975 0.04 0.04 0.04 0.04 + WIDTH 0.11975 0.04 0.04 0.04 0.04 + WIDTH 0.49975 0.04 0.04 0.04 0.5 + WIDTH 0.99975 0.04 0.04 0.04 1.0 ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMBELOW ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMABOVE ; @@ -624,18 +608,14 @@ LAYER M9 WIDTH 0.04 ; AREA 0.00752 ; - # A row applies to a width, and a column to a run, greater than its value: each - # sits a nanometre under the manual's 60/80/120/500/1000 nm widths and 400/1200/ - # 1800 nm runs, which DATABASE MICRONS 1000 cannot hold a quarter of; 0.39975 - # would round to 0.400 and leave a run of exactly 400 nm in the column below. SPACINGTABLE - PARALLELRUNLENGTH 0.0 0.399 1.199 1.799 + PARALLELRUNLENGTH 0.0 0.39975 1.19975 1.79975 WIDTH 0.0 0.04 0.04 0.04 0.04 - WIDTH 0.059 0.04 0.04 0.04 0.04 - WIDTH 0.079 0.04 0.04 0.04 0.04 - WIDTH 0.119 0.04 0.04 0.04 0.04 - WIDTH 0.499 0.04 0.04 0.04 0.5 - WIDTH 0.999 0.04 0.04 0.04 1.0 ; + WIDTH 0.05975 0.04 0.04 0.04 0.04 + WIDTH 0.07975 0.04 0.04 0.04 0.04 + WIDTH 0.11975 0.04 0.04 0.04 0.04 + WIDTH 0.49975 0.04 0.04 0.04 0.5 + WIDTH 0.99975 0.04 0.04 0.04 1.0 ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMABOVE ; MINSTEP 0.04 STEP ; diff --git a/flow/platforms/asap7/lef/asap7_tech_1x_260907.lef b/flow/platforms/asap7/lef/asap7_tech_1x_260907.lef index eb6b86febf..afdf1e5298 100644 --- a/flow/platforms/asap7/lef/asap7_tech_1x_260907.lef +++ b/flow/platforms/asap7/lef/asap7_tech_1x_260907.lef @@ -40,8 +40,11 @@ DIVIDERCHAR "/" ; CLEARANCEMEASURE EUCLIDEAN ; USEMINSPACING OBS OFF ; +# 4000, not 1000: several rules are written on a quarter nanometre (M1's +# EOLKEEPOUT width 0.01825, M4-M7's side extension 0.02425 and 0.03225, M8/M9's +# SPACINGTABLE thresholds 0.05975 ... 1.79975), which a 1 nm database rounds off. UNITS - DATABASE MICRONS 1000 ; + DATABASE MICRONS 4000 ; END UNITS MANUFACTURINGGRID 0.001 ; @@ -99,10 +102,7 @@ LAYER M1 # 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 - # Tip to Tip Spacing. The EOL width is "less than", so it sits above the 18 nm - # minimum width to make an 18 nm tip a line end; it is 0.019, not 0.01825, since - # DATABASE MICRONS 1000 rounds 0.01825 to 18 and no 18 nm tip would qualify. - PROPERTY LEF58_EOLKEEPOUT "EOLKEEPOUT 0.019 EXTENSION 0.0 0.0 0.031 ;" ; + PROPERTY LEF58_EOLKEEPOUT "EOLKEEPOUT 0.01825 EXTENSION 0.0 0.0 0.031 ;" ; # Tip to Tip Spacing PROPERTY LEF58_CORNERSPACING "CORNERSPACING CONVEXCORNER CORNERONLY 0.01 WIDTH 0.018 SPACING 0.018 ;" ; OFFSET 0.0 ; @@ -260,11 +260,8 @@ LAYER M4 WIDTH 0.0 SPACING 0.04 ; " ; - # The side extension reaches a wire on the adjacent track, 24 nm away; the - # corner must lie strictly inside, so it is 0.025, not 0.02425, which DATABASE - # MICRONS 1000 rounds to 24 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.025 EXTENSION 0.048 0.025 0.048 CORNERONLY ; + EOLKEEPOUT 0.025 EXTENSION 0.048 0.02425 0.048 CORNERONLY ; " ; # spacing table is required for the rule that has wide metal requires a 72nm (288 scaled) @@ -350,11 +347,8 @@ LAYER M5 WIDTH 0.0 SPACING 0.04 ; " ; - # The side extension reaches a wire on the adjacent track, 24 nm away; the - # corner must lie strictly inside, so it is 0.025, not 0.02425, which DATABASE - # MICRONS 1000 rounds to 24 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.025 EXTENSION 0.048 0.025 0.048 + EOLKEEPOUT 0.025 EXTENSION 0.048 0.02425 0.048 CORNERONLY ; " ; @@ -435,11 +429,8 @@ LAYER M6 WIDTH 0.0 SPACING 0.04 ; " ; - # The side extension reaches a wire on the adjacent track, 32 nm away; the - # corner must lie strictly inside, so it is 0.033, not 0.03225, which DATABASE - # MICRONS 1000 rounds to 32 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.05 EXTENSION 0.048 0.033 0.048 CORNERONLY ; + EOLKEEPOUT 0.05 EXTENSION 0.048 0.03225 0.048 CORNERONLY ; " ; SPACINGTABLE @@ -513,11 +504,8 @@ LAYER M7 WIDTH 0.0 SPACING 0.04 ; " ; - # The side extension reaches a wire on the adjacent track, 32 nm away; the - # corner must lie strictly inside, so it is 0.033, not 0.03225, which DATABASE - # MICRONS 1000 rounds to 32 and so to exactly that wire's edge. PROPERTY LEF58_EOLKEEPOUT " - EOLKEEPOUT 0.05 EXTENSION 0.048 0.033 0.048 + EOLKEEPOUT 0.05 EXTENSION 0.048 0.03225 0.048 CORNERONLY ; " ; @@ -549,18 +537,14 @@ LAYER M8 WIDTH 0.04 ; AREA 0.00752 ; - # A row applies to a width, and a column to a run, greater than its value: each - # sits a nanometre under the manual's 60/80/120/500/1000 nm widths and 400/1200/ - # 1800 nm runs, which DATABASE MICRONS 1000 cannot hold a quarter of; 0.39975 - # would round to 0.400 and leave a run of exactly 400 nm in the column below. SPACINGTABLE - PARALLELRUNLENGTH 0.0 0.399 1.199 1.799 + PARALLELRUNLENGTH 0.0 0.39975 1.19975 1.79975 WIDTH 0.0 0.04 0.04 0.04 0.04 - WIDTH 0.059 0.04 0.04 0.04 0.04 - WIDTH 0.079 0.04 0.04 0.04 0.04 - WIDTH 0.119 0.04 0.04 0.04 0.04 - WIDTH 0.499 0.04 0.04 0.04 0.5 - WIDTH 0.999 0.04 0.04 0.04 1.0 ; + WIDTH 0.05975 0.04 0.04 0.04 0.04 + WIDTH 0.07975 0.04 0.04 0.04 0.04 + WIDTH 0.11975 0.04 0.04 0.04 0.04 + WIDTH 0.49975 0.04 0.04 0.04 0.5 + WIDTH 0.99975 0.04 0.04 0.04 1.0 ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMBELOW ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMABOVE ; @@ -581,18 +565,14 @@ LAYER M9 WIDTH 0.04 ; AREA 0.00752 ; - # A row applies to a width, and a column to a run, greater than its value: each - # sits a nanometre under the manual's 60/80/120/500/1000 nm widths and 400/1200/ - # 1800 nm runs, which DATABASE MICRONS 1000 cannot hold a quarter of; 0.39975 - # would round to 0.400 and leave a run of exactly 400 nm in the column below. SPACINGTABLE - PARALLELRUNLENGTH 0.0 0.399 1.199 1.799 + PARALLELRUNLENGTH 0.0 0.39975 1.19975 1.79975 WIDTH 0.0 0.04 0.04 0.04 0.04 - WIDTH 0.059 0.04 0.04 0.04 0.04 - WIDTH 0.079 0.04 0.04 0.04 0.04 - WIDTH 0.119 0.04 0.04 0.04 0.04 - WIDTH 0.499 0.04 0.04 0.04 0.5 - WIDTH 0.999 0.04 0.04 0.04 1.0 ; + WIDTH 0.05975 0.04 0.04 0.04 0.04 + WIDTH 0.07975 0.04 0.04 0.04 0.04 + WIDTH 0.11975 0.04 0.04 0.04 0.04 + WIDTH 0.49975 0.04 0.04 0.04 0.5 + WIDTH 0.99975 0.04 0.04 0.04 1.0 ; MINIMUMCUT 2 WIDTH 1.805 WITHIN 1.705 FROMABOVE ; MINSTEP 0.04 STEP ;