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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 13293|回复: 9

[求助] cadence中sp2tswitch的使用?

[复制链接]
发表于 2016-1-11 15:40:29 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
W75_$N5JL)%O`_IRDF`2OV2.png AKYCW)%2D${EX[GA7AKO3VQ.png 请问cadence的analogLib库中的这个sp2tswitch能作为二路开关使用吗?参数应该怎么设置,在什么条件下选择左边一路或者右边一路?
发表于 2017-8-7 10:47:49 | 显示全部楼层
请问楼主知道怎么设置没?最近也遇到这个问题,cadence里自带的help也没相应的解释,还请楼主分享一下设置方法~谢谢~
发表于 2018-1-5 21:49:16 | 显示全部楼层
请问楼主解决了吗?
发表于 2018-4-12 14:54:32 | 显示全部楼层
回复 3# 枫叶不凋零

你好,请问你关于cadence中的开关参数设置解决了吗?
发表于 2018-6-22 14:08:38 | 显示全部楼层
回复 4# yuwenjuan


    Please check Cadence support:

     https://community.cadence.com/ca ... 1t-sp2t-sp3t-switch
发表于 2018-6-22 15:05:46 | 显示全部楼层
回复 4# yuwenjuan


    Please check reply from Cadence expert:

    Link: https://community.cadence.com/ca ... 1t-sp2t-sp3t-switch

------------------------------------------------------------------------------------------------------------------------------------------------------
Andrew Beckett   over 3 years ago  

There seems to be some misunderstanding here. The sp*tswitch components from analogLib are the "switch" component in spectre, as Shawn pointed out. The are not controlled by voltages (so the sp3tswitch doesn't have 1V, 2V, 3V inputs). What the switch component does is allow you to set the switch in different positions for different analyses. The primary idea behind this is to allow you to (say) have the switch in one position for DC, but different for AC. This was a traditional approach used for measuring open loop gain (close the loop for DC, open for AC), but a better approach for that problem is to use the stb (stability) analysis in spectre instead, as this keeps the loop closed all the time and so models the loading effects properly.

There may be other useful applications for this switch, but they are relatively rare. The different variants in analogLib just have different numbers of throws - the sp3tswitch is a single pole three throw switch, so each switch has four positions - open, or the three different closed positions - hence the 0,1,2,3 values for each analysis.

If you want a voltage controlled switch, the analogLib component is called switch (rather confusingly) which corresponds to spectre's "relay" component.

Documentation on analogLib components can be found by using the Help from within Virtuoso, or running `cds_root virtuoso`/tools/bin/cdnshelp and then navigating to find "Analog Library Reference" (you could probably use various searches to find that manual).

Also, you should (as Shawn suggested) be able to run "spectre -h XXX" where XXX is the component name (e.g. switch, relay) in a UNIX terminal. If that doesn't work, look carefully at your setup. The same information is in the spectre documentation, but if spectre can't be found from the command line, then I suspect you wouldn't be able to find cdnshelp from the command line either. You may be doomed.

Regards,

Andrew.

-----------------------------------------------------------------------------------------------------------------------------------------------
发表于 2018-6-25 09:52:43 | 显示全部楼层
能作为二路开关使用
发表于 2021-3-25 20:19:19 | 显示全部楼层
************
Ideal Switch
************

Ideal switch is a single-pole multiple-throw switch with infinite `off' resistance and zero `on' resistance. The switch is
provided to allow you to reconfigure your circuit between analyses. You can only change the switch state between analyses
(using the alter statement), not during an analysis.

When the switch is set to position 0 it is open. In other words, no terminal is connected to any other. When the switch is
set to position 1, terminal 1 is connected to terminal 0, and all others are unconnected. When the position is set to 2,
terminal 2 is connected to terminal 0, etc.

An offset voltage is supported. It is placed in series with the common terminal. The negative side of the source is
connected to the common terminal.

The switch can change its position based on which analysis type is being performed using the `xxx_position' parameters.
This feature should be used carefully. Careless use can generate discontinuities that result in convergence problems. Once
an analysis specific position has been specified using `xxx_position', it will always dominate over a position given with
the `position' parameter. To disable an analysis specific position, alter it to its default value of unspecified.


Sample Instance Statement:
sw1 (t1 t2 t3) switch dc_position=0 ac_position=1 tran_position=2

This device is not supported within altergroup.

Synopsis:
Name ( t0 t1 ... ) switch <parameter=value> ...


===================
Instance Parameters
===================

1 position=0 Switch position (0, 1, 2, ...).
2 dc_position Position to which switch is set at start of DC analysis.
3 ac_position Position to which switch is set at start of AC analysis.
4 tran_position Position to which switch is set at start of transient analysis.
5 ic_position Position to which switch is set at start of IC analysis (precedes transient analysis).
6 offset=0 Offset voltage in series with common terminal.
7 m=1.0 Multiplicity factor.
发表于 2023-11-3 16:05:18 | 显示全部楼层
看样子不能随时间变化,只能在dc、ac、tran不同仿真模式下改变开关连接情况
发表于 2023-11-3 17:01:27 | 显示全部楼层
终于搞明白用法了,ic_position=1,tran_position=2; tran仿真之前0接1;tran仿真开始0接2。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-11-5 18:27 , Processed in 0.025097 second(s), 8 queries , Gzip On, Redis On.

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