微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微电子和IC设计 > IC后端设计交流 > 菜鸟来问:关于milkyway library,完全不懂

菜鸟来问:关于milkyway library,完全不懂

时间:10-02 整理:3721RD 点击:
各位:
Ic compiler 可以通过create_mw_lib命令来产生milkyway library。
首先,我不明白milkyway library是干什么的,跟平常的什么target library 、link library等有什么区别么?其次,-technology指的是technology file,那什么是technology file呢,是不是*.tf文件呢,有个文件是smic13g_hs81m.tf,我用 create_mw_lib -technology smic13g_hs81m.tf,怎么就不行呢?
其次,我不明白,什么是milkyway reference library,什么是milkyway design library,两者有什么区别么?
我这里一头雾水,问题多多,有哪位愿意为我解惑一下呢?
谢谢。

我也是刚学没多久,这几个库也不太明白,也盼有高手指点一下。
technology file指的就是*.tf的文件。
你的tf文件放在哪儿的?加目录看行不?

刚开始也以为是目录的问题,相对路径和绝对路径都不对。

用MilkeyWay这个软件做一个MW的库出来,这个库就是你的Reference Libarary

还是不懂。为什么要做一个MW的库呀,这个库是用来干嘛的呢,平时用的Reference Library都是由MilkeyWay产生的么,自己没办法产生的的话一般由foundary提供还是。mw的reference库和design库有什么区别么?你能不能从基本的说起,一些基本的东西我都没有概念。

基本的去看UserGuide。
有一些MW的库Foundary会提供,但是有一些IP就要自己做了,不如说Memory, PLL等。
ICC是基于Milkyway对库来进行设计的,这就要用Milkyway到库来支持。
FRAM,这个是Design中STD或者MACRO的框架,如果工具都不知道设计中的东西长得怎样,怎么做Place啊?
TIM, 这个包含了Cell的Timing信息,优化用的。
LM, Logicmodule
PWR: power

谢谢楼上。
比如说,我现在用的是.13的库,在其/sc-x/apollo/目录下有smic13g、smic13hvt、smic131vt三个子目录。这三个目录下都有CEL、FRAM、PWR、TIM 库。LM没找到,CEL是什么呢?另外,目录下的“lib”文件是不是就是Milkyway库文件(是全名就是lib,不是*.lib文件)。那么,我有个问题,综合的时候用的是ss_1v08_125c.db,那么,Milkyway库该用哪个呢?

xxx.lib is libberty format, i.e. this is librariy source file.
your can compile lib file into db file by using Library Compiler.
all Synopsys tools use db file as library.
all Cadence tools just use lib file as library, because db is synopsys format and they don't like that.
You can use "gePrepLibs" command to generate the LM view to store all the timing, power, ... information.

The"gePrepLibs" command is a command of icc_shell?You mean to use *.lib file to generate Milkyway library,right?but ,how?

Front End only design, there is no need for mw library if you have db file, which is good enough.
Back End desing, you need the phyiscal information, which stores in mw library.
You can use "Milkyway" or "Astro" to generate the mw library. The "gePrepLibs" is the scheme command which can be used under both tools. icc_shell won't accept that. icc_shell don't use scheme language.
You can have options to use .lib or .db for LM view.
The LM (logic model) view minimizes the transfer of data between the standard Synopsys design database and the Milkyway database, providing integration of the two Synopsys databases.
The LM view is derived from the .lib- or .db-formatted Synopsys libraries. It resides in the Milkyway reference library directory structure, enabling Astro to use the same timing information as Design Compiler and Physical Compiler and the same cell delay calculator as PrimeTime. The LM view supports the same net delay calculator as PrimeTime, and it has better correlation with PrimeTime than the TIM view.
The LM view provides enhanced SDC correlation and enhanced Astro-Rail support. It also adds logical library capability to Astro. In addition, the Astro-Rail-to-Power Compiler flow and the read- and write Milkyway database processes (from Design Compiler and Physical Compiler) require LM views.

Thanks.
I can well unstand the first half,but can not unstand the second half. I think it is beacuse i have no idea with Milkyway reference library and Milkyway design library. I see user guide of icc_shell, when specify Milkyway reference libraries , it has "input reference libraries" and " reference control file" ,what's the difference? Could you explan these for me ?

还是不明白啊

"input reference libraries" means you enter all the reference libraries, which are used inyour netlist.
"reference control file" means the file contains all the list of refence libraries.
It's similiar to simulate HDL. You can explicitly list all the .v files or use -f filename, which contains all the verilog files.

thanks!

ICC的步骤就是开始一个design,必须对这个design先建立milkyway library。这个milkyway library指的就是你当前的design的database,当你完成当前design的P&R后,此library就包含了你的design的所有layout信息如fp,placement,routing等等。
而target library,link library指的是你的design要调用的stdcell,memory,IP的timing信息
milkyway reference library指的就是你所调用的stdcell、memory、IP的physical 信息,一般有framview,cellview等等。 framview一般只包含IO pin信息,而cellview包含了很详细的PR信息。

小编能不能把你用的那几个库给我分享一下啊 什么hvt lvt(milkyway库)等, 最好还有.lib .db .tf .itf .tluplus等,现在在学习后端设计啊

学习了!

您回答很详细,谢谢

一头雾水。

你好我想问一下:比如 tsmc65的一个库 tsmc65/sc12_base_rvt/r3p0-00eac0/milkyway目录下有 CN65S_6M_3X2ZCN65S_7M_4X2YCN65S_7M_5X1ZCN65S_8M_6X1Z CN65S_6M_4X1ZCN65S_7M_4X2ZCN65S_8M_5X2ZCN65S_9M_6X2Z其中每个下面 都有CEL 和FRAM文件夹和 lib 文件。
那么 比如 CN65S_6M_3X2Z这个6M 是指什么?3X2Z是指什么?怎么确定用哪个?谢谢



你好我想问一下:比如 tsmc65的一个库 tsmc65/sc12_base_rvt/r3p0-00eac0/milkyway目录下有 CN65S_6M_3X2ZCN65S_7M_4X2YCN65S_7M_5X1ZCN65S_8M_6X1Z CN65S_6M_4X1ZCN65S_7M_4X2ZCN65S_8M_5X2ZCN65S_9M_6X2Z其中每个下面 都有CEL 和FRAM文件夹和 lib 文件。
那么 比如 CN65S_6M_3X2Z这个6M 是指什么?3X2Z是指什么?怎么确定用哪个?谢谢

db是逻辑库,MW是物理库

学习了

db:logical lib,包含功能,时序,负载,功耗等计算timing所需要的信息
mw:physical lib,包含物理信息,尺寸,pin位置,金属结构等信息

MW和LEF有什么区别和关系吗?

gooooooooooooooooooooood

lef只是用于布局布线的物理库,milkyway还可包括时序和功耗信息,简单的说就是先把需要用到的物理和逻辑信息全部倒入milkyway,后面就不用再导入了,不过麻烦的就是现在都得自己来生成milkyway数据,vendor提供milkyway的不多

万分感谢,明白了

半知半懂啊

关于design library 和 reference library 还是不太懂啊!

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top