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 output tr0 files properly ? can't see the waveform

Status
Not open for further replies.

reddvoid

Junior Member level 3
Joined
Apr 8, 2013
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,587
Hi,
I have a hspice code I am trying to simulate


Code PHP - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
*** PARAMETER INITIALIZATIONS ***
.PARAM LOAD_GTDOUT = 1e-9
.PARAM LOAD_ATOUT = 10f
.PARAM LOAD_BTOUT = 10f
.PARAM TSTEP = 1E-012
.PARAM PFREQ = 100M
.PARAM PPERIOD = '1/PFREQ'
.PARAM SLOPE_TIN =8.3n
.PARAM PWIDTH = '(0.5*PPERIOD)-SLOPE_TIN'
.PARAM TDELAYA = 1n
.PARAM TDELAYB = 20n
*.PARAM TSTOP = 'TDELAY+1*PPERIOD'
.PARAM TSTOP = 200n
.PARAM HSUP = 1.1
.PARAM LSUP = 0.0
.TEMP 80
***** Extraction netlist ******
.inc '/home/j/inputs/ckt.dspf'
 
**** Model files () *******
.inc "/opt/models/include_nom"
 
 
*** ACCURACY OPTIONS ***
.OPTION TRITOL   = .1
.OPTION DELSTART = 1E-12
.OPTION DELMIN   = 0.1e-17
.OPTION RESCAT   = 100E-12
.OPTION RELTOL   = 1E-4
.OPTION ABSTOL   = 1E-15
.OPTION INITOP   = PREVOP
.OPTION METHOD   = GEAR MXORD=3
.OPTION GMIN     = 1E-15
.OPTION CHGTOL   = 1E-15
.OPTION POST
.OPTION INGOLD   = 2
.OPTION MEASFORM = 2
.OPTION NUMDGT = 6
*.OPTION LIS_NEW = 1
.OPTION PROBE = 1
.OPTION ITRPRT = 1
*.OPTION acct brief nomod csdf probe
 
.ic v(GTDOUT) = 0
 
*** SUPPLY SPECIFICATION ***
Vvdd VCC 0 HSUP
Vvss VSS 0 LSUP
 
***** DUT SPECIFICATION *****
XI1 TINA ATOUT TINB BTOUT GTDOUT VCC VSS ckt
 
 
*.OPTION NONOMIN
 
*** TRANSIENT ANALYSIS ***
.TRAN TSTEP TSTOP
 
*** LOAD SPECIFICATION ***
CLOAD_ATOUT ATOUT VSS LOAD_ATOUT
CLOAD_BTOUT BTOUT VSS LOAD_BTOUT
CLOAD_GTDOUT GTDOUT1 VSS LOAD_GTDOUT
 
 
 
*** PULSE STATEMENT ***
V_TinA TINA VSS PULSE(HSUP LSUP TDELAYA SLOPE_TIN SLOPE_TIN PWIDTH PPERIOD)
V_TinB TINB VSS PULSE(HSUP LSUP TDELAYB SLOPE_TIN SLOPE_TIN PWIDTH PPERIOD)
V_GTDOUT GTDOUT GTDOUT1 LSUP
 
*** MEASUREMENT STATEMENT ***
 
.MEASURE TRAN PAVG_ALL_M AVG LX34(X*.M*) from=0 to=200n
.PRINT V(TINA)
.PRINT V(TINB)
.PRINT V(ATOUT)
.PRINT V(BTOUT)
.PRINT V(GTDOUT)
.PROBE V(GTDOUT)
 
.END


but when I try to open the .tr0 file in cscope it comes out to be just blank
and also tr0 file size is 245340Bytes

Is this due to something that is/missing in accuracy options ?

Thanks
 
Last edited by a moderator:

Hi,

Try to use the following in your code: .OPTION POST=1 and use .PROBE(*) for testing purpose only.
Also, try to open your .st0 file with waveviewer (wv at terminal) .

Regards.
 

Hi,

Try to use the following in your code: .OPTION POST=1 and use .PROBE(*) for testing purpose only.
Also, try to open your .st0 file with waveviewer (wv at terminal) .

Regards.

Hi,
Thanks for reply
I tried .OPTION POST = 1 and .PROBE(*)
but its still the same

cscope.JPG
and I don't have waveviewer

