在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
楼主: lizhaohong520@

[求助] 跪求ius920的connectrule

[复制链接]
发表于 2012-5-23 13:47:34 | 显示全部楼层
回复 1# lizhaohong520@


    connect_lib&rule

connect_lib.tar.gz

327.24 KB, 下载次数: 377 , 下载积分: 资产 -2 信元, 下载支出 2 信元

 楼主| 发表于 2012-5-23 15:49:02 | 显示全部楼层
回复 11# cxl666


    TKS```````````````````
 楼主| 发表于 2012-5-23 15:51:40 | 显示全部楼层
回复 11# cxl666


    兄弟你这个不全··你进去里面看看···每个cell的module里面的verlog.vams只是一个快捷方式。
发表于 2012-5-23 18:05:30 | 显示全部楼层
回复 13# lizhaohong520@


    没任何问题的,这个就是所有的connect lib。你有没有打开看啊?快捷方式是指定文件的。
 楼主| 发表于 2012-5-25 10:21:49 | 显示全部楼层
回复 14# cxl666


    兄弟··你这个指定到那个地方啊··我还是失败啊。你把指定到那个地方的文件拷出来哈!
发表于 2012-5-25 10:29:57 | 显示全部楼层
无语,我把上传的附件还下载了解压看了,就在压缩包里,没任何问题的。你最好查查是不是你解压什么的出问题了。把文件弄丢了,tar -zxvf connect_lib.tar.gz
 楼主| 发表于 2012-5-25 10:37:57 | 显示全部楼层
回复 16# cxl666


    tar: connect_lib/connectLib/E2L_0/module/verilog.vams: Cannot create symlink to `../../../E2L_0.vams': Operation not supported
connectrule.jpg
 楼主| 发表于 2012-5-25 10:40:54 | 显示全部楼层
回复 16# cxl666


    OK了···不能在虚拟机share那里解压··要到虚拟机里面··sorry啊!!!!!好东西··顶
发表于 2012-6-5 10:41:16 | 显示全部楼层
转贴一下国外关于这个connetc_lib的回答
I had same problem when I studied ams-simulation with ams-designer. I don't know correct solution till, but i did so.
1. Create lib, ex. "amsLib"
2. Create cellviews for e2l and l2e connect modules in the lib ("symbol" and "verilogams" views)
3. Create cellview for connect rules module in the lib ( "verilogams" view). Name it as 'mixedsignal'
4. Give link to 'mixedsignal' in elaborator


there are few steps that you need to follow to create a customized connect module for AMS in ADE:

1. Create the verilogAMS files for your connect Modules. Say I want to create a 1V connect module with following spec: Vsup=1.0, Vthi=0.666, Vtlo=0.333, Vlow=0
I copy the 1.8V connect module from my IUS stream , i.e $IUSHOME/tools/affirma_ams/etc/connect_lib/connectLib/ConnRules_18V_full_fast/co
nnect/verilog.vams

The ConnRules_1V0_full_fast I'm about to create needs the following
files :

Bidir_2.vams
ConnRules_1V0_full_fast.vams
E2L_2.vams
E2R.vams
ER_bidir.vams
L2E_2.vams
L2E_2_CPF.vams
R2E_2.vams

All these files have been copied form :
$IUSHOME/tools.lnx86/affirma_ams/etc/connect_lib

2. Prepare the environment:
You need to have a correct hdl.var and cds.lib to compile the libraries.
- An example of hdl.var is:

##########
softinclude $AMSHOME/inca/files/hdl.var
define ncuse5x
define cdslib ./cds.lib
Define WORK rkLib
##########

- An example of cds.lib is

------
softinclude $AMSHOME/tools/inca/files/cds.lib
DEFINE analogLib $CDSHOME/tools/dfII/etc/cdslib/artist/analogLib
DEFINE basic $CDSHOME/tools/dfII/etc/cdslib/basic
DEFINE sample $CDSHOME/tools/dfII/samples/cdslib/sample
Define rkLib ./rkLib
Define myconnectLib ./rk_connect_lib/rkConnectLib
------

3. Compile the above connect modules using the following commands:

ncvlog -ams -use5x -work myconnectLib ./rk_connect_lib/
ConnRules_1V0_full_fast.vams
ncvlog -ams -use5x -work myconnectLib ./rk_connect_lib/L2E_2.vams
ncvlog -ams -use5x -work myconnectLib ./rk_connect_lib/E2L_2.vams
ncvlog -ams -use5x -work myconnectLib ./rk_connect_lib/Bidir_2.vams
ncvlog -ams -use5x -work myconnectLib ./rk_connect_lib/E2R.vams
ncvlog -ams -use5x -work myconnectLib ./rk_connect_lib/R2E_2.vams
ncvlog -ams -use5x -work myconnectLib ./rk_connect_lib/ER_bidir.vams
ncvlog -ams -use5x -work myconnectLib ./rk_connect_lib/L2E_2_CPF.vams

4. Create a connectRules.il file with the above connect modules using
the following command:
genConnRulesFile -destpath ./rk_connect_lib/rkConnectLib  -lib
rkConnectLib ./rk_connect_lib/*.vams

5. copy over rk_connect_lib into your cadence working dir and update
your cds.lib by adding:
DEFINE rkConnectLib ./rk_connect_lib/rkConnectLib

6. Fire up Cadence and the ADE and load the created connect module. they must come in the list of available connect modules.

I have assumed you have created the necessary UNIX directories and file to go through the flow. Also, make sure that you put the 'connectRules.il' file in the connectLib library.

There is a snapshot of the directory tree

.
|-- cds.lib
|-- compileConnect (sh script for step3)
|-- createConnectRulesFile (sh script for step4)
|-- hdl.var
|-- rk_connect_lib
|   |-- Bidir_2.vams
|   |-- ConnRules_1V0_full_fast.vams
|   |-- E2L_2.vams
|   |-- E2R.vams
|   |-- ER_bidir.vams
|   |-- L2E_2.vams
|   |-- L2E_2_CPF.vams
|   |-- R2E_2.vams
|   `-- rkConnectLib
|       |-- Bidir_2
|       |-- E2L_2
|       |-- E2R
|       |-- ER_bidir
|       |-- RK_CONNRULES_10V_FULL_FAST
|       |-- L2E_2
|       |-- L2E_2_CPF
|       |-- R2E_2
|       |-- connectRules.il
|       `-- inca.lnx86.172.pak
|-- ncvlog.log
`-- tree
发表于 2012-6-5 10:43:40 | 显示全部楼层
回复 3# lizhaohong520@


    我转帖了一下国外关于这个问题的回答,库已经有人上载了,现在就开始慢慢实验吧,Good luck for all of us。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2025-5-6 13:00 , Processed in 0.026869 second(s), 8 queries , Gzip On, MemCached On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表