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.

A technical q. about HSpice output files

Status
Not open for further replies.

ic98

Member level 4
Member level 4
Joined
Oct 1, 2010
Messages
76
Helped
14
Reputation
30
Reaction score
14
Trophy points
1,288
Activity points
1,696
Hi,
Could anybody please tell me if someone can change the number of printed digits in *.ac0, or *.tr0 HSpice-output files?
For *.lis file, I can change printout accuracy using parameter NUMDGT, but this parameter doesn't work for *.ac0 files (.probe output)
When I extarct the data from a long-simulated *.ac0 file using MATLAB, since there are only 5 printed digits for every value, some of the data arrays

have the same value; although I know there is difference between these values in simulation (that is observable in *.lis file using e.g. a NUMDIG=8)
What's your suggestion? how can I apply something like NUMDIG for non-lis output files?

Thanks for your comments,
ic98
 

Did you try MEASDGT=x ?
 

Did you try MEASDGT=x ?

erild, the option you remembered is used to set the precision of values of measurements in *.ma#, *.mt#, and *.ms# files..

Can anybody suggest something else?!! thanks
 

... the option you remembered is used to set the precision of values of measurements in *.ma#, *.mt#, and *.ms# files..

So why not generate a *.ma#, *.mt#, or *.ms# file?

BTW: in my setup, NUMDGT=10 worked correctly for my *.ac#, or *.tr# HSpice-output files.
 

Hi,

If u wnt more precession with your numbers printed, then better go with default binary format for tr# , ac#( this is the case when u set post=1) then use CustomWaveview to extract the data to table format with the precession u wnt..


When ascii format is used for dumping the waveform files, the data accuracy is limited.

Thanks,
 
  • Like
Reactions: erikl

    erikl

    Points: 2
    Helpful Answer Positive Rating
Hi,

If u wnt more precession with your numbers printed, then better go with default binary format for tr# , ac#( this is the case when u set post=1) then use CustomWaveview to extract the data to table format with the precession u wnt..


When ascii format is used for dumping the waveform files, the data accuracy is limited.

Thanks,

Dear Blackuni,
What is the CustomWaveview you mentioned? Is it a tool? How can I find it?
Thanks
 

Considering Blackuni's answer,
I wonder if can I read the binary (not-ASCII) format of HSpice-output file? what code or tool is accessible?

Thanks all
 

E.g. AvanWaves (from Synopsys) can display raw (=binary) output from HSpice.
 

Hi,

its a waveform viewer from Synopsys and provided with Hspice. or u can try Cosmosscope too.
 

thinking you have access to synopsys tool you can also try spice explorer it is much faster than cosmos scope
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top