|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
今天仿真,由于每个波形仿真时间不一样,用了7个.alter,结果怎么仿真出20多个波形文件来?.alter语法到底怎么用?求教
以下是我的激励文件
.title uv_less_100u
***************libs used in the simulation**********
.lib 'c050hv800v.l' tt_ls
.lib 'c050hv800v.l' tt_hvs
.lib 'c050hv800v.l' tt_hva_hs
.lib 'c050hv800v.l' tt_hvs_hs
.lib 'c050hv800v.l' tt_hva
.lib 'c050hv800v.l' tt_res
*.lib 'c050hv800v.l' dio
.lib 'c050hv800v.l' tt_pip
.lib 'c050hv800v.l' tt_bip
.lib 'c050hv800v.l' tt_hva_uhv
.lib 'c050hv800v.l' tt_dio
.lib 'c050hv800v.l' tt_dio_hs
.lib 'c050hv800v.l' tt_dio_sbd_zd
**********************
**********************
.inc "auto_shrink_test.ckt"
.global vcc! 0
*****input****
v1 nh425_d_work_or_trim 0 dc 5.8
v2 n803_g_pwm_iout 0 dc 0
v3 p24_g 0 dc 0
v4 n853_g_pwm_en 0
v5 p1376_g_ix_comp 0 dc 5.8
**欠压小于100us
Vvcc vcc! 0 pwl 0 0 50u 5.83
i1 0 v pwl 0 0,50u 50u,100u 50u,150u 5u,200u 50u
.tran 1u 400u sweep temp poi 4 -25 25 100 125
.probe v(*) i(*)
**欠压大于100us
.alter uv_more_100u
Vvcc vcc! 0 pwl 0 0,50u 5.83,499u 5.83 500u 4,550u 4,551u 5.83
i1 0 v pwl 0 0,50u 50u,100u 50u,150u 7u,350u 7u,400u 50u
.tran 1u 600u sweep temp poi 4 -25 25 100 125
**失调
.alter vcc_shitiao_uv_notin0011
* 15 14 13
Vvcc vcc! 0 pwl 0 0,50u 5.83,100u 5.83,101u 4,300u 4,301u 5.83,500u 5.83,501u 4,700u 4,
*12 11 10
+701u 5.83,900u 5.83,901u 4,1100u 4,1101u 5.83,1300u 5.83,1301u 4,1500u 4,1501u 5.83
i1 0 v pwl 0 0,50u 50u,700u 50u,750u 7u,950u 7u,1000u 50u
.tran 1u 1200u sweep temp poi 4 -25 25 100 125
**失调
.alter vcc_shitiao_uv_notin0011
* 15 14 13
Vvcc vcc! 0 pwl 0 0,50u 5.83,100u 5.83,101u 4,300u 4,301u 5.83,500u 5.83,501u 4,700u 4,
*12 11 10
+701u 5.83,900u 5.83,901u 4,1100u 4,1101u 5.83,1300u 5.83,1301u 4,1500u 4,1501u 5.83
i1 0 v pwl 0 0,50u 50u,700u 50u,750u 20u,1150u 20u,1200u 50u
.tran 1u 1400u sweep temp poi 4 -25 25 100 125
**过压
.alter ov_less_100u
Vvcc vcc! 0 pwl 0 0 50u 5.83
i1 0 v pwl 0 0,50u 50u,100u 50u,150u 180u,200u 50u
.tran 1u 400u sweep temp poi 4 -25 25 100 125
**过压
.alter ov_more_100u
Vvcc vcc! 0 pwl 0 0,50u 5.83,499u 5.83 500u 4,550u 4,551u 5.83
i1 0 v pwl 0 0,50u 50u,100u 50u,150u 180u,350u 180u,400u 50u
.tran 1u 600u sweep temp poi 4 -25 25 100 125
**过压
.alter ovl_less_100u
Vvcc vcc! 0 pwl 0 0 50u 5.83
i1 0 v pwl 0 0,50u 50u,100u 50u,102u 600u,148u 600u,150u 50u
.tran 1u 300u sweep temp poi 4 -25 25 100 125
**过压
.alter ovl_more_100u
* 14 13 12
Vvcc vcc! 0 pwl 0 0,50u 5.83,400u 5.83,401u 4,500u 4,501u 5.83,600u 5.83,601u 4,700u 4,701u 5.83
i1 0 v pwl 0 0,50u 50u,100u 50u,101u 600u,399u 600u,400u 50u
v5 p1376_g_ix_comp 0 pwl 0 5.8,650u 5.8,651u 0,680u 0,681u 5.8 **Ix>-27后解除锁存
.tran 1u 800u sweep temp poi 4 -25 25 100 125
.end |
|