Code PHP - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
*st0 file contents*
****** HSPICE -- L-2016.06-2 linux64 (Jul 26 2016) ******
 Input File: d04clgpws11wqub0.hsp
 lic:
 lic: FLEXlm: v11.2.1
 lic: USER:   rbm                  HOSTNAME: bgsxlc151
 lic: HOSTID: "e4115b9603e4"       PID:      29806
 lic: Using FLEXlm license file:
 lic: /p/inway_local/license/lmadmin/snps/snps_pdx01_lic
 lic: Checkout 1 hspice
 lic: License/Maintenance for hspice will expire on 30-jan-2018/2017.03
 lic: 317(in_use)/6900(total) FLOATING license(s) on SERVER /p/inway_local/license/lmadmin/snps/snps
 lic:
 init: begin read circuit files,  cpu clock=  1.27E+00
       option search = /nfs/imu/proj/inway/eda/synopsys/hspice/L-2016.0
                         6-2/hspice/parts/ad
       option runlvl
       option cmipath = /p/inway/tech-prerelease/pub/tech/p1273/.dr/epic
                         /v1.0.105/cmi
       option pdmi_lib = /p/inway/tech-prerelease/pub/tech/p1273/.dr/epic
                         /v1.0.105/cmi/pdmi_64.so
       option cmiflag =     1.00
       option process_dev_params =     1.00
       option pdmi = 1
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option nomod =     1.00
       option xmult_in_expr = yes
       option tritol =    0.100
       option delstart =    1.000E-12
       option delmin =    1.000E-18
       option rescat =    1.000E-10
       option reltol =    1.000E-04
       option abstol =    1.000E-15
       option initop = prevop
       option method = gear
       option mxord =     3.00
       option gmin =    1.000E-15
       option chgtol =    1.000E-15
       option post =     1.00
       option ingold =     2.00
       option measform =     2.00
       option numdgt =     6.00
       option probe =     1.00
       option itrprt =     1.00
 init: end read circuit files,  cpu clock=  1.43E+00 peak memory=       236 mb
 init: begin check errors,  cpu clock=  1.43E+00
 init: end check errors,  cpu clock=  1.47E+00 peak memory=       237 mb
 init: begin setup matrix, pivot=     0 cpu clock=  1.47E+00
       establish matrix -- done,  cpu clock=  1.47E+00 peak memory=       237 mb
       re-order matrix -- done,  cpu clock=  1.48E+00 peak memory=       237 mb
 init: end setup matrix,  cpu clock=  1.49E+00 peak memory=       237 mb
 dcop: begin dcop,  cpu clock=  1.50E+00
       establish matrix -- done,  cpu clock=  1.84E+00 peak memory=       237 mb
       re-order matrix -- done,  cpu clock=  1.87E+00 peak memory=       238 mb
 dcop: end dcop,  cpu clock=  1.88E+00 peak memory=       238 mb  tot_iter=     225
 output: d04clgpws11wqub0.mt0
 sweep: tran tran0    begin, stop_t=  2.00E-07 #sweeps=**** cpu clock=  1.88E+00
 tran: time= 2.4150E-08 tot_iter=     144 conv_iter=      58 cpu clock= 2.06E+00
 tran: time= 4.1978E-08 tot_iter=     266 conv_iter=     105 cpu clock= 2.23E+00
 tran: time= 6.1978E-08 tot_iter=     270 conv_iter=     107 cpu clock= 2.24E+00
 tran: time= 8.1978E-08 tot_iter=     274 conv_iter=     109 cpu clock= 2.24E+00
 tran: time= 1.0198E-07 tot_iter=     278 conv_iter=     111 cpu clock= 2.25E+00
 tran: time= 1.2198E-07 tot_iter=     282 conv_iter=     113 cpu clock= 2.26E+00
 tran: time= 1.4198E-07 tot_iter=     286 conv_iter=     115 cpu clock= 2.26E+00
 tran: time= 1.6198E-07 tot_iter=     290 conv_iter=     117 cpu clock= 2.27E+00
 tran: time= 1.8198E-07 tot_iter=     294 conv_iter=     119 cpu clock= 2.28E+00
 tran: time= 2.0000E-07 tot_iter=     298 conv_iter=     121 cpu clock= 2.28E+00
 sweep: tran tran0    end,  cpu clock=  2.29E+00 peak memory=       238 mb

 
Last edited by a moderator:

I think you have to tell HSPICE the output format which your viewer (cscope ?) can understand.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top