sh-sh的个人空间 https://blog.eetop.cn/850711 [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

Library Compiler by Synopsys

已有 5273 次阅读| 2017-5-25 23:13 |系统分类:芯片设计

Synopsys requires a library file which describes the logic gates available for synthesis operations.

If you are at your root, go to your Synopsys directory by typing.

 

cd /cad/synopsys

 

Copy the library file to your Synopsys directory by typing:

 

cp /home/cad/startup/EE6325/aux/library.lib .

 

Use "ls" commend to check if "library.lib" is in your synopsys directory. This file contains logical descriptions and timing information for a set of logic gates (cells).  The first time you use Synopsys, you probably won't have a cell library yet, so you should use this library as-is.  The library file contains definitions for an inverter, nand2, nand3, nand4, nor2, nor3, aoi12, aoi22, oai12, oai22, and d-flip-flop.  When you create a cell library in Cadence later on, you will need to modify the Synopsys library file to match your cells.  If your cells differ from those in the library file, you may need to change cell names, pin names, and /or logical descriptions in the library file to match; this shouldn't be much of a problem if you pay attention to the Synopsys library file when laying out your cells in Cadence.  Timing information is a more advanced subject, so you shouldn't change the given values, although you may want to experiment with changing the reported delays to match those of your cells if time allows.

 

please source the below profile whenever you are using Synopsys tools

 

. /proj/cad/startup/profile.synopsys_2013

 

After making changes to the library file (if necessary), you will need to compile it into a database format suitable for Synopsys to use.  Start the lc_shell compiler by typing:

 

lc_shell

 

NOTE: Ignore errors for now...Just keep moving on

http://www.utdallas.edu/~akshay.sridharan/index_files/image14070.png

 

Now read and compile the library file by typing:

read_lib library.lib

write_lib library -format db -output library.db

 

If it reports an error message like “library source file is not found”, add your path before the library file name:

 

read_lib <your_path>/library.lib

or

read_lib ./library.lib

 

If the program is successfully reading your commend, it will returns "1".

 

http://www.utdallas.edu/~akshay.sridharan/index_files/image14072.png

 

Exit the lc_shell by typing:

quit

 

You should now see a db version of library.lib in your Synopsys directory as library.db.


点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 2

    粉丝
  • 1

    好友
  • 0

    获赞
  • 1

    评论
  • 1135

    访问数
关闭

站长推荐 上一条 /2 下一条


小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-12-27 03:47 , Processed in 0.018810 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部