spectre仿真中如何保存dspf内部节点

这篇博客纠正了一个关于Spectre仿真的教程错误,详细介绍了如何正确使用save命令来保存hierarchical实例中net23的电压和M0晶体管源极电流。示例包括对单一节点、子电路电流以及bus上的第一个实例的保存方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

注意:这个链接的教程是不对的。在lang=spectre的情况下,save的方式应该是

save Ipll.XI0\\/XI1\\/net23 (两个反斜杠加斜杠,而不是点)

https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/42364/saving-net-voltage-and-pin-currents-at-block-level-and-also-saving-current-in-the-mos-transistors-pins-in-extracted-view/1362576?focus=true

// Save file example. Run "spectre -h save" for more info. 
// In this snippet, I provided samples on probing currents and voltages in hierarchical instance Ipll/XI0/XI1
// From a Schematic testbench perspective, this means Top Level -> Instance Ipll -> Instance XI0 -> Instance XI0

simulator lang=spectre

// The following will save Voltage on net23 of Ipll/XI0/XI1
save Ipll.XI0.XI1.net23

// The following will save Current on Source terminal of transistor M0 of Ipll/XI0/XI1
save Ipll.XI0.XI1.M0:s sigtype=subckt

// Example1: The following will save all the d/g/s/b currents of Ipll/XI0/*/M0
save Ipll.XI0*M0 sigtype=subckt

// The following will save Current on Source terminal of transistor M0 of Ipll/XI0/XI1
save Ipll.XI0.XI1.M0:s sigtype=subckt

// The following will save Current on Source terminal of transistor M0 of Ipll/XI0/XI1/XI0\<0\>, first instance of the bus.
save Ipll.XI0.XI1.XI0\<0\>.M0:s sigtype=subckt
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值