Skip to content
Open
2 changes: 1 addition & 1 deletion flow/platforms/nangate45/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export PROCESS = 45
# Tech/Libs
# ----------------------------------------------------
export TECH_LEF = $(PLATFORM_DIR)/lef/NangateOpenCellLibrary.tech.lef
export SC_LEF = $(PLATFORM_DIR)/lef/NangateOpenCellLibrary.macro.mod.lef
export SC_LEF = $(PLATFORM_DIR)/lef/NangateOpenCellLibrary.macro.lef

export LIB_FILES = $(PLATFORM_DIR)/lib/NangateOpenCellLibrary_typical.lib \
$(ADDITIONAL_LIBS)
Expand Down
42 changes: 36 additions & 6 deletions flow/platforms/nangate45/lef/NangateOpenCellLibrary.macro.lef
Original file line number Diff line number Diff line change
Expand Up @@ -4061,7 +4061,7 @@ MACRO FA_X1
END FA_X1

MACRO FILLCELL_X1
CLASS core ;
CLASS core SPACER ;
FOREIGN FILLCELL_X1 0.0 0.0 ;
ORIGIN 0 0 ;
SYMMETRY X Y ;
Expand All @@ -4088,7 +4088,7 @@ MACRO FILLCELL_X1
END FILLCELL_X1

MACRO FILLCELL_X16
CLASS core ;
CLASS core SPACER ;
FOREIGN FILLCELL_X16 0.0 0.0 ;
ORIGIN 0 0 ;
SYMMETRY X Y ;
Expand All @@ -4115,7 +4115,7 @@ MACRO FILLCELL_X16
END FILLCELL_X16

MACRO FILLCELL_X2
CLASS core ;
CLASS core SPACER ;
FOREIGN FILLCELL_X2 0.0 0.0 ;
ORIGIN 0 0 ;
SYMMETRY X Y ;
Expand All @@ -4142,7 +4142,7 @@ MACRO FILLCELL_X2
END FILLCELL_X2

MACRO FILLCELL_X32
CLASS core ;
CLASS core SPACER ;
FOREIGN FILLCELL_X32 0.0 0.0 ;
ORIGIN 0 0 ;
SYMMETRY X Y ;
Expand All @@ -4169,7 +4169,7 @@ MACRO FILLCELL_X32
END FILLCELL_X32

MACRO FILLCELL_X4
CLASS core ;
CLASS core SPACER ;
FOREIGN FILLCELL_X4 0.0 0.0 ;
ORIGIN 0 0 ;
SYMMETRY X Y ;
Expand All @@ -4196,7 +4196,7 @@ MACRO FILLCELL_X4
END FILLCELL_X4

MACRO FILLCELL_X8
CLASS core ;
CLASS core SPACER ;
FOREIGN FILLCELL_X8 0.0 0.0 ;
ORIGIN 0 0 ;
SYMMETRY X Y ;
Expand Down Expand Up @@ -9630,6 +9630,36 @@ MACRO XOR2_X2
END
END XOR2_X2

MACRO TAPCELL_X1
#CLASS CORE ;
CLASS CORE WELLTAP ;
Comment on lines +9634 to +9635

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Remove the commented-out #CLASS CORE ; line to keep the LEF file clean, and use lowercase core for the CLASS definition to maintain consistency with the other macros in this file (e.g., CLASS core SPACER ;).

  CLASS core WELLTAP ;

ORIGIN 0 0 ;
FOREIGN TAPCELL_X1 0 0 ;
SIZE 0.19 BY 1.4 ;
SYMMETRY X Y ;
SITE FreePDK45_38x28_10R_NP_162NW_34O ;
PIN VDD
DIRECTION INOUT ;
USE POWER ;
SHAPE ABUTMENT ;
PORT
LAYER metal1 ;
RECT 0 1.315 0.19 1.485 ;
RECT 0.06 0.975 0.13 1.315 ;
END
END VDD
PIN VSS
DIRECTION INOUT ;
USE GROUND ;
SHAPE ABUTMENT ;
PORT
LAYER metal1 ;
RECT 0 -0.085 0.19 0.085 ;
RECT 0.06 0.085 0.13 0.425 ;
END
END VSS
END TAPCELL_X1

END LIBRARY
#
# End of file
Expand Down