Lucyfer
Newbie level 4
measure delay
Hello!
im trying to simulate a sram module with the hspice and its working ok! "job concluded"!! now i want to measure the delay time btw the IN and the middle node btw the two inverters! .... i've tryied to do it with .measure command!
ill post my netlist and maybe you can find whats incorrect! but ive seen thats seems to be easyer to measure with Cscope!! but i am having trouble with it too....
cscpe --> measure tools --> delay (and choose 50%) ok... and now ? =]
ill post my netlist asson as i am able to conect to the server of my university >.<
best regards!
edit #1
as i said.. now i post my netlist
SRAM
.include ./65nm_nmos.pm
.include ./65nm_pmos.pm
Va VDD 0 2
Vb IN 0 pulse(0, 2, 1ns, .01ns, .01ns, 4ns, 10ns)
M1 VDD IN CN VDD PMOS L=0.70u W=1.10u
M2 CN IN 0 0 NMOS L=0.45u W=0.70u
M3 VDD CN OUT VDD PMOS L=0.70u W=1.10u
M4 OUT CN 0 0 NMOS L=0.45u W=0.70u
Ca OUT 0 10f
.TRAN 1p 40n SWEEP MONTE=1
.print TRAN V(IN) V(CN)
.MEASURE TRAN tstart TRIG AT = 0ns TARG v(WL) VAL=1 RISE=2
.MEASURE TRAN delay TRIG AT = tstart TARG V(Q) VAL=1 RISE=1
*.print TRAN V(Q)
.OPTIONS post
.END
Wish all the best again!
Hello!
im trying to simulate a sram module with the hspice and its working ok! "job concluded"!! now i want to measure the delay time btw the IN and the middle node btw the two inverters! .... i've tryied to do it with .measure command!
ill post my netlist and maybe you can find whats incorrect! but ive seen thats seems to be easyer to measure with Cscope!! but i am having trouble with it too....
cscpe --> measure tools --> delay (and choose 50%) ok... and now ? =]
ill post my netlist asson as i am able to conect to the server of my university >.<
best regards!
edit #1
as i said.. now i post my netlist
SRAM
.include ./65nm_nmos.pm
.include ./65nm_pmos.pm
Va VDD 0 2
Vb IN 0 pulse(0, 2, 1ns, .01ns, .01ns, 4ns, 10ns)
M1 VDD IN CN VDD PMOS L=0.70u W=1.10u
M2 CN IN 0 0 NMOS L=0.45u W=0.70u
M3 VDD CN OUT VDD PMOS L=0.70u W=1.10u
M4 OUT CN 0 0 NMOS L=0.45u W=0.70u
Ca OUT 0 10f
.TRAN 1p 40n SWEEP MONTE=1
.print TRAN V(IN) V(CN)
.MEASURE TRAN tstart TRIG AT = 0ns TARG v(WL) VAL=1 RISE=2
.MEASURE TRAN delay TRIG AT = tstart TARG V(Q) VAL=1 RISE=1
*.print TRAN V(Q)
.OPTIONS post
.END
Wish all the best again!