The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Aug 16th, 2024, 3:23pm
Pages: 1
Send Topic Print
.tr0 and .st0 in Hspice (Read 5886 times)
qiushidaren
Community Member
***
Offline

I am a lovely
MOSFET!

Posts: 86
Chengdu
.tr0 and .st0 in Hspice
Feb 01st, 2007, 11:00pm
 
Hi all,

What are .tr0 and .st0 used for in Hspice. I can open .st0 files using wordpad, but when I use wordpad to open the .tr0 files, I can only see piles of weird codes.

Thank you in advance.

Regards,
Terry
Back to top
 
 
View Profile WWW   IP Logged
topquark
Community Member
***
Offline



Posts: 61
Thames Valley, UK
Re: .tr0 and .st0 in Hspice
Reply #1 - Feb 2nd, 2007, 1:08am
 
Hey terry

New to hspice?!!  ::)
Well, say you have a deck called test.sp, when you execute
hspice -i test.sp
Output files test.lis, test.tr0, and test.st0 are written in the directory where the Star-Hspice command is executed.

The various files are
Output listing - . lis , or user-specified
     
Transient analysis results- . tr# | (binary output, waveform info etc.., you can see this in awaves)

Transient analysis measurement results . mt# (you can read this)
     
Output status-. st# (any errors, warnings, notices)


Hope this helps!

Gau

Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: .tr0 and .st0 in Hspice
Reply #2 - Feb 2nd, 2007, 5:16am
 
As topquark said, the .tr0 file is a binary file of waveforms.  There is a setting to change it to ascii, but then it's just a bunch of numbers, so probably you do want to run awaves or cosmoscope.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
qiushidaren
Community Member
***
Offline

I am a lovely
MOSFET!

Posts: 86
Chengdu
Re: .tr0 and .st0 in Hspice
Reply #3 - Feb 4th, 2007, 9:23pm
 
Thanks for your guys’ useful explanations, but I can only get 4 files there, including .lis, .ic0, .tr0, and .st0 files, which don’t include .mt#, why? Huh

Regards,
Terry
Back to top
 
 
View Profile WWW   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: .tr0 and .st0 in Hspice
Reply #4 - Feb 5th, 2007, 5:34am
 
If you don't have a .measure statement in your input deck, you won't get a .mt#

Likewise, if you had a .ac instead of .tran, you'd get a .ac# instead of .tr#  (if you have two .tran, you'll get .tr0 and .tr1).
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
qiushidaren
Community Member
***
Offline

I am a lovely
MOSFET!

Posts: 86
Chengdu
Re: .tr0 and .st0 in Hspice
Reply #5 - Feb 5th, 2007, 5:55am
 
Geoffrey_Coram wrote on Feb 5th, 2007, 5:34am:
If you don't have a .measure statement in your input deck, you won't get a .mt#

Likewise, if you had a .ac instead of .tran, you'd get a .ac# instead of .tr#  (if you have two .tran, you'll get .tr0 and .tr1).

Got it, thank you so much for your clear explanation.
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.