The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> .tr0 and .st0 in Hspice
https://designers-guide.org/forum/YaBB.pl?num=1170399614

Message started by qiushidaren on Feb 1st, 2007, 11:00pm

Title: .tr0 and .st0 in Hspice
Post by qiushidaren on Feb 1st, 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

Title: Re: .tr0 and .st0 in Hspice
Post by topquark on 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


Title: Re: .tr0 and .st0 in Hspice
Post by Geoffrey_Coram on 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.

Title: Re: .tr0 and .st0 in Hspice
Post by qiushidaren on 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? :-?

Regards,
Terry

Title: Re: .tr0 and .st0 in Hspice
Post by Geoffrey_Coram 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).

Title: Re: .tr0 and .st0 in Hspice
Post by qiushidaren on 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.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.