deepakmd
Newbie level 3
- Joined
- Oct 4, 2013
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 31
Hi,
My spec says that the input slew rate should be set to 80ps. I am using Pulse as input signal.
And slew rate is defined by 0.1 Vdd to 0.9 Vdd.
How to I set that in my spice file?
My spice file content.
$Transistor models:
.include "/home/cad/kits/IBM_CMRF8SF-LM013/IBM_PDK/cmrf8sf/V1.2.0.0LM/HSPICE/models/model013.lib_inc"
.include inv.sp
xi in out inv
name
vdd vdd! gnd! 1.2v
Vin in gnd! pulse (0V 1.2V 0ns 100ps 100ps 1400ps 3000ps)
cout out gnd! 20pf
.tran 10ps 10ns
.print tran V(in out)
.measure trise trig v(in) val=0.6 fall=1 targ v(out) val=0.6V rise=1
.measure tfall trig v(in) val=0.6 rise=1 targ v(out) val=0.6V fall=1
.end
My inv.sp file content:
*
*
*
.GLOBAL vdd! gnd!
*
.SUBCKT inv in out
*
*
* caps2d version: 10
*
*
* TRANSISTOR CARDS
*
*
MT0 out in gnd! gnd! nfet L=0.12U W=25.48U
+ AD=750.89563P AS=608.4624P PD=109.9U PS=98.72U
+ sd=0 sb=2.947e-05 sa=2.388e-05 nrs=0.0086495 nrd=0.0086495 nf=1 m=1
MT1 out in vdd! vdd! pfet L=0.12U W=76.44U
+ AD=2252.68677P AS=1825.38721P PD=211.82001U PS=200.64U
+ sd=0 sb=2.947e-05 sa=2.388e-05 nrs=0.00287977 nrd=0.00287977 nf=1 m=1
*
*
* CAPACITOR CARDS
*
*
C1 vdd! gnd! 4.32439E-14
C2 in gnd! 7.64548E-14
C3 out gnd! 3.27353E-14
*
*
.ENDS inv
*
My spec says that the input slew rate should be set to 80ps. I am using Pulse as input signal.
And slew rate is defined by 0.1 Vdd to 0.9 Vdd.
How to I set that in my spice file?
My spice file content.
$Transistor models:
.include "/home/cad/kits/IBM_CMRF8SF-LM013/IBM_PDK/cmrf8sf/V1.2.0.0LM/HSPICE/models/model013.lib_inc"
.include inv.sp
xi in out inv
name
vdd vdd! gnd! 1.2v
Vin in gnd! pulse (0V 1.2V 0ns 100ps 100ps 1400ps 3000ps)
cout out gnd! 20pf
.tran 10ps 10ns
.print tran V(in out)
.measure trise trig v(in) val=0.6 fall=1 targ v(out) val=0.6V rise=1
.measure tfall trig v(in) val=0.6 rise=1 targ v(out) val=0.6V fall=1
.end
My inv.sp file content:
*
*
*
.GLOBAL vdd! gnd!
*
.SUBCKT inv in out
*
*
* caps2d version: 10
*
*
* TRANSISTOR CARDS
*
*
MT0 out in gnd! gnd! nfet L=0.12U W=25.48U
+ AD=750.89563P AS=608.4624P PD=109.9U PS=98.72U
+ sd=0 sb=2.947e-05 sa=2.388e-05 nrs=0.0086495 nrd=0.0086495 nf=1 m=1
MT1 out in vdd! vdd! pfet L=0.12U W=76.44U
+ AD=2252.68677P AS=1825.38721P PD=211.82001U PS=200.64U
+ sd=0 sb=2.947e-05 sa=2.388e-05 nrs=0.00287977 nrd=0.00287977 nf=1 m=1
*
*
* CAPACITOR CARDS
*
*
C1 vdd! gnd! 4.32439E-14
C2 in gnd! 7.64548E-14
C3 out gnd! 3.27353E-14
*
*
.ENDS inv
*