打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
File 介绍——LEF File
userphoto

2022.06.22 湖北

关注

本公众号【读芯树:duxinshu_PD】主要介绍数字集成电路物理设计相关知识,才疏学浅,如有错误,欢迎指正交流学习。

这是集成电路物理设计的第三个系列【File】的第二篇文章,本篇文章主要讲解LEF file相关内容:

1,什么是LEF fille?

  • LEF = library exchange format

  • LEF file是可读的ASCII格式。

  • LEF file分为两种:tech.lef和cell.lef,工具需要先读入tech.lef再读入cell.lef。

  • LEF file中包含standard cell/macro的物理信息,但比GDS file包含的物理信息少。

2,TECH.LEF介绍

  • tech.lef主要包含了工艺相关的信息,如布线层数,最小线宽,线与线之间的最小间距,最小pitch等信息。

  • tech.lef还包含了单位的定义,SITE的定义,VIA的定义,Metal的信息,以及各种drc rule的定义,在APR tool中检查drc所使用的rule就是tech.lef中所定义的rule。

3,CELL.LEF介绍

  • SITE的定义:

  • MACRO的定义:包含size,site, color, pin, obs等信息

    MACRO:代表一个单元cell。
    CLASS:描述cell的种类(CORE/BLOCK)。
    SITE:该cell的site属性
    PIN:cell包含所有的pin的信息,包含pin的方向:INPUT/OUTPUT/INOUTpin的属性:SIGNAL/POWER/GROUND,Pin shape及其color信息等等。
    OBS: cell包含的routing blockage信息,及其routing blockage color信息。

4,APR写出LEF cmd

  • TOP模块需要BLOCK模块的LEF进行拼接和相关设计。

    FC/ICC2 cmd:

    >write_lef -design [current_block] -include cell -version 5.8 design.cell.lef
    >write_lef -design $block.frame -include cell -version 5.8 design.frame.lef

    Innovus cmd:
    >write_lef_abstract -stripePin -specifyTopLayer 9 -PGpinLayer {9 10 11} -extractBlockPGPinLayers {9 10 11} -cutObsMinSpacting -extractBlockObs design.lef

5,GDS2LEF Flow

  • 工具Library Manager

    >create_workspace -technology $tech.tf -flow normal $lib_name
    >set_app_options -list {file.gds.trace_unmapped_text {true}}
    >set_app_options -list {file.gds.port_type_map  {{power VDD} {ground VSS}}}
    >set_attribute [get_layerrs M1] number_of_masks 2
    >read_gds -verbose -trace_option all -layer_map $map_file $all_gds
    >set_current_mismatch_config auto_fix
    >set_attribute -objects [get_lib_cells */*/design] -name site_name -value unit
    >set_attribute -objects [get_lib_pins */*/I] -name direction -value in
    >set_attribute -objects [get_lib_pins */*/Z*] -name direction -value out
    >set_attribute -objects [get_lib_pins */*/VDD] -name direction -value inout
    >set_attribute -objects [get_lib_pins */*/VSS] -name direction -value innout

    >current_block *:$cell.design
    >create_port -port_type power VPP
    >create_port -port_type ground VBB

    >set_attribute [get_lib_cells */*] is_mask_shiftable false
    >check_workspace
    >commit_workspace -f
    >open_lib $lib_name.ndm
    >set_attribute [get_lib_cells */$cell] site_name core
    >write_lef -library $lib_name -version 5.8 -include cell cell.lef

6,参考文献
1,foundary LEF file
2,Fusion Compiler/ IC Compiler 2 user guide
3,Innovus user guide
4,Library Manager user guide


本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Immunity | Hippo激酶Mst1 和Mst2通过感知并放大IL- 2R–STAT5 信号...
从此没有难做的floorplan(数字后端设计实现floorplan篇)
How do I merge two cells in an html table using javascript and dhtml/html?
Node Shapes | Graphviz
VB实用代码,收藏!!
Python安装Jupyter Notebook配置使用教程
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服