Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Hspice -- Not able to generate .tr0 file

Status
Not open for further replies.

deepakmd

Newbie level 3
Joined
Oct 4, 2013
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
31
Hi All,

I am not able to generate .tr0 file after running hspice. I am not getting any errors while running the hspice.

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
*


What might be the problem?
 

I think You need to add few more lines..

.option post accurate nomod brief
.option post_version=9007
.option runlvl = 5
.op
 

I think You need to add few more lines..

.option post accurate nomod brief
.option post_version=9007
.option runlvl = 5
.op


It worked. Thanks a lot rongo024 !!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top