EETOP 创芯网论坛 (原名:电子顶级开发网)

标题: 菜鸟来问:关于milkyway library,完全不懂 [打印本页]

作者: oscillator_cn1    时间: 2010-9-25 14:20
标题: 菜鸟来问:关于milkyway library,完全不懂
各位:
      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,两者有什么区别么?
      我这里一头雾水,问题多多,有哪位愿意为我解惑一下呢?
      谢谢。
作者: 新手报道    时间: 2010-9-25 14:47
我也是刚学没多久,这几个库也不太明白,也盼有高手指点一下。
technology file指的就是*.tf的文件。
你的tf文件放在哪儿的?加目录看行不?
作者: oscillator_cn1    时间: 2010-9-25 15:00
刚开始也以为是目录的问题,相对路径和绝对路径都不对。
作者: jiancongwoo    时间: 2010-9-25 15:04
用MilkeyWay这个软件做一个MW的库出来,这个库就是你的Reference Libarary
作者: oscillator_cn1    时间: 2010-9-25 16:35
本帖最后由 oscillator_cn1 于 2010-9-25 16:36 编辑


   
用MilkeyWay这个软件做一个MW的库出来,这个库就是你的Reference Libarary
jiancongwoo 发表于 2010-9-25 15:04




    还是不懂。为什么要做一个MW的库呀,这个库是用来干嘛的呢,平时用的Reference Library都是由MilkeyWay产生的么,自己没办法产生的的话一般由foundary提供还是。。。mw的reference库和design库有什么区别么?你能不能从基本的说起,一些基本的东西我都没有概念。
作者: jiancongwoo    时间: 2010-9-25 16:39
基本的去看UserGuide。
有一些MW的库Foundary会提供,但是有一些IP就要自己做了,不如说Memory, PLL等。
ICC是基于Milkyway对库来进行设计的,这就要用Milkyway到库来支持。
FRAM,这个是Design中STD或者MACRO的框架,如果工具都不知道设计中的东西长得怎样,怎么做Place啊?
TIM, 这个包含了Cell的Timing信息,优化用的。
LM, Logic  module
PWR: power
作者: oscillator_cn1    时间: 2010-9-25 18:31
本帖最后由 oscillator_cn1 于 2010-9-26 08:53 编辑

谢谢楼上。
比如说,我现在用的是.13的库,在其/sc-x/apollo/目录下有smic13g、smic13hvt、smic131vt三个子目录。这三个目录下都有CEL、FRAM、PWR、TIM 库。LM没找到,CEL是什么呢?另外,目录下的“lib”文件是不是就是Milkyway库文件(是全名就是lib,不是*.lib文件)。那么,我有个问题,综合的时候用的是ss_1v08_125c.db,那么,Milkyway库该用哪个呢?
作者: juniper14211    时间: 2010-9-26 05:57
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.
作者: oscillator_cn1    时间: 2010-9-26 08:35


   
xxx.lib is libberty format, i.e. this is librariy source file.
your can compile lib file into db fi ...
juniper14211 发表于 2010-9-26 05:57




    The  "gePrepLibs" command is a command of icc_shell?You mean to use *.lib file to generate Milkyway library,right?but ,how?
作者: juniper14211    时间: 2010-9-26 09:06
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.
作者: oscillator_cn1    时间: 2010-9-26 14:48
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 ?
作者: zb8521    时间: 2010-9-27 07:16
还是不明白啊
作者: juniper14211    时间: 2010-9-27 08:19
"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.
作者: 新手报道    时间: 2010-9-27 11:23
thanks!
作者: sunshinell    时间: 2010-9-29 15:54
本帖最后由 sunshinell 于 2010-9-29 16:02 编辑

回复 1# oscillator_cn1


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信息。
作者: kobefly225    时间: 2011-11-30 10:45
本帖最后由 kobefly225 于 2011-11-30 10:48 编辑

回复 1# oscillator_cn1


    楼主能不能把你用的那几个库给我分享一下啊 什么hvt lvt(milkyway库)等, 最好还有.lib .db .tf .itf .tluplus等,现在在学习后端设计啊
作者: dennisi123    时间: 2013-4-16 19:22
学习了!
作者: daboboxiao    时间: 2013-4-18 11:00
回复 15# sunshinell


    您回答很详细,谢谢
