layer map table from LEF to GDS #1919
Replies: 1 comment
-
For the sky130hs and sky130hs process and libraries, the only way I have found to get the proper GDS layers in the 6_final.gds is to add the file layermap.txt (below) in the platforms/sky130hs and platforms/sky130hs and add the following line : export GDS_LAYER_MAP = ../../../../$(PLATFORM_DIR)/layermap.txt in the files platforms/sky130hs/config.mk and platforms/sky130hd/config.mk BRgds, layermap.txt file : also in : https://github.com/laurentc2/SKY130_for_KLayout/blob/main/layermap.txt : KLayout mapping file for sky130DIEAREA ALL 100 0 li1 NET,SPNET,VIA 67 20 mcon VIA 67 44 met1 NET,SPNET,VIA 68 20 via VIA 68 44 met2 NET,SPNET,VIA 69 20 via2 VIA 69 44 met3 NET,SPNET,VIA 70 20 via3 VIA 70 44 met4 NET,SPNET,VIA 71 20 via4 VIA 71 44 met5 NET,SPNET,VIA 72 20 |
Beta Was this translation helpful? Give feedback.
-
Just to share my experience, I found 2 ways to setup the layer map table from LEF to GDS within the OpenROAD flow :
in the klayout .lyt file, in the statement, you need this line to describe the layer_map table for each layer of the LEF tech file :
layer_map('METAL1:1/0'; 'METAL1.LABEL:1/3'; 'METAL1.PIN:1/9'; 'METAL2:2/0'; 'METAL2.LABEL:2/3'; 'METAL2.PIN:2/9'; 'METAL3:3/0'; 'METAL3.LABEL:3/3'; 'METAL3.PIN:3/9'; 'VIA1:5/0'; 'VIA2:6/0'; 'OUTLINE:10/0')
you can describe it in a separate file stated in the platform/my_tech/config.mk file with :
export GDS_LAYER_MAP = $(PLATFORM_DIR)/layermap.txt
then, you need to write that file : platform/my_tech/layermap.txt as described here :
https://www.klayout.de/forum/discussion/2092/syntax-for-layoutoptions-lefdef-config-map-file :
BRgds,
Laurent
Beta Was this translation helpful? Give feedback.
All reactions