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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
123
返回列表 发新帖
楼主: celestin2011

[解决] icfb传递symbol实例化参数到schematic的方法

[复制链接]
发表于 2023-8-5 00:39:51 | 显示全部楼层
thx!
发表于 2023-8-5 08:36:17 | 显示全部楼层
感谢分享
发表于 2023-10-30 16:20:26 | 显示全部楼层
Passing CDF parameters from
instantiated Symbol to Schematic
Tags: cadence, schematic
 From blog.intgckts.com/author/sameeksha/
In Cadence, we can pass parameters individually from each instantiated symbol to
schematic using Component Description Format(CDF) parameters.
Where do I require?
 Suppose you want to test your design idea, where you require two op-amps
with different specifications but want to use same macro model/schematic for
both opamps.
 Suppose you want to create buffer chain with a series of inverters. In each
stage you want to scale the size of inverter by “X” compared to preceding
stage. Again you want to use same inverter model across the entire chain.
 many more….
How to?
We can use of parent parameters (pPar) and instance parameters (iPar) to pass
parameters from instantiated symbol to schematic. The following CMOS inverter
example explain this.
Consider an inverter that contains a NMOS and PMOS transistors. We want to pass
width and length of mos transistors as parameters to the schematic from the symbol
where it is instantiated.
So open the schematic of the inverter, edit the properties of NMOS and PMOS
transistors with the parameters as shown below,
Length: pPar(“lp”) and Width: pPar(“wp”) for PMOS,
Length: pPar(“ln”) and Width: pPar(“wn”) for NMOS.
Now save the inverter schematic and create a symbol for the schematic through the
menu:
Design >> Create Cellview >> From Cellview
Once the inverter symbol is created add label as follows to show the parameters in
symbol view when it is instantiated.
Label: [@wp:%:]/[@lp:/%:]
Label: [@wn:%:]/[@ln:/%:]
Save the edits, and close the symbol editor.
Select the CIW of icfb, go to: Tools >> CDF >> Edit
Now select CDF Type : Base, click on Browse button and point to your Library
Name/Cell Name.
Click on Add button in Component Parameters section to open Add CDF
Parameter form. Add the parameters as shown below.
Then click on Apply button, repeat the same process for other parameters (lp,wn and
ln) also and finally click OK. Now your Component parameters should like shown
below(of-course the values may be different).
You are done with assigning global parameters for the whole library. Now you can
individually assign the values to all parameters in each instantiation.
A test bench schematic with two inverters instantiated is shown below. The first
inverter is sized to 2u/1u and second is sized to 6u/3u, scaled by 3X compared to first,
using CDF parameters.
iPar()
To inherit the parameters form the instance parameters itself then use ipar().
Example : We can define finger width in terms of finger length in a transistor
Finger Width : 5*iPar(“l”)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-5-3 07:53 , Processed in 0.017129 second(s), 6 queries , Gzip On, Redis On.

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