作者: zheng070608138    时间: 2013-5-6 16:52
一头雾水。。。。
作者: qioip    时间: 2013-6-20 14:44
回复 7# oscillator_cn1


   你好我想问一下:  比如 tsmc65的一个库 tsmc65/sc12_base_rvt/r3p0-00eac0/milkyway  目录下有 CN65S_6M_3X2Z  CN65S_7M_4X2Y  CN65S_7M_5X1Z  CN65S_8M_6X1Z CN65S_6M_4X1Z  CN65S_7M_4X2Z  CN65S_8M_5X2Z  CN65S_9M_6X2Z  其中每个下面 都有CEL 和FRAM文件夹和 lib 文件。

    那么 比如 CN65S_6M_3X2Z   这个6M 是指什么??3X2Z  是指什么??   怎么确定用哪个?   谢谢
作者: qioip    时间: 2013-6-20 14:44
回复 7# oscillator_cn1


   你好我想问一下:  比如 tsmc65的一个库 tsmc65/sc12_base_rvt/r3p0-00eac0/milkyway  目录下有 CN65S_6M_3X2Z  CN65S_7M_4X2Y  CN65S_7M_5X1Z  CN65S_8M_6X1Z CN65S_6M_4X1Z  CN65S_7M_4X2Z  CN65S_8M_5X2Z  CN65S_9M_6X2Z  其中每个下面 都有CEL 和FRAM文件夹和 lib 文件。

    那么 比如 CN65S_6M_3X2Z   这个6M 是指什么??3X2Z  是指什么??   怎么确定用哪个?   谢谢
作者: legend03u8z    时间: 2013-6-21 14:42
db是逻辑库,MW是物理库
作者: kuailecheng    时间: 2013-6-23 19:27
学习了
作者: beibaoke    时间: 2013-7-17 13:30
db:logical lib,包含功能,时序,负载,功耗等计算timing所需要的信息
mw:physical lib,包含物理信息,尺寸,pin位置,金属结构等信息
作者: prototyping    时间: 2014-3-15 17:57
回复 24# beibaoke


   MW和LEF有什么区别和关系吗?
作者: mooh2024    时间: 2014-4-20 01:18
gooooooooooooooooooooood
作者: celestin2011    时间: 2014-4-20 10:57
回复 25# prototyping

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


   万分感谢,明白了
作者: xiaoquanic    时间: 2014-6-9 12:23
半知半懂啊
作者: ershier86    时间: 2015-6-27 11:57
关于design library 和 reference library 还是不太懂啊!
作者: liaohero    时间: 2015-7-28 17:58
有沒有人有實際的flow 啊,到底那些是有提供的,那些是自已要做milkyway

而要如何從gds做呢
作者: chipsic    时间: 2015-8-3 13:37
也是刚学  mark
作者: bobobelieve    时间: 2015-8-6 17:06
:):)
作者: liaohero    时间: 2015-8-17 17:18
版上沒高手嗎???還是高手不輕言相助???

很多人問~很多人想懂~~但是就是沒人肯教!!!!!!!
作者: taichiorange    时间: 2015-10-6 10:55
回复 34# liaohero


    可能是太基础的东西,要自己找文档看。
作者: lizhaohong520@    时间: 2015-11-24 16:35
design library 就是自己当前设计库,相当与你本次设计的工程,ICC 里面格式是MW library。
reference library 就是你本次工程需要调用的相关工艺库文件,比如本工程用的厂家标准单元和宏单元。

MW library是ICC工作识别的布局布线的工艺库,把标准单元坐标,尺寸,layout等信号。
db library 是标准单元一些时序,fanout 信号,2者是互补关系。
作者: 我也要当学术帝    时间: 2017-1-3 10:43
回复 15# sunshinell


   很详细,学习啦~
作者: 我也要当学术帝    时间: 2017-1-3 10:44
回复 24# beibaoke


   学习啦~
作者: 花开半夏1990    时间: 2017-4-9 09:21
完全不懂,有人知道具体操作步骤吗,可以发一下
作者: jolzhao    时间: 2017-5-20 17:08
回复 10# juniper14211

