*****************power*****************
vdd vdd 0 dc supply
vss vss 0 dc 0
************input*****************
vD D 0 pwl 0 0 't_data+0.86n' 0 't_data+0.94 4n' 0 't_data+1.26n' 0 't_data+1.34n' supply 't_data+1.66n' supply 't_data+1.74n' 0
vclk clk 0 pwl 0 0 0.46n 0 0.54n supply 0.86n supply 0.94n 0 '1.26n+t_del' 0 '1.34n+t_del' supply '1.66n+t_del' supply '1.74n+t_del' 0
vresetb resetb 0 dc supply
*********************************
.param supply=1.2
.param t_del=0
.param t_data=0
.param freq1=500mega
.param freq2=1giga
.param freq3=2giga
.temp 50
.tran 1p 3n sweep t_del -0.2n 0.2n 1p
*.ac dec 10 100 10GIGA
.probe
+ v(*)
+ i(*)
*.meas tran clk_q trig v(clk)='supply/2' td=0 rise=2
* +targ v(q)='supply/2' td=1.3n rise=1
.option post
+probe
.op ALL 300ns
.option method=gear
+RUNLVL=6
.end
이다음에 customwave view 에서 mt0 키고 상단에 x variable 키고 variable 을 t-del 로 세팅한 후 clk_q를 본다
'아날로그 연구실' 카테고리의 다른 글
[Linux]리눅스 압축 명령어 (0) | 2022.07.07 |
---|---|
virtuoso lock file 한번에 제거하기 (0) | 2022.07.04 |
DRC 에러 (0) | 2021.08.10 |
[HSPICE] internal timestep too small in transient analysis ERROR (0) | 2021.04.21 |
HSPICE 명령어 모음 (2) | 2021.04.20 |