请问一下,在ICC中如果没有TIM和PWR,能不能用db产生LMview来代替,
作者: wink1988    时间: 2017-6-7 15:50
看完一知半解~~~!
还是感谢各位大牛的分享!
作者: wink1988    时间: 2017-6-9 09:51
再次来观摩学习!
作者: 希望可以骄傲    时间: 2017-6-23 19:07
这个地方我也不太懂
作者: 大帅哥1989    时间: 2017-8-16 14:26
同不懂
作者: 姚圈圈    时间: 2017-8-20 21:10
讲的真好,顶一个
作者: coolstar000519    时间: 2017-8-25 08:29
同不懂。。。从头到尾看完一遍,一知半解了。。。
作者: xiaoshao    时间: 2017-8-30 15:54
观摩学习是真正成为熟手的关键
作者: jeffej    时间: 2018-1-11 17:24
learning !!!
作者: d6821_021362    时间: 2018-3-18 13:32
学习中....
作者: dikonpep    时间: 2018-5-5 21:52
回复 24# beibaoke


   这个解答有点一知半解
作者: ralphtwtw    时间: 2018-7-5 16:59
感谢各位大牛的分享 ~~
作者: qinqinghit    时间: 2018-7-16 17:12
10楼好屌好屌!!!
作者: chingyy000    时间: 2018-9-11 18:34
感谢分享~
作者: caoshujia    时间: 2018-10-8 10:34
Milkyway数据库可以包含同一个单元格的不同表示,称为该单元格的“视图”。 这些是物理实现工具中使用的主要视图类型:
- CEL View: 诸如通孔,标准单元,宏或整个芯片的物理结构的完整布局图; 包含单元格的布局,布线,引脚和网表信息
- FARM View: 用于放置和布线的单元格的抽象表示;仅包含金属封锁,允许通过区域和单元格引脚
- FILL View:ICC中的signoff_metal_fill命令创建的金属填充视图,用于芯片整理,无逻辑功能。
- CONN View:由PricimeRail或ICC创建并由PrimeRail工具用于IR降落和电迁移分析的单元格的电源和地面网络
- ERR View: ICC中的验证命令发现的物理设计规则违规的图形视图,如verify_zrt_route或signoff_drc。

---------------------

本文来自 半夏之夜 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/u010170039 ... 672?utm_source=copy
作者: shenteng    时间: 2018-10-12 09:16
design Lib包含设计相关数据的容器,ref lib其实是physical lib,包含标准单元等物理信息。
作者: licloud    时间: 2020-2-25 10:39
看完一知半解~~~!
感谢各位大大的分享!
作者: tvman2015    时间: 2020-3-1 17:24
@juniper14211, thank you very much
作者: Shangkui    时间: 2020-6-25 12:05
纸上得来终觉浅
作者: 金角大王G    时间: 2021-1-19 16:23


   
sunshinell 发表于 2010-9-29 15:54
回复 1# oscillator_cn1


一下明了了~~~感谢~~~
所以基本上厂商也会提供这些physical_lib吧

作者: 金角大王G    时间: 2021-1-19 16:26


   
celestin2011 发表于 2014-4-20 10:57
回复 25# prototyping

lef只是用于布局布线的物理库,milkyway还可包括时序和功耗信息,简单的说就是先把 ...


诶,自己提供?
所以前面synthesis的时候用到物理库,需要DC owner做,还是后端的人会提供相应的physical_library?

作者: chingyy000    时间: 2022-12-15 13:23
learning~~
thanks
作者: ellenqq2008    时间: 2023-4-24 15:35
学习一下~谢谢分享~~~~~
作者: lxm001    时间: 2023-6-27 16:10


   
qioip 发表于 2013-6-20 14:44
回复 7# oscillator_cn1


这是不同金属层数

作者: zhizhengzhaoxi    时间: 2023-9-19 16:31


   
jiancongwoo 发表于 2010-9-25 16:39
基本的去看UserGuide。
有一些MW的库Foundary会提供,但是有一些IP就要自己做了,不如说Memory, PLL等。
I ...


讲半天跟没讲一样 你别说话了还是





欢迎光临 EETOP 创芯网论坛 (原名:电子顶级开发网) (https://bbs.eetop.cn/) Powered by Discuz! X3.5